Home
last modified time | relevance | path

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

12

/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);
Dlocdspnm.cpp287 UDisplayContext nameLength; member in LocaleDisplayNamesImpl
352 , nameLength(UDISPCTX_LENGTH_FULL) in LocaleDisplayNamesImpl()
367 , nameLength(UDISPCTX_LENGTH_FULL) in LocaleDisplayNamesImpl()
380 nameLength = value; in LocaleDisplayNamesImpl()
521 return nameLength; in getContext()
690 if (nameLength == UDISPCTX_LENGTH_SHORT) { in localeIdName()
705 if (nameLength == UDISPCTX_LENGTH_SHORT) { in languageDisplayName()
718 if (nameLength == UDISPCTX_LENGTH_SHORT) { in scriptDisplayName()
737 if (nameLength == UDISPCTX_LENGTH_SHORT) { in regionDisplayName()
784 if (nameLength == UDISPCTX_LENGTH_SHORT) { in keyValueDisplayName()
Drepattrn.cpp624 int32_t RegexPattern::groupNumberFromName(const char *groupName, int32_t nameLength, UErrorCode &st… in groupNumberFromName() argument
628 UnicodeString name(groupName, nameLength, US_INV); in groupNumberFromName()
Duregex.cpp636 int32_t nameLength, in uregex_groupNumberFromName() argument
642 …int32_t result = regexp->fPat->groupNumberFromName(UnicodeString(groupName, nameLength), *status); in uregex_groupNumberFromName()
649 int32_t nameLength, in uregex_groupNumberFromCName() argument
655 return regexp->fPat->groupNumberFromName(groupName, nameLength, *status); in uregex_groupNumberFromCName()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DLocaleDisplayNamesImpl.java39 private final DisplayContext nameLength; field in LocaleDisplayNamesImpl
108 DisplayContext nameLength = DisplayContext.LENGTH_FULL; in LocaleDisplayNamesImpl() local
119 nameLength = contextItem; in LocaleDisplayNamesImpl()
128 this.nameLength = nameLength; in LocaleDisplayNamesImpl()
230 result = nameLength; in getContext()
392 if (nameLength == DisplayContext.LENGTH_SHORT) { in localeIdName()
407 if (nameLength == DisplayContext.LENGTH_SHORT) { in languageDisplayName()
420 if (nameLength == DisplayContext.LENGTH_SHORT) { in scriptDisplayName()
433 if (nameLength == DisplayContext.LENGTH_SHORT) { in scriptDisplayNameInContext()
449 if (nameLength == DisplayContext.LENGTH_SHORT) { in regionDisplayName()
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DS_I_N_G_.py32 self.nameLength = byteord(self.nameLength)
33 assert len(rest) == self.nameLength
/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/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/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/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/
DField.java299 int nameLength = result.length(); in toString() local
301 …for (int i = 1; i < NAME_LENGTH - nameLength; ++i) {//we start from i=1 because one space is alrea… in toString()
305 nameLength = result.length(); in toString()
306 for (int i = 0; i < NAME_LENGTH + TYPE_LENGTH - nameLength; ++i) { in toString()
/external/icu/icu4c/source/common/
Dunames.cpp237 const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice, in expandName() argument
252 while(nameLength>0) { in expandName()
253 --nameLength; in expandName()
265 nameLength=0; in expandName()
270 while(nameLength>0) { in expandName()
271 --nameLength; in expandName()
287 --nameLength; in expandName()
330 const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice, in compareName() argument
346 while(nameLength>0) { in compareName()
347 --nameLength; in compareName()
[all …]
/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/expat/lib/
Dxmltok.h143 int (PTRFASTCALL *nameLength)(const ENCODING *, const char *);
235 (((enc)->nameLength)(enc, ptr))
Dxmltok.c38 PREFIX(nameLength), \
/external/icu/icu4c/source/i18n/unicode/
Duregex.h630 int32_t nameLength,
654 int32_t nameLength,
Dregex.h474 …virtual int32_t groupNumberFromName(const char *groupName, int32_t nameLength, UErrorCode &status)…
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java1038 public DisplayContext nameLength; in TestDisplayNames() field in ULocaleTest.TestContextItem
1045 nameLength = nameLen; in TestDisplayNames()
1089 …LocaleDisplayNames.getInstance(locale, item.dialectHandling, item.capitalization, item.nameLength); in TestDisplayNames()
1092 DisplayContext nameLength = ldn.getContext(DisplayContext.Type.DISPLAY_LENGTH); in TestDisplayNames() local
1093 …= item.dialectHandling || capitalization != item.capitalization || nameLength != item.nameLength) { in TestDisplayNames()
1095 …", capitalize: " + item.capitalization + ", nameLen: " + item.nameLength + ", locToName: " + item.… in TestDisplayNames()
1096 …dialectNam?: " + dialectHandling + ", capitalize: " + capitalization + ", nameLen: " + nameLength); in TestDisplayNames()
1101 …", capitalize: " + item.capitalization + ", nameLen: " + item.nameLength + ", locToName: " + item.… in TestDisplayNames()
/external/icu/icu4c/source/tools/toolutil/
Dpackage.cpp975 int32_t idx, nameLength, middleLength; in findNextItem() local
984 nameLength=(int32_t)strlen(name); in findNextItem()
985 if(nameLength<(findPrefixLength+findSuffixLength)) { in findNextItem()
994 middleLength=nameLength-findPrefixLength-findSuffixLength; in findNextItem()
995 …if(findSuffixLength>0 && 0!=memcmp(findSuffix, name+(nameLength-findSuffixLength), findSuffixLengt… in findNextItem()
/external/libvncserver/libvncclient/
Drfbproto.c1233 client->si.nameLength = rfbClientSwap32IfLE(client->si.nameLength); in InitialiseRFBConnection()
1235 client->desktopName = malloc(client->si.nameLength + 1); in InitialiseRFBConnection()
1238 (unsigned long)client->si.nameLength); in InitialiseRFBConnection()
1242 if (!ReadFromRFBServer(client, client->desktopName, client->si.nameLength)) return FALSE; in InitialiseRFBConnection()
1244 client->desktopName[client->si.nameLength] = 0; in InitialiseRFBConnection()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.core.filesystem_1.3.1.R36x_v20100727-0745.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/libvncserver/rfb/
Drfbproto.h360 uint32_t nameLength; member
/external/deqp/modules/gles3/functional/
Des3fUniformApiTests.cpp1012 …int nameLength; // \note Whether this includes the null byte depends on whether it was queried … member
1019 : name(name_), nameLength(nameLength_), size(size_), type(type_), index(index_) {} in BasicUniformReportGL()
1675 if (uniformResult.nameLength + 1 != uniformsivResult.nameLength) in uniformVsUniformsivComparison()
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceQueryTests.cpp1907 glw::GLint nameLength = -1; in iterate() local
1911 …rogramMemberInterfaceValue, activeVariableIndices[varNdx], 1, &nameProp, 1, &written, &nameLength); in iterate()
1914 if (nameLength <= 0 || written <= 0) in iterate()
1921 nameBuffer.resize(nameLength + 2, 'X'); // allocate more than required in iterate()
1923 …Program(), programMemberInterfaceValue, activeVariableIndices[varNdx], nameLength+1, &written, &na… in iterate()
1932 else if (written > nameLength) in iterate()
2444 glw::GLint nameLength = -1; in iterate() local
2448 …gram.getProgram(), GL_UNIFORM, activeVariables[ndx], 1, &nameLengthProp, 1, &written, &nameLength); in iterate()
2451 if (written <= 0 || nameLength == -1) in iterate()
2458 …nameBuf.resize(nameLength + 2, 'X'); // +2 to tolerate potential off-by-ones in some implementatio… in iterate()

12