Home
last modified time | relevance | path

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

12

/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/uboot/u-boot-2020.01/lib/libavb/
Davb_util.c249 size_t ret_len = 0; in avb_replace() local
278 ret_len = num_new - 1; in avb_replace()
281 num_new = ret_len + num_before + replace_len + 1; in avb_replace()
286 avb_memcpy(new_str, ret, ret_len); in avb_replace()
287 avb_memcpy(new_str + ret_len, str, num_before); in avb_replace()
288 avb_memcpy(new_str + ret_len + num_before, replace, replace_len); in avb_replace()
292 ret_len = num_new - 1; in avb_replace()
306 size_t num_new = ret_len + num_remaining + 1; in avb_replace()
311 avb_memcpy(new_str, ret, ret_len); in avb_replace()
312 avb_memcpy(new_str + ret_len, str_after_last_replace, num_remaining); in avb_replace()
[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.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/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/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dos_internal.c157 size_t len = 128, cwd_len, rel_len, ret_len;
180 ret_len = cwd_len + 1 + rel_len + 1;
181 ret = os_malloc(ret_len);
186 ret[ret_len - 1] = '\0';
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.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-utils.h59 int *ret_len);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dos_internal.c157 size_t len = 128, cwd_len, rel_len, ret_len;
180 ret_len = cwd_len + 1 + rel_len + 1;
181 ret = os_malloc(ret_len);
186 ret[ret_len - 1] = '\0';
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.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-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/boost/libs/log/src/windows/
Dmapped_shared_memory.hpp49 …section_basic_information* pinfo, boost::winapi::ULONG_ info_size, boost::winapi::ULONG_* ret_len);
Dipc_sync_wrappers.hpp135 …maphore_basic_information* pinfo, boost::winapi::ULONG_ info_size, boost::winapi::ULONG_* ret_len);
/third_party/openssl/include/crypto/
Dbn.h29 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.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/boost/boost/interprocess/detail/
Dwin32_api.hpp429 …s, interprocess_semaphore_basic_information *pinfo, unsigned int info_size, unsigned int *ret_len);
430 …s, interprocess_section_basic_information *pinfo, unsigned long info_size, unsigned long *ret_len);
1454 unsigned int ret_len; in get_semaphore_info() local
1455 …us = pNtQuerySemaphore(handle, winapi::semaphore_basic_information, &info, sizeof(info), &ret_len); in get_semaphore_info()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Ddpp.h444 const u8 * dpp_get_attr(const u8 *buf, size_t len, u16 req_id, u16 *ret_len);

12