Home
last modified time | relevance | path

Searched refs:str (Results 1 – 25 of 44) sorted by relevance

12

/NW4C-2.0.3/include/nw/font/
Dfont_TextWriterBase.h248 const CharType* str in CalcStringWidth() argument
251 NN_POINTER_ASSERT(str); in CalcStringWidth()
253 return CalcStringWidth(str, StrLen(str)); in CalcStringWidth()
264 const CharType* str,
290 const CharType* str in CalcStringHeight() argument
293 NN_POINTER_ASSERT(str); in CalcStringHeight()
295 return CalcStringHeight(str, StrLen(str)); in CalcStringHeight()
306 const CharType* str,
343 const CharType* str in CalcStringRect() argument
347 NN_POINTER_ASSERT(str); in CalcStringRect()
[all …]
/NW4C-2.0.3/sources/libraries/font/
Dfont_TextWriterBase.cpp223 StreamType str, in CalcStringWidth() argument
227 NN_POINTER_ASSERT(str); in CalcStringWidth()
232 CalcStringRect(&rect, str, length); in CalcStringWidth()
240 StreamType str, in CalcStringHeight() argument
244 NN_POINTER_ASSERT(str); in CalcStringHeight()
249 CalcStringRect(&rect, str, length); in CalcStringHeight()
258 StreamType str, in CalcStringRect() argument
263 NN_POINTER_ASSERT(str); in CalcStringRect()
268 myCopy.CalcStringRectImpl(pRect, str, length); in CalcStringRect()
323 StreamType str, in Print() argument
[all …]
/NW4C-2.0.3/sources/libraries/dev/
Ddev_DirectPrint.cpp298 const char* str, in DrawString() argument
302 NW_NULL_ASSERT(str); in DrawString()
308 this->DrawString(context, x, y, str, turnOver, backErase); in DrawString()
429 const char* str, in DrawString() argument
435 while (*str != '\0') in DrawString()
439 int len = this->StrLineWidth(str); in DrawString()
447 str = this->DrawLine(context, x, y, str, width); in DrawString()
449 if (*str == '\n') in DrawString()
452 ++str; in DrawString()
455 else if (*str != '\0') in DrawString()
[all …]
Ddev_Profile.cpp164 char* str = "| total| call|average|average%%| max| min|"; in DumpReports() local
165 ut::strncat(caption, MAX_LENGTH, str, std::strlen(str) + 1); in DumpReports()
171 char* str = "IMiss|"; in DumpReports() local
172 ut::strncat(caption, MAX_LENGTH, str, std::strlen(str) + 1); in DumpReports()
177 char* str = "DRMiss|"; in DumpReports() local
178 ut::strncat(caption, MAX_LENGTH, str, std::strlen(str) + 1); in DumpReports()
183 char* str = "DWMiss|"; in DumpReports() local
184 ut::strncat(caption, MAX_LENGTH, str, std::strlen(str) + 1); in DumpReports()
191 char* str = "name,\n"; in DumpReports() local
192 ut::strncat(caption, MAX_LENGTH, str, std::strlen(str) + 1); in DumpReports()
[all …]
/NW4C-2.0.3/demos/snd/holdSound/sources/
DHoldSoundApp.cpp139 char str[37]; str[0] = '\0'; in OnDrawDownLCD()
142 nw::os::SNPrintf( str, 36, "%s%d", in OnDrawDownLCD()
143 str, in OnDrawDownLCD()
146 if ( i % 8 == 7 ) nw::os::SNPrintf( str, 36, "%s ", str ); in OnDrawDownLCD()
148 writer.Printf("%s\n", str); in OnDrawDownLCD()
/NW4C-2.0.3/tools/DccPlugin/3dsMax/x64/2010/Scripts/Startup/
DNW4C_utils.ms.inc20 local str = ""
25 str += if (not oneline) and (type == String) then "\n" else " "
27 str += (val[j] as string)
29 return str
49 local str = dataname
50 str += "\""
51 str += case type of
57 str += " "
58 str += valueToString()
59 str += "\""
[all …]
DNW4C_mtl.ms.inc132 local str = ""
142 str = case attr.faceCulling of
149 sub_li = li.SubItems.add str
154 str = case attr.compress of
159 sub_li = li.SubItems.add str
161 str = case attr.blendMode of
171 sub_li = li.SubItems.add str
178 --lblSelectedNode.text = str
496 local str = ""
621 local str = ev.Label
[all …]
/NW4C-2.0.3/tools/DccPlugin/3dsMax/x64/2011/Scripts/Startup/
DNW4C_utils.ms.inc20 local str = ""
25 str += if (not oneline) and (type == String) then "\n" else " "
27 str += (val[j] as string)
29 return str
49 local str = dataname
50 str += "\""
51 str += case type of
57 str += " "
58 str += valueToString()
59 str += "\""
[all …]
DNW4C_mtl.ms.inc132 local str = ""
142 str = case attr.faceCulling of
149 sub_li = li.SubItems.add str
154 str = case attr.compress of
159 sub_li = li.SubItems.add str
161 str = case attr.blendMode of
171 sub_li = li.SubItems.add str
178 --lblSelectedNode.text = str
496 local str = ""
621 local str = ev.Label
[all …]
/NW4C-2.0.3/tools/DccPlugin/3dsMax/x86/2010/Scripts/Startup/
DNW4C_utils.ms.inc20 local str = ""
25 str += if (not oneline) and (type == String) then "\n" else " "
27 str += (val[j] as string)
29 return str
49 local str = dataname
50 str += "\""
51 str += case type of
57 str += " "
58 str += valueToString()
59 str += "\""
[all …]
DNW4C_mtl.ms.inc132 local str = ""
142 str = case attr.faceCulling of
149 sub_li = li.SubItems.add str
154 str = case attr.compress of
159 sub_li = li.SubItems.add str
161 str = case attr.blendMode of
171 sub_li = li.SubItems.add str
178 --lblSelectedNode.text = str
496 local str = ""
621 local str = ev.Label
[all …]
/NW4C-2.0.3/tools/DccPlugin/3dsMax/x64/2009/Scripts/Startup/
DNW4C_utils.ms.inc20 local str = ""
25 str += if (not oneline) and (type == String) then "\n" else " "
27 str += (val[j] as string)
29 return str
49 local str = dataname
50 str += "\""
51 str += case type of
57 str += " "
58 str += valueToString()
59 str += "\""
[all …]
DNW4C_mtl.ms.inc132 local str = ""
142 str = case attr.faceCulling of
149 sub_li = li.SubItems.add str
154 str = case attr.compress of
159 sub_li = li.SubItems.add str
161 str = case attr.blendMode of
171 sub_li = li.SubItems.add str
178 --lblSelectedNode.text = str
496 local str = ""
621 local str = ev.Label
[all …]
/NW4C-2.0.3/tools/DccPlugin/3dsMax/x86/2009/Scripts/Startup/
DNW4C_utils.ms.inc20 local str = ""
25 str += if (not oneline) and (type == String) then "\n" else " "
27 str += (val[j] as string)
29 return str
49 local str = dataname
50 str += "\""
51 str += case type of
57 str += " "
58 str += valueToString()
59 str += "\""
[all …]
DNW4C_mtl.ms.inc132 local str = ""
142 str = case attr.faceCulling of
149 sub_li = li.SubItems.add str
154 str = case attr.compress of
159 sub_li = li.SubItems.add str
161 str = case attr.blendMode of
171 sub_li = li.SubItems.add str
178 --lblSelectedNode.text = str
496 local str = ""
621 local str = ev.Label
[all …]
/NW4C-2.0.3/tools/DccPlugin/3dsMax/x86/2011/Scripts/Startup/
DNW4C_utils.ms.inc20 local str = ""
25 str += if (not oneline) and (type == String) then "\n" else " "
27 str += (val[j] as string)
29 return str
49 local str = dataname
50 str += "\""
51 str += case type of
57 str += " "
58 str += valueToString()
59 str += "\""
[all …]
DNW4C_mtl.ms.inc132 local str = ""
142 str = case attr.faceCulling of
149 sub_li = li.SubItems.add str
154 str = case attr.compress of
159 sub_li = li.SubItems.add str
161 str = case attr.blendMode of
171 sub_li = li.SubItems.add str
178 --lblSelectedNode.text = str
496 local str = ""
621 local str = ev.Label
[all …]
/NW4C-2.0.3/demos/snd/labelString/sources/
DLabelStringApp.cpp153 char str[37]; str[0] = '\0'; in OnDrawDownLCD()
156 nw::os::SNPrintf( str, 36, "%s%d", in OnDrawDownLCD()
157 str, in OnDrawDownLCD()
160 if ( i % 8 == 7 ) nw::os::SNPrintf( str, 36, "%s ", str ); in OnDrawDownLCD()
162 writer.Printf("%s\n", str); in OnDrawDownLCD()
/NW4C-2.0.3/sources/libraries/ut/
Dut_HeapBase.cpp210 char str[64] = "[nw::ut ";
214 case EXPHEAP_SIGNATURE: std::snprintf( str, 64, "%s Exp", str ); break;
215 case FRMHEAP_SIGNATURE: std::snprintf( str, 64, "%s Frame", str ); break;
216 case UNTHEAP_SIGNATURE: std::snprintf( str, 64, "%s Unit", str ); break;
221 OS_Printf("%s Heap]\twhole [%p - %p)\n", str, this, mHeapEnd );
/NW4C-2.0.3/sources/libraries/lyt/
Dlyt_TextBox.cpp82 const wchar_t* str, in TextBox() argument
88 SetString(str); in TextBox()
94 const wchar_t* str, in TextBox() argument
101 SetString(str, 0, strLen); in TextBox()
420 const wchar_t* str, in SetString() argument
424 return SetStringImpl(str, dstIdx, std::wcslen(str)); in SetString()
429 const wchar_t* str, in SetString() argument
434 return SetStringImpl(str, dstIdx, strLen); in SetString()
439 const wchar_t* str, in SetStringImpl() argument
470 std::memcpy(m_TextBuf + dstIdx, str, cpLen * sizeof(wchar_t)); in SetStringImpl()
/NW4C-2.0.3/include/nw/lyt/
Dlyt_TextBox.h98 const wchar_t* str,
121 const wchar_t* str,
256 const wchar_t* str,
280 const wchar_t* str,
796 const wchar_t* str,
/NW4C-2.0.3/sources/libraries/snd/
Dsnd_RomSoundArchive.cpp518 const char* str = m_ArchiveReader.GetString( i ); in LoadLabelStringData() local
519 NN_LOG("[%02d] (%-16s) => ItemId(0x%08X)\n", i, str, GetItemId( str ) ); in LoadLabelStringData()
521 NN_LOG(" as Sound ID: (0x%08X)\n", GetSoundId( str ) ); in LoadLabelStringData()
522 NN_LOG(" as Bank ID: (0x%08X)\n", GetBankId( str ) ); in LoadLabelStringData()
523 NN_LOG(" as Player ID: (0x%08X)\n", GetPlayerId( str ) ); in LoadLabelStringData()
524 NN_LOG(" as SoundGroup ID: (0x%08X)\n", GetSoundGroupId( str ) ); in LoadLabelStringData()
525 NN_LOG(" as Group ID: (0x%08X)\n", GetGroupId( str ) ); in LoadLabelStringData()
526 NN_LOG(" as WaveArchive ID: (0x%08X)\n", GetWaveArchiveId( str ) ); in LoadLabelStringData()
Dsnd_Util.cpp589 char str[300]; str[0] = '\0'; in Calc() local
592 std::snprintf( str, 300, "%s [%2lld]", in Calc()
593 str, m_Ticks[i].ToTimeSpan().GetMilliSeconds() ); in Calc()
595 NN_LOG("%s\n", str ); in Calc()
/NW4C-2.0.3/sources/libraries/snd/platform/
Dsnd_HardwareManagerDSP.cppi50 char str[300]; str[0] = '\0';
53 std::snprintf( str, 300, "%s %5lld,",
54 str, m_Ticks[i].ToTimeSpan().GetMicroSeconds() );
56 NN_LOG("%s\n", str );
/NW4C-2.0.3/include/nw/os/
Dos_Memory.h294 AllocateAndCopyString(const TChar* str, os::IAllocator* allocator, size_t maxSize) in AllocateAndCopyString() argument
296 if (str == NULL) { return NULL; } in AllocateAndCopyString()
298 size_t length = std::char_traits<TChar>::length(str); in AllocateAndCopyString()
304 NW_CHAR_TRAITS_COPY(TChar, copyStr, bufferSize, str, length); in AllocateAndCopyString()

12