/external/skia/src/utils/win/ |
D | SkDWrite.cpp | 71 HRESULT sk_wchar_to_skstring(WCHAR* name, int nameLen, SkString* skname) { in sk_wchar_to_skstring() argument 72 int len = WideCharToMultiByte(CP_UTF8, 0, name, nameLen, nullptr, 0, nullptr, nullptr); in sk_wchar_to_skstring() 74 if (nameLen <= 0) { in sk_wchar_to_skstring() 83 …len = WideCharToMultiByte(CP_UTF8, 0, name, nameLen, skname->writable_str(), len, nullptr, nullptr… in sk_wchar_to_skstring() 105 UINT32 nameLen; in sk_get_locale_string() local 106 HRVM(names->GetStringLength(nameIndex, &nameLen), "Could not get name length."); in sk_get_locale_string() 108 SkSMallocWCHAR name(nameLen+1); in sk_get_locale_string() 109 HRVM(names->GetString(nameIndex, name.get(), nameLen+1), "Could not get string."); in sk_get_locale_string() 111 HRV(sk_wchar_to_skstring(name.get(), nameLen, skname)); in sk_get_locale_string()
|
D | SkDWrite.h | 36 HRESULT sk_wchar_to_skstring(WCHAR* name, int nameLen, SkString* skname);
|
/external/skia/src/ports/ |
D | SkFontMgr_android_parser.cpp | 165 size_t nameLen = strlen(name); in __anon4e75f4fd0102() local 166 if (MEMEQ("tag", name, nameLen)) { in __anon4e75f4fd0102() 184 } else if (MEMEQ("stylevalue", name, nameLen)) { in __anon4e75f4fd0102() 214 size_t nameLen = strlen(name); in __anon4e75f4fd0202() local 215 if (MEMEQ("weight", name, nameLen)) { in __anon4e75f4fd0202() 219 } else if (MEMEQ("style", name, nameLen)) { in __anon4e75f4fd0202() 226 } else if (MEMEQ("index", name, nameLen)) { in __anon4e75f4fd0202() 260 size_t nameLen = strlen(name); in __anon4e75f4fd0602() local 262 if (MEMEQ("name", name, nameLen)) { in __anon4e75f4fd0602() 266 } else if (MEMEQ("lang", name, nameLen)) { in __anon4e75f4fd0602() [all …]
|
D | SkFontMgr_FontConfigInterface.cpp | 71 Request(const char* name, size_t nameLen, const SkFontStyle& style) : fStyle(style) { in Request() 81 size_t contentLen = SkAlign4(nameLen); in Request() 82 sk_careful_memcpy(content, name, nameLen); in Request() 83 sk_bzero(content + nameLen, contentLen - nameLen); in Request() 92 size_t nameLen = name ? strlen(name) : 0; in Create() local 93 size_t contentLen = SkAlign4(nameLen); in Create() 95 return new (storage) Request(name, nameLen, style); in Create()
|
/external/icu/icu4c/source/tools/ctestfw/ |
D | ctest.c | 69 static TestNode *createTestNode(const char* name, int32_t nameLen); 76 int* nameLen, 152 int* nameLen, in getNextLevel() argument 161 *nameLen = (int)((*nextName) - name); in getNextLevel() 163 strncpy(n, name, *nameLen); in getNextLevel() 164 n[*nameLen] = 0; in getNextLevel() 168 *nameLen = (int)strlen(name); in getNextLevel() 172 static TestNode *createTestNode(const char* name, int32_t nameLen) in createTestNode() argument 176 newNode = (TestNode*)malloc(sizeof(TestNode) + (nameLen + 1)); in createTestNode() 182 strncpy( newNode->name, name, nameLen ); in createTestNode() [all …]
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | S_I_N_G_.py | 74 nameLen = len(name) 75 if length <= nameLen: 78 name += (nameLen - length) * "\000"
|
D | G_M_A_P_.py | 66 nameLen = len(self.name) 67 if nameLen < 32: 68 self.name = self.name + "\0"*(32 - nameLen)
|
/external/deqp/executor/ |
D | xeTestCase.cpp | 108 int nameLen = 0; in getFullPath() local 113 nameLen += (int)curNode->m_name.length(); in getFullPath() 118 nameLen += 1; in getFullPath() 125 dst.resize(nameLen); in getFullPath() 128 int pos = nameLen; in getFullPath()
|
/external/icu/icu4c/source/i18n/ |
D | anytrans.cpp | 335 int32_t nameLen = name.length(); in scriptNameToCode() local 336 UBool isInvariant = uprv_isInvariantUString(name.getBuffer(), nameLen); in scriptNameToCode() 339 name.extract(0, nameLen, buf, (int32_t)sizeof(buf), US_INV); in scriptNameToCode()
|
/external/mdnsresponder/mDNSWindows/ControlPanel/ |
D | RegistrationPage.cpp | 185 DWORD nameLen = ( kDNSServiceMaxDomainName + 1 ) * sizeof( TCHAR ); in OnSetActive() local 195 err = RegQueryValueEx( m_hostnameSetupKey, L"", NULL, NULL, (LPBYTE) name, &nameLen ); in OnSetActive()
|
/external/lzma/CPP/7zip/Archive/7z/ |
D | 7zHandler.cpp | 475 unsigned nameLen = MyStringLen(name); in SetMethodToProp() local 477 unsigned totalLen = nameLen + propsLen; in SetMethodToProp() 488 char *dest = temp + pos + nameLen; in SetMethodToProp()
|
/external/ImageMagick/coders/ |
D | mat.c | 592 unsigned int nameLen; in ReadMATImageV4() member 645 HDR.nameLen=ReadBlobLSBLong(image); in ReadMATImageV4() 653 HDR.nameLen=ReadBlobMSBLong(image); in ReadMATImageV4() 656 if (HDR.nameLen > 0xFFFF) in ReadMATImageV4() 658 for (i=0; i < (ssize_t) HDR.nameLen; i++) in ReadMATImageV4()
|
/external/kernel-headers/original/uapi/linux/ |
D | ncp.h | 155 __u8 nameLen; member
|
/external/deqp/modules/gles31/functional/ |
D | es31fSSBOLayoutCase.cpp | 1388 const int nameLen = returnValues[2]; in getGLBufferLayout() local 1390 vector<char> name (nameLen); in getGLBufferLayout() 1395 if (retLen+1 != nameLen) in getGLBufferLayout() 1397 if (name[nameLen-1] != 0) in getGLBufferLayout() 1398 …ORAGE_BLOCK) returned invalid name. Expected null terminator at index " + de::toString(nameLen-1)); in getGLBufferLayout() 1451 const int nameLen = returnValues[9]; in getGLBufferLayout() local 1453 vector<char> name (nameLen); in getGLBufferLayout() 1458 if (retLen+1 != nameLen) in getGLBufferLayout() 1460 if (name[nameLen-1] != 0) in getGLBufferLayout() 1461 …ER_VARIABLE) returned invalid name. Expected null terminator at index " + de::toString(nameLen-1)); in getGLBufferLayout()
|
/external/lzma/C/Util/SfxSetup/ |
D | SfxSetup.c | 447 unsigned nameLen = FindExt(temp + nameStartPos, &extLen); in main() local 449 unsigned namePrice = FindItem(kNames, sizeof(kNames) / sizeof(kNames[0]), name, nameLen); in main()
|
/external/icu/icu4c/source/common/ |
D | udata.cpp | 324 int32_t nameLen; in udata_cacheDataItem() local 350 nameLen = (int32_t)uprv_strlen(baseName); in udata_cacheDataItem() 351 newElement->name = (char *)uprv_malloc(nameLen+1); in udata_cacheDataItem()
|
/external/deqp/modules/glshared/ |
D | glsUniformBlockCase.cpp | 1183 int nameLen; in getGLUniformLayout() local 1187 gl.getActiveUniformBlockiv(program, (deUint32)blockNdx, GL_UNIFORM_BLOCK_NAME_LENGTH, &nameLen); in getGLUniformLayout() 1193 std::vector<char> nameBuf(nameLen > 0 ? nameLen : 1); in getGLUniformLayout() 1240 glw::GLsizei nameLen = 0; in getGLUniformLayout() local 1244 …gl.getActiveUniform(program, (deUint32)uniformNdx, (glw::GLsizei)nameBuf.size(), &nameLen, &size, … in getGLUniformLayout() 1249 if (nameLen+1 != nameLengths[uniformNdx] || in getGLUniformLayout()
|
/external/mdnsresponder/mDNSPosix/ |
D | mDNSUNP.c | 618 int nameLen = (sdl->sdl_nlen < IFI_NAME - 1) ? sdl->sdl_nlen : (IFI_NAME - 1); in recvfrom_flags() local 619 strncpy(pktp->ipi_ifname, sdl->sdl_data, nameLen); in recvfrom_flags()
|
/external/boringssl/src/ssl/test/runner/ |
D | handshake_messages.go | 573 nameLen := int(d[1])<<8 | int(d[2]) 575 if len(d) < nameLen { 579 m.serverName = string(d[0:nameLen]) 582 d = d[nameLen:]
|
/external/python/cpython2/Modules/expat/ |
D | xmlparse.c | 2074 int nameLen = sizeof(XML_Char) * (tag->name.strLen + 1); in storeRawNames() local 2075 char *rawNameBuf = tag->buf + nameLen; in storeRawNames() 2086 bufSize = nameLen + ROUND_UP(tag->rawNameLength, sizeof(XML_Char)); in storeRawNames() 2104 rawNameBuf = temp + nameLen; in storeRawNames() 4633 int nameLen; in doProlog() local 4647 nameLen = 0; in doProlog() 4648 for (; name[nameLen++]; ); in doProlog() 4649 dtd->contentStringLen += nameLen; in doProlog()
|
/external/expat/lib/ |
D | xmlparse.c | 2110 int nameLen = sizeof(XML_Char) * (tag->name.strLen + 1); in storeRawNames() local 2111 char *rawNameBuf = tag->buf + nameLen; in storeRawNames() 2122 bufSize = nameLen + ROUND_UP(tag->rawNameLength, sizeof(XML_Char)); in storeRawNames() 2140 rawNameBuf = temp + nameLen; in storeRawNames() 4669 int nameLen; in doProlog() local 4683 nameLen = 0; in doProlog() 4684 for (; name[nameLen++]; ); in doProlog() 4685 dtd->contentStringLen += nameLen; in doProlog()
|
/external/webrtc/webrtc/modules/audio_device/linux/ |
D | audio_device_pulse_linux.cc | 1943 uint16_t nameLen = kAdmMaxDeviceNameSize - 9; in GetDefaultDeviceInfo() local 2007 strncpy(pName, tmpName, nameLen); in GetDefaultDeviceInfo()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ULocaleTest.java | 1099 …Item(String dLoc, DisplayContext dia, DisplayContext cap, DisplayContext nameLen, DisplayContext s… in TestDisplayNames() argument 1103 nameLength = nameLen; in TestDisplayNames()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | ULocaleTest.java | 1100 …Item(String dLoc, DisplayContext dia, DisplayContext cap, DisplayContext nameLen, DisplayContext s… in TestDisplayNames() argument 1104 nameLength = nameLen; in TestDisplayNames()
|