Home
last modified time | relevance | path

Searched refs:valueLen (Results 1 – 17 of 17) sorted by relevance

/external/skia/src/ports/
DSkFontMgr_android_parser.cpp167 size_t valueLen = strlen(value); in __anoned638bbb0102() local
168 if (valueLen == 4) { in __anoned638bbb0102()
220 size_t valueLen = strlen(value); in __anoned638bbb0202() local
221 if (MEMEQ("normal", value, valueLen)) { in __anoned638bbb0202()
223 } else if (MEMEQ("italic", value, valueLen)) { in __anoned638bbb0202()
261 size_t valueLen = strlen(value); in __anoned638bbb0602() local
269 for (; i < valueLen && is_whitespace(value[i]); ++i) { } in __anoned638bbb0602()
270 if (i == valueLen) { break; } in __anoned638bbb0602()
272 for (j = i + 1; j < valueLen && !is_whitespace(value[j]); ++j) { } in __anoned638bbb0602()
275 if (i == valueLen) { break; } in __anoned638bbb0602()
[all …]
/external/skqp/src/ports/
DSkFontMgr_android_parser.cpp167 size_t valueLen = strlen(value); in __anon8fe1a8f20102() local
168 if (valueLen == 4) { in __anon8fe1a8f20102()
220 size_t valueLen = strlen(value); in __anon8fe1a8f20202() local
221 if (MEMEQ("normal", value, valueLen)) { in __anon8fe1a8f20202()
223 } else if (MEMEQ("italic", value, valueLen)) { in __anon8fe1a8f20202()
261 size_t valueLen = strlen(value); in __anon8fe1a8f20602() local
269 for (; i < valueLen && is_whitespace(value[i]); ++i) { } in __anon8fe1a8f20602()
270 if (i == valueLen) { break; } in __anon8fe1a8f20602()
272 for (j = i + 1; j < valueLen && !is_whitespace(value[j]); ++j) { } in __anon8fe1a8f20602()
275 if (i == valueLen) { break; } in __anon8fe1a8f20602()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DHeaders.java295 int valueLen = value.length(); in checkNameAndValue() local
296 if (valueLen >= 2 && value.charAt(valueLen - 2) == '\r' in checkNameAndValue()
297 && value.charAt(valueLen - 1) == '\n') { in checkNameAndValue()
299 } else if (valueLen > 0 in checkNameAndValue()
300 && (value.charAt(valueLen - 1) == '\n' in checkNameAndValue()
301 || value.charAt(valueLen - 1) == '\r')) { in checkNameAndValue()
302 value = value.substring(0, valueLen - 1); in checkNameAndValue()
/external/libcups/cups/
Dhttp-support.c2294 uint8_t valueLen; /* Length of value */ in http_resolve_cb() local
2305 &valueLen)) != NULL) in http_resolve_cb()
2309 memcpy(uuid, value, valueLen); in http_resolve_cb()
2310 uuid[valueLen] = '\0'; in http_resolve_cb()
2349 !TXTRecordGetValuePtr(txtLen, txtRecord, "printer-type", &valueLen)) in http_resolve_cb()
2361 &valueLen)) != NULL) in http_resolve_cb()
2369 memcpy(resource, value, valueLen); in http_resolve_cb()
2370 resource[valueLen] = '\0'; in http_resolve_cb()
2379 memcpy(resource + 1, value, valueLen); in http_resolve_cb()
2380 resource[valueLen + 1] = '\0'; in http_resolve_cb()
[all …]
/external/mdnsresponder/mDNSShared/
Ddnssd_clientlib.c288 uint8_t *valueLen in TXTRecordGetValuePtr() argument
294 *valueLen = (uint8_t)(item[0] - (keylen + 1)); in TXTRecordGetValuePtr()
318 uint8_t *valueLen, in TXTRecordGetItemAtIndex() argument
338 *valueLen = (uint8_t)(p[0] - (len + 1)); in TXTRecordGetItemAtIndex()
343 *valueLen = 0; in TXTRecordGetItemAtIndex()
Ddns_sd.h2308 uint8_t *valueLen
2377 uint8_t *valueLen,
/external/mdnsresponder/mDNSWindows/DLL.NET/
Ddnssd_NET.cpp1138 uint8_t valueLen;
1144 v = TXTRecordGetValuePtr(txtRecord->Length, p1, pKey->c_str(), &valueLen);
1148 ret = new Byte[valueLen];
1151 memcpy(p2, v, valueLen);
1180 uint8_t valueLen;
1187 …err = TXTRecordGetItemAtIndex(txtRecord->Length, p1, index, keyBufLen, keyBuf, &valueLen, (const v…
1196 if (valueLen)
1198 ret = new Byte[valueLen];
1201 memcpy(p2, value, valueLen);
/external/mdnsresponder/mDNSWindows/DLLStub/
DDLLStub.cpp655 uint8_t *valueLen in TXTRecordGetValuePtr() argument
664 ret = func( txtLen, txtRecord, key, valueLen ); in TXTRecordGetValuePtr()
679 uint8_t *valueLen, in TXTRecordGetItemAtIndex() argument
689 ret = func( txtLen, txtRecord, itemIndex, keyBufLen, key, valueLen, value ); in TXTRecordGetItemAtIndex()
/external/icu/icu4c/source/common/
Duloc.cpp636 int32_t valueLen; member
737 keywordList[numKeywords].valueLen = (int32_t)(pos - equalSign - i); in _getKeywords()
744 keywordList[numKeywords].valueLen = i; in _getKeywords()
778 keywordList[numKeywords].valueLen = (int32_t)uprv_strlen(addValue); in _getKeywords()
801 if(keywordsLen + keywordList[i].valueLen < keywordCapacity) { in _getKeywords()
802 … uprv_strncpy(keywords+keywordsLen, keywordList[i].valueStart, keywordList[i].valueLen); in _getKeywords()
804 keywordsLen += keywordList[i].valueLen; in _getKeywords()
814 if(valuesLen + keywordList[i].valueLen + 1< valuesCapacity) { in _getKeywords()
816 values[valuesLen + keywordList[i].valueLen] = 0; in _getKeywords()
818 valuesLen += keywordList[i].valueLen + 1; in _getKeywords()
/external/mdnsresponder/mDNSWindows/SystemService/
DService.c511 DWORD valueLen = sizeof(DWORD); in SetServiceParameters() local
527 err = RegQueryValueEx(key, kServiceManageLLRouting, 0, &type, (LPBYTE) &value, &valueLen); in SetServiceParameters()
556 DWORD valueLen; in GetServiceParameters() local
569 valueLen = sizeof(DWORD); in GetServiceParameters()
570 err = RegQueryValueEx(key, kServiceManageLLRouting, 0, &type, (LPBYTE) &value, &valueLen); in GetServiceParameters()
576 valueLen = sizeof(DWORD); in GetServiceParameters()
577 err = RegQueryValueEx(key, kServiceCacheEntryCount, 0, &type, (LPBYTE) &value, &valueLen); in GetServiceParameters()
601 DWORD valueLen; in CheckFirewall() local
676 valueLen = sizeof(DWORD); in CheckFirewall()
677 err = RegQueryValueEx(key, kServiceManageFirewall, 0, &type, (LPBYTE) &value, &valueLen); in CheckFirewall()
/external/skqp/tools/bookmaker/
DincludeWriter.cpp489 int valueLen = 0; in enumSizeItems() local
539 valueLen = (int) (token.fContentEnd - token.fContentStart); in enumSizeItems()
549 valueLen += (int) (token.fContentEnd - lastEnd); in enumSizeItems()
554 longestValue = SkTMax(longestValue, valueLen); in enumSizeItems()
563 longestValue = SkTMax(longestValue, valueLen); in enumSizeItems()
/external/skia/tools/bookmaker/
DincludeWriter.cpp542 int valueLen = 0; in enumSizeItems() local
592 valueLen = (int) (token.fContentEnd - token.fContentStart); in enumSizeItems()
602 valueLen += (int) (token.fContentEnd - lastEnd); in enumSizeItems()
607 longestValue = SkTMax(longestValue, valueLen); in enumSizeItems()
616 longestValue = SkTMax(longestValue, valueLen); in enumSizeItems()
/external/pdfium/public/
Dfpdf_formfill.h657 FPDF_DWORD valueLen,
/external/skqp/src/core/
DSkPictureRecord.cpp795 size_t valueLen = fWriter.WriteDataSize(value); in onDrawAnnotation() local
796 size_t size = 4 + sizeof(SkRect) + keyLen + valueLen; in onDrawAnnotation()
/external/skia/src/core/
DSkPictureRecord.cpp795 size_t valueLen = fWriter.WriteDataSize(value); in onDrawAnnotation() local
796 size_t size = 4 + sizeof(SkRect) + keyLen + valueLen; in onDrawAnnotation()
/external/icu/icu4c/source/test/cintltst/
Dcdattst.c1096 int32_t valueLen, valueSize = strlen(expected) + 1; in VerifysetSymbols() local
1099 valueLen = u_unescape(expected, value, valueSize); in VerifysetSymbols()
1100 udat_setSymbols(datfor, type, idx, value, valueLen, &status); in VerifysetSymbols()
/external/libxml2/
Dxmlschemas.c27423 int valueLen, k, l; in xmlSchemaSAXHandleStartElementNs() local
27435 valueLen = attributes[j+4] - attributes[j+3]; in xmlSchemaSAXHandleStartElementNs()
27436 value = xmlMallocAtomic(valueLen + 1); in xmlSchemaSAXHandleStartElementNs()
27443 for (k = 0, l = 0; k < valueLen; l++) { in xmlSchemaSAXHandleStartElementNs()
27444 if (k < valueLen - 4 && in xmlSchemaSAXHandleStartElementNs()