Home
last modified time | relevance | path

Searched refs:nameLen (Results 1 – 22 of 22) sorted by relevance

/external/icu4c/tools/ctestfw/
Dctest.c67 static TestNode *createTestNode(const char* name, int32_t nameLen);
74 int* nameLen,
147 int* nameLen, in getNextLevel() argument
156 *nameLen = (int)((*nextName) - name); in getNextLevel()
158 strncpy(n, name, *nameLen); in getNextLevel()
159 n[*nameLen] = 0; in getNextLevel()
163 *nameLen = (int)strlen(name); in getNextLevel()
167 static TestNode *createTestNode(const char* name, int32_t nameLen) in createTestNode() argument
171 newNode = (TestNode*)malloc(sizeof(TestNode) + (nameLen + 1)); in createTestNode()
177 strncpy( newNode->name, name, nameLen ); in createTestNode()
[all …]
/external/chromium_org/third_party/icu/source/tools/ctestfw/
Dctest.c67 static TestNode *createTestNode(const char* name, int32_t nameLen);
74 int* nameLen,
147 int* nameLen, in getNextLevel() argument
156 *nameLen = (int)((*nextName) - name); in getNextLevel()
158 strncpy(n, name, *nameLen); in getNextLevel()
159 n[*nameLen] = 0; in getNextLevel()
163 *nameLen = (int)strlen(name); in getNextLevel()
167 static TestNode *createTestNode(const char* name, int32_t nameLen) in createTestNode() argument
171 newNode = (TestNode*)malloc(sizeof(TestNode) + (nameLen + 1)); in createTestNode()
177 strncpy( newNode->name, name, nameLen ); in createTestNode()
[all …]
/external/mesa3d/src/mesa/program/
Dprog_parameter.c430 GLsizei nameLen, const char *name) in _mesa_lookup_parameter_value() argument
432 GLint i = _mesa_lookup_parameter_index(paramList, nameLen, name); in _mesa_lookup_parameter_value()
450 GLsizei nameLen, const char *name) in _mesa_lookup_parameter_index() argument
457 if (nameLen == -1) { in _mesa_lookup_parameter_index()
469 strncmp(paramList->Parameters[i].Name, name, nameLen) == 0 in _mesa_lookup_parameter_index()
470 && strlen(paramList->Parameters[i].Name) == (size_t)nameLen) in _mesa_lookup_parameter_index()
Dprog_parameter.h170 GLsizei nameLen, const char *name);
174 GLsizei nameLen, const char *name);
/external/chromium_org/third_party/mesa/src/src/mesa/program/
Dprog_parameter.c441 GLsizei nameLen, const char *name) in _mesa_lookup_parameter_value() argument
443 GLint i = _mesa_lookup_parameter_index(paramList, nameLen, name); in _mesa_lookup_parameter_value()
461 GLsizei nameLen, const char *name) in _mesa_lookup_parameter_index() argument
468 if (nameLen == -1) { in _mesa_lookup_parameter_index()
480 strncmp(paramList->Parameters[i].Name, name, nameLen) == 0 in _mesa_lookup_parameter_index()
481 && strlen(paramList->Parameters[i].Name) == (size_t)nameLen) in _mesa_lookup_parameter_index()
Dprog_parameter.h170 GLsizei nameLen, const char *name);
174 GLsizei nameLen, const char *name);
/external/chromium_org/third_party/skia/src/svg/
DSkSVGParser.cpp157 size_t nameLen = strlen(name); in onAddAttributeLen() local
158 int attrIndex = findAttribute(fCurrElement, name, nameLen, false); in onAddAttributeLen()
160 attrIndex = findAttribute(&fCurrElement->fPaintState, name, nameLen, true); in onAddAttributeLen()
165 if (nameLen == 2 && strncmp("id", name, nameLen) == 0) { in onAddAttributeLen()
/external/skia/src/svg/
DSkSVGParser.cpp157 size_t nameLen = strlen(name); in onAddAttributeLen() local
158 int attrIndex = findAttribute(fCurrElement, name, nameLen, false); in onAddAttributeLen()
160 attrIndex = findAttribute(&fCurrElement->fPaintState, name, nameLen, true); in onAddAttributeLen()
165 if (nameLen == 2 && strncmp("id", name, nameLen) == 0) { in onAddAttributeLen()
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/
DHttpZipLocator.java201 int nameLen = get16(table, offset + CENNAM);
204 int newOffset = offset + CENHDR + nameLen + extraLen + commentLen;
218 String name = getUTF8String(table, offset + CENHDR, nameLen);
235 entry.offset += LOCHDR + nameLen + extraLen;
/external/chromium_org/third_party/icu/source/i18n/
Danytrans.cpp314 int32_t nameLen = name.length(); in scriptNameToCode() local
315 UBool isInvariant = uprv_isInvariantUString(name.getBuffer(), nameLen); in scriptNameToCode()
318 name.extract(0, nameLen, buf, (int32_t)sizeof(buf), US_INV); in scriptNameToCode()
/external/icu4c/i18n/
Danytrans.cpp314 int32_t nameLen = name.length(); in scriptNameToCode() local
315 UBool isInvariant = uprv_isInvariantUString(name.getBuffer(), nameLen); in scriptNameToCode()
318 name.extract(0, nameLen, buf, (int32_t)sizeof(buf), US_INV); in scriptNameToCode()
/external/chromium_org/content/browser/geolocation/
Dosx_wifi.h80 UInt16 nameLen; member
Dwifi_data_provider_mac.cc144 access_point_info->nameLen, in GetAccessPointData()
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
Dnpruntime.cpp172 size_t nameLen = key.m_length; in _NPN_GetStringIdentifier() local
175 …ier* identifier = static_cast<PrivateIdentifier*>(malloc(sizeof(PrivateIdentifier) + nameLen + 1)); in _NPN_GetStringIdentifier()
177 memcpy(nameStorage, name, nameLen + 1); in _NPN_GetStringIdentifier()
/external/bluetooth/bluedroid/btif/co/
Dbta_fs_co.c77 int nameLen = strlen(nameBuffer); in del_path() local
78 filenameOffset = nameBuffer + nameLen; in del_path()
92 if((int)strlen(de->d_name) > PATH_MAX - nameLen) { in del_path()
/external/kernel-headers/original/linux/
Dncp.h155 __u8 nameLen; member
/external/lzma/C/Util/SfxSetup/
DSfxSetup.c435 unsigned nameLen = FindExt(temp + nameStartPos, &extLen); in main() local
437 unsigned namePrice = FindItem(kNames, sizeof(kNames) / sizeof(kNames[0]), name, nameLen); in main()
/external/icu4c/common/
Dudata.cpp331 int32_t nameLen; in udata_cacheDataItem() local
356 nameLen = (int32_t)uprv_strlen(baseName); in udata_cacheDataItem()
357 newElement->name = (char *)uprv_malloc(nameLen+1); in udata_cacheDataItem()
/external/chromium_org/third_party/icu/source/common/
Dudata.cpp307 int32_t nameLen; in udata_cacheDataItem() local
332 nameLen = (int32_t)uprv_strlen(baseName); in udata_cacheDataItem()
333 newElement->name = (char *)uprv_malloc(nameLen+1); in udata_cacheDataItem()
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c611 int nameLen = (sdl->sdl_nlen < IFI_NAME - 1) ? sdl->sdl_nlen : (IFI_NAME - 1); in recvfrom_flags() local
612 strncpy(pktp->ipi_ifname, sdl->sdl_data, nameLen); in recvfrom_flags()
/external/chromium_org/net/third_party/nss/ssl/
Dsslsnce.c170 PRUint16 nameLen; /* 2 */ member
421 snce.nameLen = name->len; in CacheSrvName()
422 PORT_Memcpy(snce.name, name->data, snce.nameLen); in CacheSrvName()
588 name.len = psnce->nameLen; in ConvertToSID()
/external/expat/lib/
Dxmlparse.c2060 int nameLen = sizeof(XML_Char) * (tag->name.strLen + 1); in storeRawNames() local
2061 char *rawNameBuf = tag->buf + nameLen; in storeRawNames()
2072 bufSize = nameLen + ROUND_UP(tag->rawNameLength, sizeof(XML_Char)); in storeRawNames()
2090 rawNameBuf = temp + nameLen; in storeRawNames()
4617 int nameLen; in doProlog() local
4631 nameLen = 0; in doProlog()
4632 for (; name[nameLen++]; ); in doProlog()
4633 dtd->contentStringLen += nameLen; in doProlog()