Searched defs:reslen (Results 1 - 17 of 17) sorted by relevance

/external/dtc/tests/
H A Dinteger-expressions.c74 int reslen; local
97 res = fdt_getprop(fdt, 0, "expressions", &reslen);
101 fdt_strerror(reslen));
103 if (reslen != (ARRAY_SIZE(expr_table) * sizeof(uint32_t)))
105 reslen, ARRAY_SIZE(expr_table) * sizeof(uint32_t));
/external/ipsec-tools/src/racoon/
H A Dplog.c103 int reslen, len; local
106 reslen = sizeof(buf);
114 len = strftime(p, reslen, "%Y-%m-%d %T: ", tm);
116 reslen -= len;
120 len = snprintf(p, reslen, "%s: ", ptab[pri].name);
121 if (len >= 0 && len < reslen) {
123 reslen -= len;
129 snprintf(p, reslen, "%s: %s", func, fmt);
131 snprintf(p, reslen, "%s", fmt);
/external/skia/third_party/lua/src/
H A Dloslib.c228 size_t reslen; local
231 reslen = strftime(buff, sizeof(buff), cc, stm);
232 luaL_addlstring(&b, buff, reslen);
/external/syslinux/com32/lua/src/
H A Dloslib.c233 size_t reslen; local
236 reslen = strftime(buff, sizeof(buff), cc, stm);
237 luaL_addlstring(&b, buff, reslen);
/external/python/cpython2/Modules/
H A Dstropmodule.c172 Py_ssize_t i, reslen = 0, slen = 0, sz = 100; local
219 if (slen > PY_SSIZE_T_MAX - reslen ||
220 seplen > PY_SSIZE_T_MAX - reslen - seplen) {
226 while (reslen + slen + seplen >= sz) {
230 p = PyString_AsString(res) + reslen;
235 reslen += seplen;
239 reslen += slen;
241 _PyString_Resize(&res, reslen);
263 if (slen > PY_SSIZE_T_MAX - reslen ||
264 seplen > PY_SSIZE_T_MAX - reslen
[all...]
/external/icu/icu4c/source/i18n/
H A Ducal.cpp579 int32_t reslen = 0; local
587 reslen = canonical.extract(result, resultCapacity, *status);
589 return reslen;
/external/wpa_supplicant_8/hostapd/src/radius/
H A Dradius.c979 const u8 *secret, size_t secret_len, size_t *reslen)
1049 if (reslen)
1050 *reslen = plain[0];
977 decrypt_ms_key(const u8 *key, size_t len, const u8 *req_authenticator, const u8 *secret, size_t secret_len, size_t *reslen) argument
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dcommon.c878 int reslen, alen, i; local
881 reslen = int_array_len(*res);
884 n = os_realloc_array(*res, reslen + alen + 1, sizeof(int));
891 n[reslen + i] = a[i];
937 int reslen; local
940 for (reslen = 0; *res && (*res)[reslen]; reslen++) {
941 if ((*res)[reslen] == a)
945 n = os_realloc_array(*res, reslen
[all...]
/external/wpa_supplicant_8/src/radius/
H A Dradius.c979 const u8 *secret, size_t secret_len, size_t *reslen)
1049 if (reslen)
1050 *reslen = plain[0];
977 decrypt_ms_key(const u8 *key, size_t len, const u8 *req_authenticator, const u8 *secret, size_t secret_len, size_t *reslen) argument
/external/wpa_supplicant_8/src/utils/
H A Dcommon.c878 int reslen, alen, i; local
881 reslen = int_array_len(*res);
884 n = os_realloc_array(*res, reslen + alen + 1, sizeof(int));
891 n[reslen + i] = a[i];
937 int reslen; local
940 for (reslen = 0; *res && (*res)[reslen]; reslen++) {
941 if ((*res)[reslen] == a)
945 n = os_realloc_array(*res, reslen
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/radius/
H A Dradius.c979 const u8 *secret, size_t secret_len, size_t *reslen)
1049 if (reslen)
1050 *reslen = plain[0];
977 decrypt_ms_key(const u8 *key, size_t len, const u8 *req_authenticator, const u8 *secret, size_t secret_len, size_t *reslen) argument
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dcommon.c878 int reslen, alen, i; local
881 reslen = int_array_len(*res);
884 n = os_realloc_array(*res, reslen + alen + 1, sizeof(int));
891 n[reslen + i] = a[i];
937 int reslen; local
940 for (reslen = 0; *res && (*res)[reslen]; reslen++) {
941 if ((*res)[reslen] == a)
945 n = os_realloc_array(*res, reslen
[all...]
/external/icu/icu4c/source/common/
H A Duloc_tag.c643 int32_t reslen = 0; local
661 if (reslen < capacity) {
662 uprv_memcpy(appendAt + reslen, LANG_UND, uprv_min(LANG_UND_LEN, capacity - reslen));
664 reslen += LANG_UND_LEN;
671 if (reslen < capacity) {
672 uprv_memcpy(appendAt + reslen, LANG_UND, uprv_min(LANG_UND_LEN, capacity - reslen));
674 reslen += LANG_UND_LEN;
684 if (reslen < capacit
698 int32_t reslen = 0; local
740 int32_t reslen = 0; local
782 int32_t reslen = 0; local
907 int32_t reslen = 0; local
1505 int32_t reslen = 0; local
1649 int32_t reslen = 0; local
2339 int32_t reslen = 0; local
2417 int32_t reslen = 0; local
[all...]
/external/python/cpython2/Python/
H A Dbltinmodule.c2877 Py_ssize_t reslen; local
2884 reslen = PyString_GET_SIZE(item);
2885 if (reslen == 1) {
2893 if (need > PY_SSIZE_T_MAX - reslen) {
2898 need += reslen;
2936 reslen
2938 j += reslen;
3005 Py_ssize_t reslen; local
3013 reslen = PyUnicode_GET_SIZE(item);
3014 if (reslen
[all...]
/external/kernel-headers/original/uapi/linux/
H A Di2o-dev.h61 unsigned int __user *reslen; /* Buffer length in bytes */ member in struct:i2o_cmd_hrtlct
70 unsigned int __user *reslen; /* Result List buffer length in bytes */ member in struct:i2o_cmd_psetget
89 unsigned int __user *reslen; /* Length in bytes of reply buffer */ member in struct:i2o_html
/external/python/cpython2/Objects/
H A Dstringobject.c4250 Py_ssize_t reslen, rescnt, fmtcnt; local
4264 reslen = rescnt = fmtcnt + 100;
4265 result = PyString_FromStringAndSize((char *)NULL, reslen);
4284 reslen += rescnt;
4285 if (_PyString_Resize(&result, reslen))
4288 + reslen - rescnt;
4611 reslen -= rescnt;
4613 reslen += rescnt;
4614 if (reslen < 0) {
4619 if (_PyString_Resize(&result, reslen)) {
[all...]
H A Dunicodeobject.c8361 Py_ssize_t fmtcnt, rescnt, reslen, arglen, argidx; local
8377 reslen = rescnt = fmtcnt + 100;
8378 result = _PyUnicode_New(reslen);
8399 reslen += rescnt;
8400 if (_PyUnicode_Resize(&result, reslen) < 0)
8402 res = PyUnicode_AS_UNICODE(result) + reslen - rescnt;
8730 reslen -= rescnt;
8732 reslen += rescnt;
8733 if (reslen < 0) {
8738 if (_PyUnicode_Resize(&result, reslen) <
[all...]

Completed in 533 milliseconds