Searched refs:nameLength (Results 1 - 25 of 54) sorted by relevance

123

/external/icu/icu4c/source/i18n/
H A Dzrule.cpp41 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength) { argument
42 UnicodeString s(nameLength==-1, name, nameLength);
44 nameLength = s.length();
45 memcpy(name, s.getBuffer(), nameLength);
69 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings) { argument
70 UnicodeString s(nameLength==-1, name, nameLength);
90 izrule_getName(IZRule* rule, UChar* & name, int32_t & nameLength) { argument
91 // UnicodeString s(nameLength
[all...]
H A Dzrule.h70 * @param nameLength, length of the returned name
73 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength);
111 * @param nameLength The length of the time zone name.
117 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings);
149 * @param nameLength, length of the returned name
152 izrule_getName(IZRule* rule, UChar* & name, int32_t & nameLength);
H A Dlocdspnm.cpp287 UDisplayContext nameLength; member in class:LocaleDisplayNamesImpl
352 , nameLength(UDISPCTX_LENGTH_FULL)
367 , nameLength(UDISPCTX_LENGTH_FULL)
380 nameLength = value;
521 return nameLength;
690 if (nameLength == UDISPCTX_LENGTH_SHORT) {
705 if (nameLength == UDISPCTX_LENGTH_SHORT) {
718 if (nameLength == UDISPCTX_LENGTH_SHORT) {
737 if (nameLength == UDISPCTX_LENGTH_SHORT) {
784 if (nameLength
[all...]
H A Drepattrn.cpp624 int32_t RegexPattern::groupNumberFromName(const char *groupName, int32_t nameLength, UErrorCode &status) const { argument
628 UnicodeString name(groupName, nameLength, US_INV);
/external/webrtc/webrtc/modules/video_capture/mac/qtkit/
H A 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/fonttools/Lib/fontTools/ttLib/tables/
H A DS_I_N_G_.py19 nameLength: 1s
32 self.nameLength = byteord(self.nameLength)
33 assert len(rest) == self.nameLength
62 d["nameLength"] = bytechr(len(self.baseGlyphName))
/external/fonttools/Tools/fontTools/ttLib/tables/
H A DS_I_N_G_.py19 nameLength: 1s
32 self.nameLength = byteord(self.nameLength)
33 assert len(rest) == self.nameLength
62 d["nameLength"] = bytechr(len(self.baseGlyphName))
/external/clang/lib/StaticAnalyzer/Core/
H A DCheckerRegistry.cpp156 size_t nameLength = i->FullName.size(); local
157 if (nameLength <= maxNameChars)
158 optionFieldWidth = std::max(optionFieldWidth, nameLength);
/external/icu/android_icu4j/src/main/java/android/icu/impl/
H A DLocaleDisplayNamesImpl.java43 private final DisplayContext nameLength; field in class:LocaleDisplayNamesImpl
112 DisplayContext nameLength = DisplayContext.LENGTH_FULL;
123 nameLength = contextItem;
132 this.nameLength = nameLength;
234 result = nameLength;
396 if (nameLength == DisplayContext.LENGTH_SHORT) {
411 if (nameLength == DisplayContext.LENGTH_SHORT) {
424 if (nameLength == DisplayContext.LENGTH_SHORT) {
437 if (nameLength
656 private DisplayContext nameLength; field in class:LocaleDisplayNamesImpl.Cache
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DLocaleDisplayNamesImpl.java39 private final DisplayContext nameLength; field in class:LocaleDisplayNamesImpl
108 DisplayContext nameLength = DisplayContext.LENGTH_FULL;
119 nameLength = contextItem;
128 this.nameLength = nameLength;
230 result = nameLength;
392 if (nameLength == DisplayContext.LENGTH_SHORT) {
407 if (nameLength == DisplayContext.LENGTH_SHORT) {
420 if (nameLength == DisplayContext.LENGTH_SHORT) {
433 if (nameLength
652 private DisplayContext nameLength; field in class:LocaleDisplayNamesImpl.Cache
[all...]
/external/webrtc/talk/media/devices/
H A Dmacdevicemanager.cc159 UInt32 nameLength = kAudioDeviceNameLength; local
163 &nameLength, name);
/external/webrtc/webrtc/modules/video_capture/windows/
H A Dvideo_capture_ds.cc65 const int32_t nameLength = local
67 if (nameLength > kVideoCaptureUniqueNameLength)
71 _deviceUniqueId = new (std::nothrow) char[nameLength + 1];
72 memcpy(_deviceUniqueId, deviceUniqueIdUTF8, nameLength + 1);
/external/lzma/CPP/7zip/Archive/7z/
H A D7zOut.cpp219 UInt32 COutArchive::GetVolHeadersSize(UInt64 dataSize, int nameLength, bool props) argument
222 if (nameLength != 0)
224 nameLength = (nameLength + 1) * 2;
225 result += nameLength + GetBigNumberSize(nameLength) + 2;
237 UInt64 COutArchive::GetVolPureSize(UInt64 volSize, int nameLength, bool props) argument
239 UInt32 headersSizeBase = COutArchive::GetVolHeadersSize(1, nameLength, props);
245 UInt32 headersSize = COutArchive::GetVolHeadersSize(testSize, nameLength, props);
H A D7zOut.h311 static UInt32 GetVolHeadersSize(UInt64 dataSize, int nameLength = 0, bool props = false);
312 static UInt64 GetVolPureSize(UInt64 volSize, int nameLength = 0, bool props = false);
/external/expat/lib/
H A Dxmltok.h149 int (PTRFASTCALL *nameLength)(const ENCODING *, const char *); member in struct:encoding
241 (((enc)->nameLength)(enc, ptr))
/external/icu/icu4c/source/common/
H A Dunames.cpp237 const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice,
252 while(nameLength>0) {
253 --nameLength;
265 nameLength=0;
270 while(nameLength>0) {
271 --nameLength;
287 --nameLength;
330 const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice,
346 while(nameLength>0) {
347 --nameLength;
236 expandName(UCharNames *names, const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) argument
329 compareName(UCharNames *names, const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice, const char *otherName) argument
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dudatpg_test.c212 int32_t nameLength; local
213 const UChar * namePtr = udatpg_getAppendItemName(dtpg, appItemNameDataPtr->field, &nameLength);
214 if ( namePtr == NULL || u_strncmp(appItemNameDataPtr->name, namePtr, nameLength) != 0 ) {
/external/skia/src/sfnt/
H A DSkOTTable_name.cpp462 const uint16_t nameLength = SkEndian_SwapBE16(nameRecord->length); local
478 SkStringFromUTF16BE((const uint16_t*)nameString, nameLength, record.name);
489 SkStringFromMacRoman((const uint8_t*)nameString, nameLength, record.name);
/external/autotest/frontend/client/src/autotest/afe/
H A DAfeUtils.java98 int nameLength = name.length() - PLATFORM_SUFFIX.length();
99 name = name.substring(0, nameLength);
102 int nameLength = name.length() - ATOMIC_GROUP_SUFFIX.length();
103 name = name.substring(0, nameLength);
/external/webrtc/webrtc/test/channel_transport/
H A Dudp_socket2_win.cc703 int nameLength = sizeof(SocketAddress); local
706 getsockname(_socket, (struct sockaddr*)name, &nameLength);
814 int nameLength = sizeof(SocketAddress); local
817 getsockname(_socket, (struct sockaddr*)name, &nameLength);
845 int nameLength = sizeof(SocketAddress); local
848 getsockname(_socket, (struct sockaddr*)name, &nameLength);
/external/icu/icu4c/source/i18n/unicode/
H A Duregex.h621 * @param nameLength The length of the name, or -1 if the name is a
630 int32_t nameLength,
645 * @param nameLength The length of the name, or -1 if the name is
654 int32_t nameLength,
/external/icu/icu4c/source/tools/toolutil/
H A Dpackage.cpp972 int32_t idx, nameLength, middleLength; local
981 nameLength=(int32_t)strlen(name);
982 if(nameLength<(findPrefixLength+findSuffixLength)) {
991 middleLength=nameLength-findPrefixLength-findSuffixLength;
992 if(findSuffixLength>0 && 0!=memcmp(findSuffix, name+(nameLength-findSuffixLength), findSuffixLength)) {
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
H A DULocaleTest.java1046 public DisplayContext nameLength;
1053 nameLength = nameLen;
1097 LocaleDisplayNames ldn = LocaleDisplayNames.getInstance(locale, item.dialectHandling, item.capitalization, item.nameLength);
1103 DisplayContext nameLength = ldn.getContext(DisplayContext.Type.DISPLAY_LENGTH);
1104 if (dialectHandling != item.dialectHandling || capitalization != item.capitalization || nameLength != item.nameLength) {
1106 ", capitalize: " + item.capitalization + ", nameLen: " + item.nameLength + ", locToName: " + item.localeToBeNamed +
1107 ", => read back dialectNam?: " + dialectHandling + ", capitalize: " + capitalization + ", nameLen: " + nameLength);
1112 ", capitalize: " + item.capitalization + ", nameLen: " + item.nameLength + ", locToName: " + item.localeToBeNamed +
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DULocaleTest.java1042 public DisplayContext nameLength;
1049 nameLength = nameLen;
1093 LocaleDisplayNames ldn = LocaleDisplayNames.getInstance(locale, item.dialectHandling, item.capitalization, item.nameLength);
1099 DisplayContext nameLength = ldn.getContext(DisplayContext.Type.DISPLAY_LENGTH);
1100 if (dialectHandling != item.dialectHandling || capitalization != item.capitalization || nameLength != item.nameLength) {
1102 ", capitalize: " + item.capitalization + ", nameLen: " + item.nameLength + ", locToName: " + item.localeToBeNamed +
1103 ", => read back dialectNam?: " + dialectHandling + ", capitalize: " + capitalization + ", nameLen: " + nameLength);
1108 ", capitalize: " + item.capitalization + ", nameLen: " + item.nameLength + ", locToName: " + item.localeToBeNamed +
/external/libvncserver/libvncclient/
H A Drfbproto.c1254 client->si.nameLength = rfbClientSwap32IfLE(client->si.nameLength);
1256 /* To guard against integer wrap-around, si.nameLength is cast to 64 bit */
1257 client->desktopName = malloc((uint64_t)client->si.nameLength + 1);
1260 (unsigned long)client->si.nameLength);
1264 if (!ReadFromRFBServer(client, client->desktopName, client->si.nameLength)) return FALSE;
1266 client->desktopName[client->si.nameLength] = 0;

Completed in 1513 milliseconds

123