Home
last modified time | relevance | path

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

/external/qemu/android/utils/
Dproperty_file.c82 size_t valueLen = (lineEnd - value); in propertyFileIterator_next() local
83 if (valueLen >= MAX_PROPERTY_VALUE_LEN) in propertyFileIterator_next()
84 valueLen = (MAX_PROPERTY_VALUE_LEN - 1); in propertyFileIterator_next()
86 memcpy(iter->value, value, valueLen); in propertyFileIterator_next()
87 iter->value[valueLen] = '\0'; in propertyFileIterator_next()
Dini.c66 const char* value, int valueLen ) in iniPair_init() argument
68 AARRAY_NEW(pair->key, keyLen + valueLen + 2); in iniPair_init()
73 memcpy(pair->value, value, valueLen); in iniPair_init()
74 pair->value[valueLen] = 0; in iniPair_init()
82 int valueLen = strlen(value); in iniPair_replaceValue() local
84 iniPair_init(pair, key, keyLen, value, valueLen); in iniPair_replaceValue()
91 const char* value, int valueLen ) in iniFile_addPair() argument
104 iniPair_init(pair, key, keyLen, value, valueLen); in iniFile_addPair()
195 int valueLen; in iniFile_newFromMemory() local
244 valueLen = p - value; in iniFile_newFromMemory()
[all …]
/external/jhead/
Dmain.c272 int valueLen = atoi(attrPtr); in saveAttributes() local
280 exifElementTable[i].Value = malloc(valueLen + 1); in saveAttributes()
284 memcpy(exifElementTable[i].Value, attrPtr, valueLen); in saveAttributes()
285 exifElementTable[i].Value[valueLen] = 0; in saveAttributes()
286 exifElementTable[i].DataLength = valueLen; in saveAttributes()
288 attrPtr += valueLen; in saveAttributes()
513 char valueLen[15]; in addKeyValueString() local
514 snprintf(valueLen, 15, "=%d ", (int)strlen(value)); in addKeyValueString()
517 int len = strlen(key) + strlen(valueLen) + strlen(value); in addKeyValueString()
532 snprintf(*buf + strlen(*buf), bufLen, "%s%s%s", key, valueLen, value); in addKeyValueString()
/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/srec/srec/include/
Dduk_args.h93 unsigned long *valueLen, int typ);
94 int get_string_argument(arg_info *avlist, int avc, char *key, char *value, int valueLen, int *bytes…
Dsimapi.h2628 int valueLen,
2702 int valueLen,
2776 int valueLen,
Dfrontapi.h1049 int valueLen,
/external/chromium_org/third_party/skia/src/ports/
DSkFontConfigParser_android.cpp102 size_t valueLen = strlen(value); in familyElementHandler() local
111 if (valueLen == 7 && !strncmp("elegant", value, valueLen)) { in familyElementHandler()
113 } else if (valueLen == 7 && !strncmp("compact", value, valueLen)) { in familyElementHandler()
/external/icu/icu4c/source/common/
Duloc.cpp610 int32_t valueLen; member
711 keywordList[numKeywords].valueLen = (int32_t)(pos - equalSign - i); in _getKeywords()
718 keywordList[numKeywords].valueLen = i; in _getKeywords()
752 keywordList[numKeywords].valueLen = (int32_t)uprv_strlen(addValue); in _getKeywords()
775 if(keywordsLen + keywordList[i].valueLen < keywordCapacity) { in _getKeywords()
776 … uprv_strncpy(keywords+keywordsLen, keywordList[i].valueStart, keywordList[i].valueLen); in _getKeywords()
778 keywordsLen += keywordList[i].valueLen; in _getKeywords()
788 if(valuesLen + keywordList[i].valueLen + 1< valuesCapacity) { in _getKeywords()
790 values[valuesLen + keywordList[i].valueLen] = 0; in _getKeywords()
792 valuesLen += keywordList[i].valueLen + 1; in _getKeywords()
/external/chromium_org/third_party/icu/source/common/
Duloc.cpp610 int32_t valueLen; member
711 keywordList[numKeywords].valueLen = (int32_t)(pos - equalSign - i); in _getKeywords()
718 keywordList[numKeywords].valueLen = i; in _getKeywords()
752 keywordList[numKeywords].valueLen = (int32_t)uprv_strlen(addValue); in _getKeywords()
775 if(keywordsLen + keywordList[i].valueLen < keywordCapacity) { in _getKeywords()
776 … uprv_strncpy(keywords+keywordsLen, keywordList[i].valueStart, keywordList[i].valueLen); in _getKeywords()
778 keywordsLen += keywordList[i].valueLen; in _getKeywords()
788 if(valuesLen + keywordList[i].valueLen + 1< valuesCapacity) { in _getKeywords()
790 values[valuesLen + keywordList[i].valueLen] = 0; in _getKeywords()
792 valuesLen += keywordList[i].valueLen + 1; in _getKeywords()
/external/pdfium/fpdfsdk/include/
Dfpdfformfill.h493 …us)(struct _FPDF_FORMFILLINFO* pThis, FPDF_WIDESTRING value, FPDF_DWORD valueLen, FPDF_BOOL is_foc…
/external/chromium_org/third_party/skia/src/core/
DSkPictureRecord.cpp1377 size_t valueLen = strlen(value); in addComment() local
1378 size_t size = 3 * kUInt32Size + SkAlign4(kywdLen + 1) + SkAlign4(valueLen + 1); in addComment()
1381 fWriter.writeString(value, valueLen); in addComment()
/external/skia/src/core/
DSkPictureRecord.cpp1520 size_t valueLen = strlen(value); in addComment() local
1521 size_t size = 3 * kUInt32Size + SkAlign4(kywdLen + 1) + SkAlign4(valueLen + 1); in addComment()
1524 fWriter.writeString(value, valueLen); in addComment()
/external/chromium_org/pdf/pdfium/
Dpdfium_engine.h424 FPDF_DWORD valueLen,
Dpdfium_engine.cc3119 FPDF_DWORD valueLen, in Form_SetTextFieldFocus() argument