| /NW4C-2.0.3/sources/libraries/font/ |
| D | font_TextWriterBase.cpp | 215 int length = VSNPrintf(buffer, s_FormatBufferSize, format, args); in CalcVStringRect() local 216 length = math::Min(length, int(s_FormatBufferSize - 1)); in CalcVStringRect() 217 CalcStringRect(pRect, buffer, length); in CalcVStringRect() 224 int length in CalcStringWidth() 228 NW_FONT_MIN_ASSERT(length, 0); in CalcStringWidth() 232 CalcStringRect(&rect, str, length); in CalcStringWidth() 241 int length in CalcStringHeight() 245 NW_FONT_MIN_ASSERT(length, 0); in CalcStringHeight() 249 CalcStringRect(&rect, str, length); in CalcStringHeight() 259 int length in CalcStringRect() [all …]
|
| /NW4C-2.0.3/sources/libraries/anim/ |
| D | anim_AnimFrameController.cpp | 50 f32 length = endFrame - startFrame; in PlayPolicy_Loop() local 51 if (length == 0.0f) in PlayPolicy_Loop() 60 offset += (FFloor(-offset / length) + 1) * length; in PlayPolicy_Loop() 62 return FMod(offset, length) + startFrame; in PlayPolicy_Loop()
|
| /NW4C-2.0.3/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-2.0.3/include/nw/font/ |
| D | font_TextWriterBase.h | 265 int length 307 int length 361 int length 416 int length); 564 int length); 577 int length); 588 int length); 597 int length); 616 int length);
|
| /NW4C-2.0.3/include/nw/io/ |
| D | io_IOStream.h | 129 virtual s32 Read( void* buf, u32 length ); 151 u32 length, 172 virtual s32 Write( const void* buf, u32 length ); 195 u32 length,
|
| D | io_HioFileStream.h | 50 virtual s32 Read( void* buf, u32 length ); 51 virtual s32 Write( const void* buf, u32 length );
|
| /NW4C-2.0.3/sources/libraries/snd/ |
| D | snd_MemorySoundArchive.cpp | 158 io::FileStream* MemorySoundArchive::OpenStream( void* buffer, int size, u32 begin, u32 length ) in OpenStream() argument 163 ut::AddOffsetToPtr( m_pData, begin ), length ); in OpenStream() 173 u32 length ) const in OpenExtStream() 179 (void)length; in OpenExtStream() 205 s32 MemorySoundArchive::MemoryFileStream::Read( void* buf, u32 length ) in Read() argument 207 u32 readLen = ut::Min( length, m_Size - m_Position ); in Read()
|
| D | snd_HioSoundArchive.cpp | 98 u32 length ) in OpenStream() argument 102 HioFileStream* stream = new ( buffer ) HioFileStream( &m_HostFile, begin, length ); in OpenStream() 111 u32 length ) const in OpenExtStream() 115 HioFileStream* stream = new ( buffer ) HioFileStream( extFilePath, begin, length ); in OpenExtStream() 406 s32 HioSoundArchive::HioFileStream::Read( void* buf, u32 length ) in Read() argument 409 NW_ALIGN32_ASSERT( length ); in Read() 412 if ( curPos + length > m_Offset + m_Size ) { in Read() 413 length = static_cast<u32>( ut::RoundUp( m_Offset + m_Size - curPos, 32 ) ); in Read() 415 return io::HioFileStream::Read( buf, length ); in Read()
|
| D | snd_RomSoundArchive.cpp | 156 RomSoundArchive::OpenStream( void* buffer, int size, u32 begin, u32 length ) in OpenStream() argument 161 RomFileStream* stream = new( buffer ) RomFileStream( &m_FileInfo, begin, length ); in OpenStream() 166 RomFileStream* stream = new( buffer ) RomFileStream( &m_FileReader, begin, length ); in OpenStream() 178 u32 length ) const in OpenExtStream() 183 RomFileStream* stream = new( buffer ) RomFileStream( extFilePath, begin, length ); in OpenExtStream() 650 s32 RomSoundArchive::RomFileStream::Read( void* buf, u32 length ) in Read() argument 653 NW_ALIGN32_ASSERT( length ); in Read() 656 if ( curPos + length > m_Offset + m_Size ) { in Read() 657 length = static_cast<u32>( ut::RoundUp( m_Offset + m_Size - curPos, 32 ) ); in Read() 659 return io::RomFileStream::Read( buf, length ); in Read()
|
| /NW4C-2.0.3/include/nw/snd/ |
| D | snd_MemorySoundArchive.h | 104 virtual io::FileStream* OpenStream( void* buffer, int size, u32 begin, u32 length ); 113 u32 length ) const; 133 virtual s32 Read( void* buf, u32 length );
|
| D | snd_HioSoundArchive.h | 202 u32 length ); 210 u32 length ) const; 227 virtual s32 Read( void* buf, u32 length );
|
| D | snd_RomSoundArchive.h | 211 u32 length ); 220 u32 length ) const; 246 virtual s32 Read( void* buf, u32 length );
|
| D | snd_SoundArchive.h | 1008 u32 length 1018 u32 length 1028 u32 length
|
| /NW4C-2.0.3/sources/libraries/dev/ |
| D | dev_Screenshot.cpp | 74 Screenshot::Set(const DisplayDescription& displayDescription, void* srcScreen, int length, int widt… in Set() argument 76 std::memcpy(m_CopyScreen, srcScreen, length); in Set() 78 this->m_Length = length; in Set() 187 …int length = CalcMemorySize(displayDescription.format, displayDescription.width, displayDescriptio… in Take() local 194 …screenshot->Set(displayDescription, srcArea, length, displayDescription.width, displayDescription.… in Take()
|
| /NW4C-2.0.3/include/nw/os/ |
| D | os_Memory.h | 298 size_t length = std::char_traits<TChar>::length(str); in AllocateAndCopyString() local 299 length = (length < maxSize)? length : maxSize; in AllocateAndCopyString() 301 size_t bufferSize = length + 1; in AllocateAndCopyString() 304 NW_CHAR_TRAITS_COPY(TChar, copyStr, bufferSize, str, length); in AllocateAndCopyString() 305 copyStr[length] = '\0'; in AllocateAndCopyString()
|
| /NW4C-2.0.3/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-2.0.3/demos/Nw4cDemo/sources/ |
| D | SmSliderBar.cpp | 34 SmSliderBar::SmSliderBar( uint x, uint y, uint length, SmSliderBarType type ) in SmSliderBar() argument 39 m_Length( length ), in SmSliderBar() 57 m_Bar->SetVertex( 1, x - SM_BAR_HALF_SIZE, y + length, nw::ut::Color8::BLACK ); in SmSliderBar() 59 m_Bar->SetVertex( 3, x + SM_BAR_HALF_SIZE, y + length, nw::ut::Color8::BLACK ); in SmSliderBar()
|
| /NW4C-2.0.3/sources/libraries/io/ |
| D | io_HioFileStream.cpp | 162 s32 HioFileStream::Read( void* buf, u32 length ) in Read() argument 171 s32 readBytes = m_pOpenedFile->Read( buf, length ); in Read() 179 s32 HioFileStream::Write( const void* buf, u32 length ) in Write() argument 188 s32 writeBytes = m_pOpenedFile->Write( buf, length ); in Write()
|
| D | io_RomFileStream.cpp | 155 s32 RomFileStream::Read( void* buf, u32 length ) in Read() argument 165 s32 readBytes = nn::fs::ReadFile( &m_File, buf, length ); in Read() 175 s32 readBytes = m_pOpenedFileReader->Read( buf, length ); in Read()
|
| /NW4C-2.0.3/include/nw/ut/ |
| D | ut_Inlines.h | 75 size_t length = 0; in strncpy_t() local 76 while ( length < ut::Min((destCount - 1), srcCount) ) in strncpy_t() 81 ++length; in strncpy_t() 91 return length; in strncpy_t() 213 size_t length = std::strlen(dest); in strncat() local 214 if (destCount <= length + srcCount) in strncat() 216 srcCount = destCount - length - 1; in strncat()
|
| /NW4C-2.0.3/sources/libraries/lyt/ |
| D | lyt_ArcResourceAccessor.cpp | 78 size_t length = 0; in strncpy() local 79 while (length < destCount && *src != '\0') in strncpy() 84 ++length; in strncpy() 89 return length; in strncpy()
|
| D | lyt_Arc.cpp | 168 af->length = fileLength(FSTEntries, entry); in ARCOpen() 198 af->length = fileLength(FSTEntries, entrynum); in ARCFastOpen() 237 s32 length; // must be signed in ARCConvertPathToEntrynum() local 297 length = (s32)(ptr - pathPtr); in ARCConvertPathToEntrynum() 338 pathPtr += length + 1; in ARCConvertPathToEntrynum() 519 return af->length; in ARCGetLength()
|
| /NW4C-2.0.3/build/omake/ |
| D | commondefs.om | 184 if $(gt $(length $(seqDir1)), $(length $(seqDir2))) 187 seqBaseDir = $(subrange 0, $(length $(seqDir1)), $(seqDir2))
|
| /NW4C-2.0.3/include/nw/gfx/ |
| D | gfx_ParticleTime.h | 182 ParticleTime Interp(const ParticleTime& length, s32 factor) const 185 work /= length.m_ParticleTime; 359 ParticleTime Interp(const ParticleTime& length, s32 factor) const 361 return ParticleTime(this->GetFloat32Value() / length.GetFloat32Value() * factor);
|