Home
last modified time | relevance | path

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

123

/external/icu/icu4c/source/i18n/
Dzrule.cpp43 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength) { in zrule_getName() argument
44 UnicodeString s(nameLength==-1, name, nameLength); in zrule_getName()
46 nameLength = s.length(); in zrule_getName()
47 memcpy(name, s.getBuffer(), nameLength); in zrule_getName()
71 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings) { in izrule_open() argument
72 UnicodeString s(nameLength==-1, name, nameLength); in izrule_open()
92 izrule_getName(IZRule* rule, UChar* & name, int32_t & nameLength) { in izrule_getName() argument
96 nameLength = s.length(); in izrule_getName()
97 name = (UChar*)uprv_malloc(nameLength); in izrule_getName()
98 memcpy(name, s.getBuffer(), nameLength); in izrule_getName()
Dzrule.h77 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength);
121 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings);
156 izrule_getName(IZRule* rule, UChar* & name, int32_t & nameLength);
/external/turbine/java/com/google/turbine/zip/
DZip.java129 int nameLength = cd.getChar(cdindex + CENNAM); in next() local
132 Entry entry = new Entry(path, chan, string(cd, cdindex + CENHDR, nameLength), cd, cdindex); in next()
133 cdindex += CENHDR + nameLength + extLength + commentLength; in next()
251 int nameLength = cd.getChar(cdindex + CENNAM); in data() local
258 nameLength, in data()
265 nameLength, in data()
282 long offset, int nameLength, int cenExtLength, long size, boolean deflate) { in getBytes() argument
292 LOCHDR + nameLength + cenExtLength + size + EXTRA_FIELD_SLACK, in getBytes()
300 fc = chan.map(MapMode.READ_ONLY, offset + LOCHDR + nameLength + locExtLength, size); in getBytes()
304 fc.position(LOCHDR + nameLength + locExtLength); in getBytes()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DLocaleDisplayNamesImpl.java44 private final DisplayContext nameLength; field in LocaleDisplayNamesImpl
145 DisplayContext nameLength = DisplayContext.LENGTH_FULL; in LocaleDisplayNamesImpl() local
157 nameLength = contextItem; in LocaleDisplayNamesImpl()
169 this.nameLength = nameLength; in LocaleDisplayNamesImpl()
256 result = nameLength; in getContext()
434 if (nameLength == DisplayContext.LENGTH_SHORT) { in localeIdName()
449 if (nameLength == DisplayContext.LENGTH_SHORT) { in languageDisplayName()
462 if (nameLength == DisplayContext.LENGTH_SHORT) { in scriptDisplayName()
474 if (nameLength == DisplayContext.LENGTH_SHORT) { in scriptDisplayNameInContext()
495 if (nameLength == DisplayContext.LENGTH_SHORT) { in regionDisplayName()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DLocaleDisplayNamesImpl.java40 private final DisplayContext nameLength; field in LocaleDisplayNamesImpl
141 DisplayContext nameLength = DisplayContext.LENGTH_FULL; in LocaleDisplayNamesImpl() local
153 nameLength = contextItem; in LocaleDisplayNamesImpl()
165 this.nameLength = nameLength; in LocaleDisplayNamesImpl()
252 result = nameLength; in getContext()
430 if (nameLength == DisplayContext.LENGTH_SHORT) { in localeIdName()
445 if (nameLength == DisplayContext.LENGTH_SHORT) { in languageDisplayName()
458 if (nameLength == DisplayContext.LENGTH_SHORT) { in scriptDisplayName()
470 if (nameLength == DisplayContext.LENGTH_SHORT) { in scriptDisplayNameInContext()
491 if (nameLength == DisplayContext.LENGTH_SHORT) { in regionDisplayName()
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DS_I_N_G_.py31 self.nameLength = byteord(self.nameLength)
32 assert len(rest) == self.nameLength
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/
DHandlerRegistryBenchmark.java50 public int nameLength; field in HandlerRegistryBenchmark
106 char[] bytes = new char[nameLength]; in randomString()
107 for (int ix = 0; ix < nameLength; ++ix) { in randomString()
/external/skia/src/sfnt/
DSkOTTable_name.cpp492 const size_t nameLength = SkEndian_SwapBE16(nameRecord.length); in next() local
493 if (stringTableSize < nameOffset + nameLength) { in next()
511 SkString_from_UTF16BE(nameString, nameLength, record.name); in next()
522 SkStringFromMacRoman(nameString, nameLength, record.name); in next()
/external/skqp/src/sfnt/
DSkOTTable_name.cpp492 const size_t nameLength = SkEndian_SwapBE16(nameRecord.length); in next() local
493 if (stringTableSize < nameOffset + nameLength) { in next()
511 SkString_from_UTF16BE(nameString, nameLength, record.name); in next()
522 SkStringFromMacRoman(nameString, nameLength, record.name); in next()
/external/perfetto/ui/src/common/
Dcanvas_utils.ts18 const nameLength = str.length * charWidth; constant
19 if (nameLength < maxTextWidth) {
/external/lzma/CPP/7zip/Archive/7z/
D7zOut.cpp219 UInt32 COutArchive::GetVolHeadersSize(UInt64 dataSize, int nameLength, bool props) in GetVolHeadersSize() argument
222 if (nameLength != 0) in GetVolHeadersSize()
224 nameLength = (nameLength + 1) * 2; in GetVolHeadersSize()
225 result += nameLength + GetBigNumberSize(nameLength) + 2; in GetVolHeadersSize()
237 UInt64 COutArchive::GetVolPureSize(UInt64 volSize, int nameLength, bool props) in GetVolPureSize() argument
239 UInt32 headersSizeBase = COutArchive::GetVolHeadersSize(1, nameLength, props); in GetVolPureSize()
245 UInt32 headersSize = COutArchive::GetVolHeadersSize(testSize, nameLength, props); in GetVolPureSize()
D7zOut.h327 static UInt32 GetVolHeadersSize(UInt64 dataSize, int nameLength = 0, bool props = false);
328 static UInt64 GetVolPureSize(UInt64 volSize, int nameLength = 0, bool props = false);
/external/webrtc/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/clang/lib/StaticAnalyzer/Core/
DCheckerRegistry.cpp156 size_t nameLength = i->FullName.size(); in printHelp() local
157 if (nameLength <= maxNameChars) in printHelp()
158 optionFieldWidth = std::max(optionFieldWidth, nameLength); in printHelp()
/external/webrtc/webrtc/modules/video_capture/windows/
Dvideo_capture_ds.cc65 const int32_t nameLength = in Init() local
67 if (nameLength > kVideoCaptureUniqueNameLength) in Init()
71 _deviceUniqueId = new (std::nothrow) char[nameLength + 1]; in Init()
72 memcpy(_deviceUniqueId, deviceUniqueIdUTF8, nameLength + 1); in Init()
/external/icu/icu4c/source/common/
Dlocdspnm.cpp294 UDisplayContext nameLength; member in LocaleDisplayNamesImpl
364 , nameLength(UDISPCTX_LENGTH_FULL) in LocaleDisplayNamesImpl()
376 , nameLength(UDISPCTX_LENGTH_FULL) in LocaleDisplayNamesImpl()
389 nameLength = value; in LocaleDisplayNamesImpl()
540 return nameLength; in getContext()
695 if (nameLength == UDISPCTX_LENGTH_SHORT) { in localeIdName()
710 if (nameLength == UDISPCTX_LENGTH_SHORT) { in languageDisplayName()
724 if (nameLength == UDISPCTX_LENGTH_SHORT) { in scriptDisplayName()
750 if (nameLength == UDISPCTX_LENGTH_SHORT) { in regionDisplayName()
819 if (nameLength == UDISPCTX_LENGTH_SHORT) { in keyValueDisplayName()
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/mesa3d/src/mesa/main/
Dperformance_query.c249 GLuint nameLength, GLchar *name, in _mesa_GetPerfQueryInfoINTEL() argument
281 output_clipped_string(name, nameLength, queryName); in _mesa_GetPerfQueryInfoINTEL()
308 GLuint nameLength, GLchar *name, in _mesa_GetPerfCounterInfoINTEL() argument
367 output_clipped_string(name, nameLength, counterName); in _mesa_GetPerfCounterInfoINTEL()
/external/fonttools/Lib/fontTools/misc/
DmacRes.py193 nameLength, = struct.unpack('B', reader._read(1, absNameOffset))
194 name, = struct.unpack('>%ss' % nameLength, reader._read(nameLength))
/external/webrtc/talk/media/devices/
Dmacdevicemanager.cc159 UInt32 nameLength = kAudioDeviceNameLength; in GetAudioDeviceName() local
163 &nameLength, name); in GetAudioDeviceName()
/external/swiftshader/third_party/SPIRV-Tools/source/
Doperand.cpp48 const size_t nameLength, in spvOperandTableNameLookup() argument
69 nameLength == strlen(entry.name) && in spvOperandTableNameLookup()
70 !strncmp(entry.name, name, nameLength)) { in spvOperandTableNameLookup()
Dopcode.cpp99 const size_t nameLength = strlen(name); in spvOpcodeTableNameLookup() local
112 nameLength == strlen(entry.name) && in spvOpcodeTableNameLookup()
113 !strncmp(name, entry.name, nameLength)) { in spvOpcodeTableNameLookup()
/external/deqp-deps/SPIRV-Tools/source/
Doperand.cpp48 const size_t nameLength, in spvOperandTableNameLookup() argument
69 nameLength == strlen(entry.name) && in spvOperandTableNameLookup()
70 !strncmp(entry.name, name, nameLength)) { in spvOperandTableNameLookup()
Dopcode.cpp99 const size_t nameLength = strlen(name); in spvOpcodeTableNameLookup() local
112 nameLength == strlen(entry.name) && in spvOpcodeTableNameLookup()
113 !strncmp(name, entry.name, nameLength)) { in spvOpcodeTableNameLookup()
/external/v8/src/inspector/
Dsearch-util.cc20 size_t nameLength = name.length(); in findMagicComment() local
38 equalSignPos = pos + 4 + nameLength; in findMagicComment()

123