| /NW4C-1.2.23/sources/libraries/font/ |
| D | font_TextWriterBase.cpp | 213 int length = VSNPrintf(buffer, s_FormatBufferSize, format, args); in CalcVStringRect() local 214 length = math::Min(length, int(s_FormatBufferSize - 1)); in CalcVStringRect() 215 CalcStringRect(pRect, buffer, length); in CalcVStringRect() 222 int length in CalcStringWidth() 226 NW_FONT_MIN_ASSERT(length, 0); in CalcStringWidth() 230 CalcStringRect(&rect, str, length); in CalcStringWidth() 239 int length in CalcStringHeight() 243 NW_FONT_MIN_ASSERT(length, 0); in CalcStringHeight() 247 CalcStringRect(&rect, str, length); in CalcStringHeight() 257 int length in CalcStringRect() [all …]
|
| /NW4C-1.2.23/sources/libraries/anim/ |
| D | anim_AnimFrameController.cpp | 48 f32 length = endFrame - startFrame; in PlayPolicy_Loop() local 49 if (length == 0.0f) in PlayPolicy_Loop() 58 offset += (FFloor(-offset / length) + 1) * length; in PlayPolicy_Loop() 60 return FMod(offset, length) + startFrame; in PlayPolicy_Loop()
|
| /NW4C-1.2.23/documents/CreativeStudio/html/assets/ |
| D | treeview-min.js | 7 …length;L++){Q=M[L];if(F.isString(Q)){K=new E.TextNode(Q,P);}else{if(F.isObject(Q)){J=Q.children;de… 8 …length||null)&&J.children[0];}}while(J&&!J._canHaveFocus);if(J){J.focus();}B.preventDefault(L);bre… 9 …length;F<D;++F){this.children[F].applyParent(this);}this.fireEvent("parentChange");return true;},a… 10 …length;D++){this.children[D].highlight(true);}}else{if(this.highlightState===0||this.tree.singleNo… 11 …length;A++){B+=this.children[A].getNodeCount();}return B;},getNodeDefinition:function(){for(var C,…
|
| D | yahoo-dom-event.js | 7 …length;C=C+1){D=(""+A[C]).split(".");E=YAHOO;for(B=(D[0]=="YAHOO")?1:0;B<D.length;B=B+1){E[D[B]]=E… 8 …length;y<Y;++y){if(x[y].id===AB){return x[y];}}}}return z;}if(YAHOO.util.Element&&z instanceof YAH… 9 …length;z<AA;++z){if(Y(G[z])){if(AE){x=G[z];break;}else{x[x.length]=G[z];}}}if(AD){E.Dom.batch(x,AD… 10 …length===1)?"0"+B.$1:Number(B.$1),F=(B.$2.length===1)?"0"+B.$2:Number(B.$2),E=(B.$3.length===1)?"0… 11 …length;N<L;N=N+1){var K=M[N];if(K&&K[this.FN]==O&&K[this.EL]==P&&K[this.TYPE]==Q){return N;}}retur… 14 …length;++C){F.subscribe(A[C].fn,A[C].obj,A[C].overrideContext);}}}return D[B];},fireEvent:function…
|
| /NW4C-1.2.23/include/nw/font/ |
| D | font_TextWriterBase.h | 263 int length 305 int length 359 int length 414 int length); 562 int length); 575 int length); 586 int length); 595 int length); 614 int length);
|
| /NW4C-1.2.23/include/nw/io/ |
| D | io_IOStream.h | 127 virtual s32 Read( void* buf, u32 length ); 149 u32 length, 170 virtual s32 Write( const void* buf, u32 length ); 193 u32 length,
|
| D | io_HioFileStream.h | 48 virtual s32 Read( void* buf, u32 length ); 49 virtual s32 Write( const void* buf, u32 length );
|
| /NW4C-1.2.23/sources/libraries/snd/ |
| D | snd_MemorySoundArchive.cpp | 156 io::FileStream* MemorySoundArchive::OpenStream( void* buffer, int size, u32 begin, u32 length ) in OpenStream() argument 161 ut::AddOffsetToPtr( m_pData, begin ), length ); in OpenStream() 171 u32 length ) const in OpenExtStream() 177 (void)length; in OpenExtStream() 203 s32 MemorySoundArchive::MemoryFileStream::Read( void* buf, u32 length ) in Read() argument 205 u32 readLen = ut::Min( length, m_Size - m_Position ); in Read()
|
| D | snd_HioSoundArchive.cpp | 96 u32 length ) in OpenStream() argument 100 HioFileStream* stream = new ( buffer ) HioFileStream( &m_HostFile, begin, length ); in OpenStream() 109 u32 length ) const in OpenExtStream() 113 HioFileStream* stream = new ( buffer ) HioFileStream( extFilePath, begin, length ); in OpenExtStream() 404 s32 HioSoundArchive::HioFileStream::Read( void* buf, u32 length ) in Read() argument 407 NW_ALIGN32_ASSERT( length ); in Read() 410 if ( curPos + length > m_Offset + m_Size ) { in Read() 411 length = static_cast<u32>( ut::RoundUp( m_Offset + m_Size - curPos, 32 ) ); in Read() 413 return io::HioFileStream::Read( buf, length ); in Read()
|
| D | snd_RomSoundArchive.cpp | 154 RomSoundArchive::OpenStream( void* buffer, int size, u32 begin, u32 length ) in OpenStream() argument 159 RomFileStream* stream = new( buffer ) RomFileStream( &m_FileInfo, begin, length ); in OpenStream() 164 RomFileStream* stream = new( buffer ) RomFileStream( &m_FileReader, begin, length ); in OpenStream() 176 u32 length ) const in OpenExtStream() 181 RomFileStream* stream = new( buffer ) RomFileStream( extFilePath, begin, length ); in OpenExtStream() 648 s32 RomSoundArchive::RomFileStream::Read( void* buf, u32 length ) in Read() argument 651 NW_ALIGN32_ASSERT( length ); in Read() 654 if ( curPos + length > m_Offset + m_Size ) { in Read() 655 length = static_cast<u32>( ut::RoundUp( m_Offset + m_Size - curPos, 32 ) ); in Read() 657 return io::RomFileStream::Read( buf, length ); in Read()
|
| /NW4C-1.2.23/include/nw/snd/ |
| D | snd_MemorySoundArchive.h | 99 virtual io::FileStream* OpenStream( void* buffer, int size, u32 begin, u32 length ); 108 u32 length ) const; 128 virtual s32 Read( void* buf, u32 length );
|
| D | snd_HioSoundArchive.h | 59 u32 length ); 65 u32 length ) const; 81 virtual s32 Read( void* buf, u32 length );
|
| D | snd_RomSoundArchive.h | 209 u32 length ); 218 u32 length ) const; 244 virtual s32 Read( void* buf, u32 length );
|
| D | snd_NoteOnCallback.h | 33 int length; member
|
| /NW4C-1.2.23/include/nw/os/ |
| D | os_Memory.h | 258 size_t length = std::char_traits<TChar>::length(str); in AllocateAndCopyString() local 259 length = (length < maxSize)? length : maxSize; in AllocateAndCopyString() 261 size_t bufferSize = length + 1; in AllocateAndCopyString() 264 NW_CHAR_TRAITS_COPY(TChar, copyStr, bufferSize, str, length); in AllocateAndCopyString() 265 copyStr[length] = '\0'; in AllocateAndCopyString()
|
| /NW4C-1.2.23/sources/libraries/dev/ |
| D | dev_Screenshot.cpp | 72 Screenshot::Set(const DisplayDescription& displayDescription, void* srcScreen, int length, int widt… in Set() argument 74 std::memcpy(m_CopyScreen, srcScreen, length); in Set() 76 this->m_Length = length; in Set() 185 …int length = CalcMemorySize(displayDescription.format, displayDescription.width, displayDescriptio… in Take() local 192 …screenshot->Set(displayDescription, srcArea, length, displayDescription.width, displayDescription.… in Take()
|
| /NW4C-1.2.23/demos/Nw4cDemo/sources/ |
| D | SmSliderBar.cpp | 32 SmSliderBar::SmSliderBar( uint x, uint y, uint length, SmSliderBarType type ) in SmSliderBar() argument 37 m_Length( length ), in SmSliderBar() 55 m_Bar->SetVertex( 1, x - SM_BAR_HALF_SIZE, y + length, nw::ut::Color8::BLACK ); in SmSliderBar() 57 m_Bar->SetVertex( 3, x + SM_BAR_HALF_SIZE, y + length, nw::ut::Color8::BLACK ); in SmSliderBar()
|
| /NW4C-1.2.23/documents/CreativeStudio/html/common/ |
| D | ibox.js | 62 for (var i=0; i<els.length; i++) { 77 for (var n=1; n<arguments.length; n++) args.push(arguments[n]); 128 for (var i=0; i<_pub.tags_to_hide.length; i++) { 162 for (var i=0; i<_pub.plugins.list.length; i++) { 184 for (var i=0; i<_pub.tags_to_hide.length; i++) showTags(_pub.tags_to_hide[i]); 430 if (events[name] && events[name].length) { 431 for (var i=0; i<events[name].length; i++) { 433 for (var n=1; n<arguments.length; n++) args.push(arguments[n]); 449 for (var i=0; i<pairs.length; i++) { 451 if (!keyval || keyval.length != 2) continue; [all …]
|
| /NW4C-1.2.23/sources/libraries/io/ |
| D | io_HioFileStream.cpp | 160 s32 HioFileStream::Read( void* buf, u32 length ) in Read() argument 169 s32 readBytes = m_pOpenedFile->Read( buf, length ); in Read() 177 s32 HioFileStream::Write( const void* buf, u32 length ) in Write() argument 186 s32 writeBytes = m_pOpenedFile->Write( buf, length ); in Write()
|
| D | io_RomFileStream.cpp | 153 s32 RomFileStream::Read( void* buf, u32 length ) in Read() argument 163 s32 readBytes = nn::fs::ReadFile( &m_File, buf, length ); in Read() 173 s32 readBytes = m_pOpenedFileReader->Read( buf, length ); in Read()
|
| /NW4C-1.2.23/include/nw/ut/ |
| D | ut_Inlines.h | 73 size_t length = 0; in strncpy_t() local 74 while ( length < ut::Min((destCount - 1), srcCount) ) in strncpy_t() 79 ++length; in strncpy_t() 89 return length; in strncpy_t() 211 size_t length = std::strlen(dest); in strncat() local 212 if (destCount <= length + srcCount) in strncat() 214 srcCount = destCount - length - 1; in strncat()
|
| /NW4C-1.2.23/sources/libraries/lyt/ |
| D | lyt_Arc.cpp | 166 af->length = fileLength(FSTEntries, entry); in ARCOpen() 196 af->length = fileLength(FSTEntries, entrynum); in ARCFastOpen() 235 s32 length; // must be signed in ARCConvertPathToEntrynum() local 295 length = (s32)(ptr - pathPtr); in ARCConvertPathToEntrynum() 336 pathPtr += length + 1; in ARCConvertPathToEntrynum() 517 return af->length; in ARCGetLength()
|
| D | lyt_ArcResourceAccessor.cpp | 76 size_t length = 0; in strncpy() local 77 while (length < destCount && *src != '\0') in strncpy() 82 ++length; in strncpy() 87 return length; in strncpy()
|
| /NW4C-1.2.23/build/omake/ |
| D | commondefs.om | 182 if $(gt $(length $(seqDir1)), $(length $(seqDir2))) 185 seqBaseDir = $(subrange 0, $(length $(seqDir1)), $(seqDir2))
|
| /NW4C-1.2.23/include/nw/gfx/ |
| D | gfx_ParticleTime.h | 166 ParticleTime Interp(const ParticleTime& length, s32 factor) const 169 work /= length.m_ParticleTime; 333 ParticleTime Interp(const ParticleTime& length, s32 factor) const 335 return ParticleTime(this->GetFloat32Value() / length.GetFloat32Value() * factor);
|