Home
last modified time | relevance | path

Searched refs:nameLength (Results 1 – 25 of 43) sorted by relevance

12

/external/chromium_org/third_party/icu/source/i18n/
Dzrule.cpp41 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength) { in zrule_getName() argument
42 UnicodeString s(nameLength==-1, name, nameLength); in zrule_getName()
44 nameLength = s.length(); in zrule_getName()
45 memcpy(name, s.getBuffer(), nameLength); in zrule_getName()
69 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings) { in izrule_open() argument
70 UnicodeString s(nameLength==-1, name, nameLength); in izrule_open()
90 izrule_getName(IZRule* rule, UChar* & name, int32_t & nameLength) { in izrule_getName() argument
94 nameLength = s.length(); in izrule_getName()
95 name = (UChar*)uprv_malloc(nameLength); in izrule_getName()
96 memcpy(name, s.getBuffer(), nameLength); in izrule_getName()
Dzrule.h73 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength);
117 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings);
152 izrule_getName(IZRule* rule, UChar* & name, int32_t & nameLength);
/external/icu/icu4c/source/i18n/
Dzrule.cpp41 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength) { in zrule_getName() argument
42 UnicodeString s(nameLength==-1, name, nameLength); in zrule_getName()
44 nameLength = s.length(); in zrule_getName()
45 memcpy(name, s.getBuffer(), nameLength); in zrule_getName()
69 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings) { in izrule_open() argument
70 UnicodeString s(nameLength==-1, name, nameLength); in izrule_open()
90 izrule_getName(IZRule* rule, UChar* & name, int32_t & nameLength) { in izrule_getName() argument
94 nameLength = s.length(); in izrule_getName()
95 name = (UChar*)uprv_malloc(nameLength); in izrule_getName()
96 memcpy(name, s.getBuffer(), nameLength); in izrule_getName()
Dzrule.h73 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength);
117 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings);
152 izrule_getName(IZRule* rule, UChar* & name, int32_t & nameLength);
/external/skia/src/utils/win/
DSkDWrite.cpp108 UINT32 nameLength; in sk_get_locale_string() local
109 HRVM(names->GetStringLength(nameIndex, &nameLength), "Could not get name length."); in sk_get_locale_string()
110 nameLength += 1; in sk_get_locale_string()
112 SkSMallocWCHAR name(nameLength); in sk_get_locale_string()
113 HRVM(names->GetString(nameIndex, name.get(), nameLength), "Could not get string."); in sk_get_locale_string()
/external/oprofile/libpopt/
Dpoptconfig.c17 size_t nameLength; in configLine() local
25 nameLength = strlen(con->appName); in configLine()
30 if (strncmp(line, con->appName, nameLength)) return; in configLine()
32 line += nameLength; in configLine()
/external/fonttools/Lib/fontTools/ttLib/tables/
DS_I_N_G_.py32 self.nameLength = byteord(self.nameLength)
33 assert len(rest) == self.nameLength
/external/chromium_org/third_party/webrtc/modules/video_capture/android/
Dvideo_capture_android.cc148 const int nameLength = strlen(deviceUniqueIdUTF8); in Init() local
149 if (nameLength >= kVideoCaptureUniqueNameLength) in Init()
157 _deviceUniqueId = new char[nameLength + 1]; in Init()
158 memcpy(_deviceUniqueId, deviceUniqueIdUTF8, nameLength + 1); in Init()
/external/clang/lib/StaticAnalyzer/Core/
DCheckerRegistry.cpp131 size_t nameLength = i->FullName.size(); in printHelp() local
132 if (nameLength <= maxNameChars) in printHelp()
133 optionFieldWidth = std::max(optionFieldWidth, nameLength); in printHelp()
/external/chromium_org/third_party/skia/src/sfnt/
DSkOTTable_name.cpp462 const uint16_t nameLength = SkEndian_SwapBE16(nameRecord->length); in next() local
478 SkStringFromUTF16BE((const uint16_t*)nameString, nameLength, record.name); in next()
489 SkStringFromMacRoman((const uint8_t*)nameString, nameLength, record.name); in next()
/external/skia/src/sfnt/
DSkOTTable_name.cpp462 const uint16_t nameLength = SkEndian_SwapBE16(nameRecord->length); in next() local
478 SkStringFromUTF16BE((const uint16_t*)nameString, nameLength, record.name); in next()
489 SkStringFromMacRoman((const uint8_t*)nameString, nameLength, record.name); in next()
/external/chromium_org/third_party/webrtc/modules/video_capture/mac/qtkit/
Dvideo_capture_qtkit.mm65 const int32_t nameLength =
67 if(nameLength>kVideoCaptureUniqueNameLength)
71 _deviceUniqueId = new char[nameLength+1];
72 memcpy(_deviceUniqueId, iDeviceUniqueIdUTF8,nameLength+1);
/external/chromium_org/third_party/skia/src/ports/
DSkFontConfigParser_android.cpp324 size_t nameLength = strlen(attributeName); in fontFileElementHandler() local
326 if (nameLength == 7 && strncmp(attributeName, "variant", nameLength) == 0) { in fontFileElementHandler()
340 } else if (nameLength == 4 && strncmp(attributeName, "lang", nameLength) == 0) { in fontFileElementHandler()
348 } else if (nameLength == 5 && strncmp(attributeName, "index", nameLength) == 0) { in fontFileElementHandler()
/external/lzma/CPP/7zip/Archive/7z/
D7zOut.cpp237 UInt32 COutArchive::GetVolHeadersSize(UInt64 dataSize, int nameLength, bool props) in GetVolHeadersSize() argument
240 if (nameLength != 0) in GetVolHeadersSize()
242 nameLength = (nameLength + 1) * 2; in GetVolHeadersSize()
243 result += nameLength + GetBigNumberSize(nameLength) + 2; in GetVolHeadersSize()
255 UInt64 COutArchive::GetVolPureSize(UInt64 volSize, int nameLength, bool props) in GetVolPureSize() argument
257 UInt32 headersSizeBase = COutArchive::GetVolHeadersSize(1, nameLength, props); in GetVolPureSize()
263 UInt32 headersSize = COutArchive::GetVolHeadersSize(testSize, nameLength, props); in GetVolPureSize()
D7zOut.h144 static UInt32 GetVolHeadersSize(UInt64 dataSize, int nameLength = 0, bool props = false);
145 static UInt64 GetVolPureSize(UInt64 volSize, int nameLength = 0, bool props = false);
/external/chromium_org/third_party/webrtc/modules/video_capture/windows/
Dvideo_capture_ds.cc64 const int32_t nameLength = in Init() local
66 if (nameLength > kVideoCaptureUniqueNameLength) in Init()
70 _deviceUniqueId = new (std::nothrow) char[nameLength + 1]; in Init()
71 memcpy(_deviceUniqueId, deviceUniqueIdUTF8, nameLength + 1); in Init()
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
Dmacdevicemanager.cc159 UInt32 nameLength = kAudioDeviceNameLength; in GetAudioDeviceName() local
163 &nameLength, name); in GetAudioDeviceName()
/external/chromium_org/third_party/icu/source/common/
Dunames.cpp239 const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice, in expandName() argument
254 while(nameLength>0) { in expandName()
255 --nameLength; in expandName()
267 nameLength=0; in expandName()
272 while(nameLength>0) { in expandName()
273 --nameLength; in expandName()
289 --nameLength; in expandName()
332 const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice, in compareName() argument
348 while(nameLength>0) { in compareName()
349 --nameLength; in compareName()
[all …]
/external/icu/icu4c/source/common/
Dunames.cpp239 const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice, in expandName() argument
254 while(nameLength>0) { in expandName()
255 --nameLength; in expandName()
267 nameLength=0; in expandName()
272 while(nameLength>0) { in expandName()
273 --nameLength; in expandName()
289 --nameLength; in expandName()
332 const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice, in compareName() argument
348 while(nameLength>0) { in compareName()
349 --nameLength; in compareName()
[all …]
/external/skia/src/ports/
DSkFontConfigParser_android.cpp83 int nameLength = strlen(attributeName); in fontFileElementHandler() local
85 if (strncmp(attributeName, "variant", nameLength) == 0) { in fontFileElementHandler()
91 } else if (strncmp(attributeName, "lang", nameLength) == 0) { in fontFileElementHandler()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DContentSearchUtils.cpp117 unsigned nameLength = name.length(); in findMagicComment() local
140 equalSignPos = pos + 4 + nameLength; in findMagicComment()
/external/icu/icu4c/source/test/cintltst/
Dudatpg_test.c212 int32_t nameLength; in TestUsage() local
213 … const UChar * namePtr = udatpg_getAppendItemName(dtpg, appItemNameDataPtr->field, &nameLength); in TestUsage()
214 if ( namePtr == NULL || u_strncmp(appItemNameDataPtr->name, namePtr, nameLength) != 0 ) { in TestUsage()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dudatpg_test.c212 int32_t nameLength; in TestUsage() local
213 … const UChar * namePtr = udatpg_getAppendItemName(dtpg, appItemNameDataPtr->field, &nameLength); in TestUsage()
214 if ( namePtr == NULL || u_strncmp(appItemNameDataPtr->name, namePtr, nameLength) != 0 ) { in TestUsage()
/external/smack/src/org/apache/harmony/javax/security/auth/
DPrivateCredentialPermission.java143 int nameLength = name.length(); in initTargetName() local
144 for (int i, j = 0; beg < nameLength; beg = j + 2, count++) { in initTargetName()
/external/chromium_org/third_party/expat/files/lib/
Dxmltok.h143 int (PTRFASTCALL *nameLength)(const ENCODING *, const char *);
235 (((enc)->nameLength)(enc, ptr))

12