Home
last modified time | relevance | path

Searched refs:ret_len (Results 1 – 25 of 28) sorted by relevance

12

/third_party/mbedtls/tests/suites/
Dtest_suite_psa_its.function88 size_t ret_len = 0;
97 PSA_ASSERT( psa_its_get( uid, 0, data->len, buffer, &ret_len ) );
98 ASSERT_COMPARE( data->x, data->len, buffer, ret_len );
118 size_t ret_len = 0;
126 PSA_ASSERT( psa_its_get( uid, 0, data1->len, buffer, &ret_len ) );
127 ASSERT_COMPARE( data1->x, data1->len, buffer, ret_len );
133 ret_len = 0;
134 PSA_ASSERT( psa_its_get( uid, 0, data2->len, buffer, &ret_len ) );
135 ASSERT_COMPARE( data2->x, data2->len, buffer, ret_len );
152 size_t ret_len = 0;
[all …]
/third_party/ltp/testcases/kernel/fs/inode/
Dinode01.c307 int new_ret_val, len, ret_len; in generate() local
371 ret_len = in generate()
373 if (ret_len != len) { in generate()
377 ret_len, errno); in generate()
469 int len, path_mode, val, ret_len, j; in check() local
519 ret_len = in check()
521 if (len != ret_len) { in check()
525 ret_len, errno); in check()
540 if (ret_len <= 0) { in check()
667 int len, ret_len; in escrivez() local
[all …]
Dinode02.c404 int new_ret_val, len, ret_len; in generate() local
469 ret_len = in generate()
471 if (ret_len != len) { in generate()
570 int len, path_mode, val, ret_len, j; in check() local
618 ret_len = 0; in check()
621 ret_len = in check()
623 if (len != ret_len) { in check()
641 if (ret_len <= 0) { in check()
769 int len, ret_len; in escrivez() local
775 ret_len = write(list_id, write_string, len); in escrivez()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant_lib/
Ddriver_nl80211_hisi.c191 uint32 ret_len = 0; in wpa_driver_nl80211_driver_cmd() local
238 ret_len = os_strlen(priv_cmd.buf); in wpa_driver_nl80211_driver_cmd()
239 ret_len = (ret_len < MAX_PRIV_CMD_SIZE) ? ret_len : (MAX_PRIV_CMD_SIZE - 1); in wpa_driver_nl80211_driver_cmd()
241 if (os_strncasecmp(buf, priv_cmd.buf, ret_len) != 0) in wpa_driver_nl80211_driver_cmd()
243 ret = ret_len; in wpa_driver_nl80211_driver_cmd()
250 …ret_s = memcpy_s(buf, buf_len, priv_cmd.buf, ret_len); /* copy kernel space return string to user … in wpa_driver_nl80211_driver_cmd()
254 buf[ret_len] = '\0'; in wpa_driver_nl80211_driver_cmd()
265 …DEBUG, "%s:set country code end. len=%zu, ret_len=%d ret=%d", __func__, strlen(buf), ret_len, ret); in wpa_driver_nl80211_driver_cmd()
269 …miracast_sink_log("%s:%.15s len=%zu, ret_len=%d ret=%d", __func__, buf, strlen(buf), ret_len, ret); in wpa_driver_nl80211_driver_cmd()
272 …tf(MSG_EXCESSIVE, "%s:%.15s len=%zu, ret_len=%d ret=%d", __func__, buf, strlen(buf), ret_len, ret); in wpa_driver_nl80211_driver_cmd()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/
Ddriver_nl80211_hisi.c176 uint32 ret_len = 0; in wpa_driver_nl80211_driver_cmd() local
227 ret_len = os_strlen(priv_cmd.buf); in wpa_driver_nl80211_driver_cmd()
228 ret_len = (ret_len < MAX_PRIV_CMD_SIZE) ? ret_len : (MAX_PRIV_CMD_SIZE - 1); in wpa_driver_nl80211_driver_cmd()
230 if (os_strncasecmp(buf, priv_cmd.buf, ret_len) != 0) { in wpa_driver_nl80211_driver_cmd()
231 ret = ret_len; in wpa_driver_nl80211_driver_cmd()
238 …ret_s = memcpy_s(buf, buf_len, priv_cmd.buf, ret_len); /* copy kernel space return string to user … in wpa_driver_nl80211_driver_cmd()
242 buf[ret_len] = '\0'; in wpa_driver_nl80211_driver_cmd()
252 …DEBUG, "%s:set country code end. len=%zu, ret_len=%d ret=%d", __func__, strlen(buf), ret_len, ret); in wpa_driver_nl80211_driver_cmd()
256 …miracast_sink_log("%s:%.15s len=%zu, ret_len=%d ret=%d", __func__, buf, strlen(buf), ret_len, ret); in wpa_driver_nl80211_driver_cmd()
259 …tf(MSG_EXCESSIVE, "%s:%.15s len=%zu, ret_len=%d ret=%d", __func__, buf, strlen(buf), ret_len, ret); in wpa_driver_nl80211_driver_cmd()
[all …]
/third_party/openssl/crypto/bn/
Dbn_intern.c22 signed char *bn_compute_wNAF(const BIGNUM *scalar, int w, size_t *ret_len) in bn_compute_wNAF() argument
37 *ret_len = 1; in bn_compute_wNAF()
133 *ret_len = j; in bn_compute_wNAF()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/pae/
Dieee802_1x_key.c41 int lab_len, ctx_len, ret_len, buf_len; in aes_kdf() local
49 ret_len = ((ret_bits & 0xffff) + 7) / 8; in aes_kdf()
52 os_memset(ret, 0, ret_len); in aes_kdf()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/pae/
Dieee802_1x_key.c41 int lab_len, ctx_len, ret_len, buf_len; in aes_kdf() local
49 ret_len = ((ret_bits & 0xffff) + 7) / 8; in aes_kdf()
52 os_memset(ret, 0, ret_len); in aes_kdf()
/third_party/cups-filters/fontembed/
Dsfnt.c422 char *otf_get_table(OTF_FILE *otf,unsigned int tag,int *ret_len) // {{{ in otf_get_table() argument
425 assert(ret_len); in otf_get_table()
429 *ret_len=-1; in otf_get_table()
449 *ret_len=table->length; in otf_get_table()
674 …get_name(OTF_FILE *otf,int platformID,int encodingID,int languageID,int nameID,int *ret_len) // {{{ in otf_get_name() argument
677 assert(ret_len); in otf_get_name()
682 *ret_len=-1; in otf_get_name()
696 *ret_len=get_USHORT(res+8); in otf_get_name()
701 *ret_len=0; in otf_get_name()
Dsfnt.h48 char *otf_get_table(OTF_FILE *otf,unsigned int tag,int *ret_len);
51 … *otf_get_name(OTF_FILE *otf,int platformID,int encodingID,int languageID,int nameID,int *ret_len);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dos_internal.c159 size_t len = 128, cwd_len, rel_len, ret_len; in os_rel2abs_path() local
182 ret_len = cwd_len + 1 + rel_len + 1; in os_rel2abs_path()
183 ret = os_malloc(ret_len); in os_rel2abs_path()
188 ret[ret_len - 1] = '\0'; in os_rel2abs_path()
Dos_unix.c289 size_t len = 128, cwd_len, rel_len, ret_len; in os_rel2abs_path() local
319 ret_len = cwd_len + 1 + rel_len + 1; in os_rel2abs_path()
320 ret = os_malloc(ret_len); in os_rel2abs_path()
325 ret[ret_len - 1] = '\0'; in os_rel2abs_path()
Dxml_libxml2.c402 int *ret_len) in xml_node_get_base64_text() argument
413 if (ret_len) in xml_node_get_base64_text()
414 *ret_len = len; in xml_node_get_base64_text()
Dxml-utils.h59 int *ret_len);
/third_party/harfbuzz/util/
Doptions.cc784 unsigned int ret_len; in get_line() local
786 ret_len = line_len; in get_line()
787 line += ret_len; in get_line()
790 ret_len = p - ret; in get_line()
791 line += ret_len + 1; in get_line()
792 line_len -= ret_len + 1; in get_line()
795 *len = ret_len; in get_line()
/third_party/flutter/skia/third_party/externals/harfbuzz/util/
Doptions.cc750 unsigned int ret_len; in get_line() local
752 ret_len = line_len; in get_line()
753 line += ret_len; in get_line()
756 ret_len = p - ret; in get_line()
757 line += ret_len + 1; in get_line()
758 line_len -= ret_len + 1; in get_line()
761 *len = ret_len; in get_line()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dos_internal.c165 size_t len = 128, cwd_len, rel_len, ret_len; in os_rel2abs_path() local
188 ret_len = cwd_len + 1 + rel_len + 1; in os_rel2abs_path()
189 ret = os_malloc(ret_len); in os_rel2abs_path()
194 ret[ret_len - 1] = '\0'; in os_rel2abs_path()
Dxml_libxml2.c402 int *ret_len) in xml_node_get_base64_text() argument
413 if (ret_len) in xml_node_get_base64_text()
414 *ret_len = len; in xml_node_get_base64_text()
Dos_unix.c295 size_t len = 128, cwd_len, rel_len, ret_len; in os_rel2abs_path() local
325 ret_len = cwd_len + 1 + rel_len + 1; in os_rel2abs_path()
326 ret = os_malloc(ret_len); in os_rel2abs_path()
331 ret[ret_len - 1] = '\0'; in os_rel2abs_path()
Dxml-utils.h59 int *ret_len);
/third_party/openssl/ohos_lite/include/crypto/
Dbn.h29 signed char *bn_compute_wNAF(const BIGNUM *scalar, int w, size_t *ret_len);
/third_party/openssl/include/crypto/
Dbn.h30 signed char *bn_compute_wNAF(const BIGNUM *scalar, int w, size_t *ret_len);
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dap.c1050 int ret, ret_len = 0; in wpa_supplicant_ap_wps_pin() local
1060 ret_len = os_snprintf(buf, buflen, "%08d", rpin); in wpa_supplicant_ap_wps_pin()
1061 if (os_snprintf_error(buflen, ret_len)) in wpa_supplicant_ap_wps_pin()
1065 ret_len = os_snprintf(buf, buflen, "%s", pin); in wpa_supplicant_ap_wps_pin()
1066 if (os_snprintf_error(buflen, ret_len)) in wpa_supplicant_ap_wps_pin()
1074 return ret_len; in wpa_supplicant_ap_wps_pin()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dap.c1276 int ret, ret_len = 0; in wpa_supplicant_ap_wps_pin() local
1286 ret_len = os_snprintf(buf, buflen, "%08d", rpin); in wpa_supplicant_ap_wps_pin()
1287 if (os_snprintf_error(buflen, ret_len)) in wpa_supplicant_ap_wps_pin()
1291 ret_len = os_snprintf(buf, buflen, "%s", pin); in wpa_supplicant_ap_wps_pin()
1292 if (os_snprintf_error(buflen, ret_len)) in wpa_supplicant_ap_wps_pin()
1300 return ret_len; in wpa_supplicant_ap_wps_pin()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Ddpp.h444 const u8 * dpp_get_attr(const u8 *buf, size_t len, u16 req_id, u16 *ret_len);

12