/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | uloc_tag.cpp | 858 int32_t reslen = 0; in _appendLanguageToLanguageTag() local 876 if (reslen < capacity) { in _appendLanguageToLanguageTag() 877 uprv_memcpy(appendAt + reslen, LANG_UND, uprv_min(LANG_UND_LEN, capacity - reslen)); in _appendLanguageToLanguageTag() 879 reslen += LANG_UND_LEN; in _appendLanguageToLanguageTag() 886 if (reslen < capacity) { in _appendLanguageToLanguageTag() 887 uprv_memcpy(appendAt + reslen, LANG_UND, uprv_min(LANG_UND_LEN, capacity - reslen)); in _appendLanguageToLanguageTag() 889 reslen += LANG_UND_LEN; in _appendLanguageToLanguageTag() 904 if (reslen < capacity) { in _appendLanguageToLanguageTag() 905 uprv_memcpy(appendAt + reslen, buf, uprv_min(len, capacity - reslen)); in _appendLanguageToLanguageTag() 907 reslen += len; in _appendLanguageToLanguageTag() [all …]
|
D | locid.cpp | 745 int32_t reslen; in addLikelySubtags() local 758 reslen = uloc_addLikelySubtags( in addLikelySubtags() 768 maximizedLocaleIDCapacity = reslen; in addLikelySubtags() 776 maximizedLocaleID.append(buffer, reslen, status); in addLikelySubtags() 804 int32_t reslen; in minimizeSubtags() local 817 reslen = uloc_minimizeSubtags( in minimizeSubtags() 830 minimizedLocaleIDCapacity = reslen; in minimizeSubtags() 838 minimizedLocaleID.append(buffer, reslen, status); in minimizeSubtags() 878 int32_t parsedLength, reslen; in forLanguageTag() local 891 reslen = ulocimp_forLanguageTag( in forLanguageTag() [all …]
|
/third_party/alsa-utils/alsactl/ |
D | init_utils_run.c | 27 size_t ressize, size_t *reslen, int log); 32 size_t ressize, size_t *reslen, int log) in run_program0() argument 222 if (reslen) in run_program0() 223 *reslen = respos; in run_program0() 242 size_t ressize, size_t *reslen, int log) in run_program() argument 245 return run_program1(space, command0, result, ressize, reslen, log); in run_program() 246 return run_program0(space, command0, result, ressize, reslen, log); in run_program()
|
D | init_parse.c | 1245 size_t ressize, size_t *reslen, int log) in run_program1() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
D | common.c | 894 size_t reslen, alen, i, max_size; in int_array_concat() local 897 reslen = int_array_len(*res); in int_array_concat() 900 if (alen >= max_size - reslen) { in int_array_concat() 909 n = os_realloc_array(*res, reslen + alen + 1, sizeof(int)); in int_array_concat() 916 n[reslen + i] = a[i]; in int_array_concat() 961 size_t reslen, max_size; in int_array_add_unique() local 964 for (reslen = 0; *res && (*res)[reslen]; reslen++) { in int_array_add_unique() 965 if ((*res)[reslen] == a) in int_array_add_unique() 970 if (reslen > max_size - 2) { in int_array_add_unique() 979 n = os_realloc_array(*res, reslen + 2, sizeof(int)); in int_array_add_unique() [all …]
|
/third_party/icu/icu4c/source/common/ |
D | uloc_tag.cpp | 1885 int32_t reslen = 0; in _appendPrivateuseToLanguageTag() local 1939 if (reslen < capacity) { in _appendPrivateuseToLanguageTag() 1940 tmpAppend[reslen++] = SEP; in _appendPrivateuseToLanguageTag() 1944 if (reslen < capacity) { in _appendPrivateuseToLanguageTag() 1945 tmpAppend[reslen++] = *PRIVATEUSE_KEY; in _appendPrivateuseToLanguageTag() 1948 if (reslen < capacity) { in _appendPrivateuseToLanguageTag() 1949 tmpAppend[reslen++] = SEP; in _appendPrivateuseToLanguageTag() 1953 if (reslen < capacity) { in _appendPrivateuseToLanguageTag() 1954 … uprv_memcpy(tmpAppend + reslen, PRIVUSE_VARIANT_PREFIX, uprv_min(len, capacity - reslen)); in _appendPrivateuseToLanguageTag() 1956 reslen += len; in _appendPrivateuseToLanguageTag() [all …]
|
D | uloc.cpp | 729 int32_t reslen = sink.NumberOfBytesAppended(); in uloc_getKeywordValue() local 732 return reslen; in uloc_getKeywordValue() 738 u_terminateChars(buffer, bufferCapacity, reslen, status); in uloc_getKeywordValue() 741 return reslen; in uloc_getKeywordValue() 1849 int32_t reslen = sink.NumberOfBytesAppended(); in uloc_getName() local 1852 return reslen; in uloc_getName() 1858 u_terminateChars(name, nameCapacity, reslen, err); in uloc_getName() 1861 return reslen; in uloc_getName() 1885 int32_t reslen = sink.NumberOfBytesAppended(); in uloc_getBaseName() local 1888 return reslen; in uloc_getBaseName() [all …]
|
D | loclikely.cpp | 1224 int32_t reslen = sink.NumberOfBytesAppended(); in uloc_addLikelySubtags() local 1227 return sink.Overflowed() ? reslen : -1; in uloc_addLikelySubtags() 1234 maximizedLocaleID, maximizedLocaleIDCapacity, reslen, status); in uloc_addLikelySubtags() 1237 return reslen; in uloc_addLikelySubtags() 1272 int32_t reslen = sink.NumberOfBytesAppended(); in uloc_minimizeSubtags() local 1275 return sink.Overflowed() ? reslen : -1; in uloc_minimizeSubtags() 1282 minimizedLocaleID, minimizedLocaleIDCapacity, reslen, status); in uloc_minimizeSubtags() 1285 return reslen; in uloc_minimizeSubtags()
|
/third_party/node/deps/icu-small/source/common/ |
D | uloc_tag.cpp | 1885 int32_t reslen = 0; in _appendPrivateuseToLanguageTag() local 1939 if (reslen < capacity) { in _appendPrivateuseToLanguageTag() 1940 tmpAppend[reslen++] = SEP; in _appendPrivateuseToLanguageTag() 1944 if (reslen < capacity) { in _appendPrivateuseToLanguageTag() 1945 tmpAppend[reslen++] = *PRIVATEUSE_KEY; in _appendPrivateuseToLanguageTag() 1948 if (reslen < capacity) { in _appendPrivateuseToLanguageTag() 1949 tmpAppend[reslen++] = SEP; in _appendPrivateuseToLanguageTag() 1953 if (reslen < capacity) { in _appendPrivateuseToLanguageTag() 1954 … uprv_memcpy(tmpAppend + reslen, PRIVUSE_VARIANT_PREFIX, uprv_min(len, capacity - reslen)); in _appendPrivateuseToLanguageTag() 1956 reslen += len; in _appendPrivateuseToLanguageTag() [all …]
|
D | uloc.cpp | 738 int32_t reslen = sink.NumberOfBytesAppended(); in uloc_getKeywordValue() local 741 return reslen; in uloc_getKeywordValue() 747 u_terminateChars(buffer, bufferCapacity, reslen, status); in uloc_getKeywordValue() 750 return reslen; in uloc_getKeywordValue() 1882 int32_t reslen = sink.NumberOfBytesAppended(); in uloc_getName() local 1885 return reslen; in uloc_getName() 1891 u_terminateChars(name, nameCapacity, reslen, err); in uloc_getName() 1894 return reslen; in uloc_getName() 1918 int32_t reslen = sink.NumberOfBytesAppended(); in uloc_getBaseName() local 1921 return reslen; in uloc_getBaseName() [all …]
|
D | loclikely.cpp | 1222 int32_t reslen = sink.NumberOfBytesAppended(); in uloc_addLikelySubtags() local 1225 return sink.Overflowed() ? reslen : -1; in uloc_addLikelySubtags() 1232 maximizedLocaleID, maximizedLocaleIDCapacity, reslen, status); in uloc_addLikelySubtags() 1235 return reslen; in uloc_addLikelySubtags() 1275 int32_t reslen = sink.NumberOfBytesAppended(); in uloc_minimizeSubtags() local 1278 return sink.Overflowed() ? reslen : -1; in uloc_minimizeSubtags() 1285 minimizedLocaleID, minimizedLocaleIDCapacity, reslen, status); in uloc_minimizeSubtags() 1288 return reslen; in uloc_minimizeSubtags()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | uloc_tag.cpp | 1885 int32_t reslen = 0; in _appendPrivateuseToLanguageTag() local 1939 if (reslen < capacity) { in _appendPrivateuseToLanguageTag() 1940 tmpAppend[reslen++] = SEP; in _appendPrivateuseToLanguageTag() 1944 if (reslen < capacity) { in _appendPrivateuseToLanguageTag() 1945 tmpAppend[reslen++] = *PRIVATEUSE_KEY; in _appendPrivateuseToLanguageTag() 1948 if (reslen < capacity) { in _appendPrivateuseToLanguageTag() 1949 tmpAppend[reslen++] = SEP; in _appendPrivateuseToLanguageTag() 1953 if (reslen < capacity) { in _appendPrivateuseToLanguageTag() 1954 … uprv_memcpy(tmpAppend + reslen, PRIVUSE_VARIANT_PREFIX, uprv_min(len, capacity - reslen)); in _appendPrivateuseToLanguageTag() 1956 reslen += len; in _appendPrivateuseToLanguageTag() [all …]
|
D | uloc.cpp | 729 int32_t reslen = sink.NumberOfBytesAppended(); in uloc_getKeywordValue() local 732 return reslen; in uloc_getKeywordValue() 738 u_terminateChars(buffer, bufferCapacity, reslen, status); in uloc_getKeywordValue() 741 return reslen; in uloc_getKeywordValue() 1849 int32_t reslen = sink.NumberOfBytesAppended(); in uloc_getName() local 1852 return reslen; in uloc_getName() 1858 u_terminateChars(name, nameCapacity, reslen, err); in uloc_getName() 1861 return reslen; in uloc_getName() 1885 int32_t reslen = sink.NumberOfBytesAppended(); in uloc_getBaseName() local 1888 return reslen; in uloc_getBaseName() [all …]
|
D | loclikely.cpp | 1224 int32_t reslen = sink.NumberOfBytesAppended(); in uloc_addLikelySubtags() local 1227 return sink.Overflowed() ? reslen : -1; in uloc_addLikelySubtags() 1234 maximizedLocaleID, maximizedLocaleIDCapacity, reslen, status); in uloc_addLikelySubtags() 1237 return reslen; in uloc_addLikelySubtags() 1272 int32_t reslen = sink.NumberOfBytesAppended(); in uloc_minimizeSubtags() local 1275 return sink.Overflowed() ? reslen : -1; in uloc_minimizeSubtags() 1282 minimizedLocaleID, minimizedLocaleIDCapacity, reslen, status); in uloc_minimizeSubtags() 1285 return reslen; in uloc_minimizeSubtags()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
D | common.c | 888 int reslen, alen, i; in int_array_concat() local 891 reslen = int_array_len(*res); in int_array_concat() 894 n = os_realloc_array(*res, reslen + alen + 1, sizeof(int)); in int_array_concat() 901 n[reslen + i] = a[i]; in int_array_concat() 947 int reslen; in int_array_add_unique() local 950 for (reslen = 0; *res && (*res)[reslen]; reslen++) { in int_array_add_unique() 951 if ((*res)[reslen] == a) in int_array_add_unique() 955 n = os_realloc_array(*res, reslen + 2, sizeof(int)); in int_array_add_unique() 962 n[reslen] = a; in int_array_add_unique() 963 n[reslen + 1] = 0; in int_array_add_unique()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | loctest.cpp | 6154 int32_t reslen; in TestUndCAPI() local 6159 reslen = uloc_getName(empty, tmp, sizeof tmp, status); in TestUndCAPI() 6161 assertTrue("reslen >= 0", reslen >= 0); in TestUndCAPI() 6165 reslen = uloc_getName(root, tmp, sizeof tmp, status); in TestUndCAPI() 6167 assertTrue("reslen >= 0", reslen >= 0); in TestUndCAPI() 6171 reslen = uloc_getName(und, tmp, sizeof tmp, status); in TestUndCAPI() 6173 assertTrue("reslen >= 0", reslen >= 0); in TestUndCAPI() 6177 reslen = uloc_getName(empty_script, tmp, sizeof tmp, status); in TestUndCAPI() 6179 assertTrue("reslen >= 0", reslen >= 0); in TestUndCAPI() 6183 reslen = uloc_getName(empty_region, tmp, sizeof tmp, status); in TestUndCAPI() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | ucal.cpp | 579 int32_t reslen = 0; in ucal_getCanonicalTimeZoneID() local 587 reslen = canonical.extract(result, resultCapacity, *status); in ucal_getCanonicalTimeZoneID() 589 return reslen; in ucal_getCanonicalTimeZoneID()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | ucal.cpp | 603 int32_t reslen = 0; in ucal_getCanonicalTimeZoneID() local 611 reslen = canonical.extract(result, resultCapacity, *status); in ucal_getCanonicalTimeZoneID() 613 return reslen; in ucal_getCanonicalTimeZoneID()
|
/third_party/icu/icu4c/source/i18n/ |
D | ucal.cpp | 603 int32_t reslen = 0; in ucal_getCanonicalTimeZoneID() local 611 reslen = canonical.extract(result, resultCapacity, *status); in ucal_getCanonicalTimeZoneID() 613 return reslen; in ucal_getCanonicalTimeZoneID()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | ucal.cpp | 603 int32_t reslen = 0; in ucal_getCanonicalTimeZoneID() local 611 reslen = canonical.extract(result, resultCapacity, *status); in ucal_getCanonicalTimeZoneID() 613 return reslen; in ucal_getCanonicalTimeZoneID()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/radius/ |
D | radius.c | 983 const u8 *secret, size_t secret_len, size_t *reslen) in decrypt_ms_key() argument 1052 if (reslen) in decrypt_ms_key() 1053 *reslen = plain[0]; in decrypt_ms_key()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/radius/ |
D | radius.c | 983 const u8 *secret, size_t secret_len, size_t *reslen) in decrypt_ms_key() argument 1052 if (reslen) in decrypt_ms_key() 1053 *reslen = plain[0]; in decrypt_ms_key()
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | cloctst.c | 2469 int32_t reslen = uloc_canonicalize(name, buffer, (int32_t)len, &status); in TestCanonicalizationBuffer() local 2477 if (reslen != len) { in TestCanonicalizationBuffer() 2479 name, reslen, len); in TestCanonicalizationBuffer() 2485 name, reslen, buffer, name); in TestCanonicalizationBuffer()
|