/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | pcsc_funcs.c | 404 int rlen, rec; in scard_get_aid() local 427 rlen = scard_get_record_len(scard, rec, in scard_get_aid() 429 if (rlen < 0) { in scard_get_aid() 435 if (rlen > (int) blen) { in scard_get_aid() 439 if (scard_read_record(scard, buf, rlen, rec, in scard_get_aid() 445 wpa_hexdump(MSG_DEBUG, "SCARD: EF_DIR record", buf, rlen); in scard_get_aid() 454 if (efdir->appl_template_len > rlen - 2) { in scard_get_aid() 456 "template (len=%d rlen=%d)", in scard_get_aid() 457 efdir->appl_template_len, rlen); in scard_get_aid() 781 uint32_t rlen; in scard_transmit() local 783 unsigned long rlen; scard_transmit() local 816 size_t len, rlen; _scard_select_file() local [all...] |
/third_party/cups-filters/fontembed/ |
H A D | embed_pdf.c | 272 int *rlen=0; // position of current len field (only valid if in_region!=0) in emb_pdf_fw_cidwidths() local 283 *rlen=in_region-1; // !=0, as it does not start with >default_width in emb_pdf_fw_cidwidths() 293 *rlen=in_region-4; in emb_pdf_fw_cidwidths() 296 rlen=&ret->warray[size++]; in emb_pdf_fw_cidwidths() 309 *rlen=in_region; // end in emb_pdf_fw_cidwidths() 314 rlen=&ret->warray[size++]; in emb_pdf_fw_cidwidths() 320 *rlen=in_region; in emb_pdf_fw_cidwidths() 325 *rlen=in_region; in emb_pdf_fw_cidwidths()
|
H A D | embed_sfnt.c | 516 int rlen=0; in emb_otf_ps() local 517 char *head=otf_get_table(otf,OTF_TAG('h','e','a','d'),&rlen); in emb_otf_ps() 530 char *post=otf_get_table(otf,OTF_TAG('p','o','s','t'),&rlen); in emb_otf_ps() 531 if ( (!post)&&(rlen!=-1) ) { // other error than "not found" in emb_otf_ps()
|
/third_party/pulseaudio/src/modules/echo-cancel/ |
H A D | module-echo-cancel.c | 202 size_t rlen; member 301 pa_usec_t plen, rlen, source_delay, sink_delay, recv_counter, send_counter; in calc_diff() local 305 rlen = pa_bytes_to_usec(snapshot->rlen, &u->source_output->sample_spec); in calc_diff() 306 if (plen > rlen) in calc_diff() 307 buffer_latency = plen - rlen; in calc_diff() 738 size_t rlen, plen; in do_push_drift_comp() local 744 rlen = pa_memblockq_get_length(u->source_memblockq); in do_push_drift_comp() 757 drift = ((float)(plen - u->sink_rem) - (rlen - u->source_rem)) / ((float)(rlen in do_push_drift_comp() 831 size_t rlen, plen; do_push() local 901 size_t rlen, plen, to_skip; source_output_push_cb() local 1054 size_t delay, rlen, plen; source_output_snapshot_within_thread() local [all...] |
/third_party/f2fs-tools/fsck/ |
H A D | compress.c | 63 int ret = lzo1x_1_15_compress(cc->rbuf, cc->rlen, cc->cbuf->cdata, in lzo_compress() 85 (char *)cc->cbuf->cdata, cc->rlen, in lz4_compress() 86 cc->rlen - F2FS_BLKSIZE * c.compress.min_blocks - in lz4_compress()
|
/third_party/libsnd/programs/ |
H A D | sndfile-salvage.c | 236 int rlen, slen ; in find_data_offset() local 261 if ((rlen = read (fd, buffer, sizeof (buffer))) < 0) in find_data_offset() 266 cptr = memchr (buffer, target [0], rlen - slen) ; in find_data_offset()
|
/third_party/musl/src/network/ |
H A D | res_msend.c | 112 int rlen; in res_msend_rc_ext() local 258 rlen = recvmsg(fd, &mh, 0); in res_msend_rc_ext() 259 if (rlen < 0) { in res_msend_rc_ext() 268 if (rlen < 4) continue; in res_msend_rc_ext() 329 alens[i] = rlen; in res_msend_rc_ext() 333 memcpy(answers[i], answers[next], rlen); in res_msend_rc_ext()
|
/third_party/musl/libc-test/src/functionalext/supplement/network/ |
H A D | nameservercheck_client.c | 120 int rlen; in res_msend_rc_ext() local 239 rlen = recvmsg(fd, &mh, 0); in res_msend_rc_ext() 240 if (rlen < 0) { in res_msend_rc_ext() 245 if (rlen < 4) continue; in res_msend_rc_ext() 307 alens[i] = rlen; in res_msend_rc_ext() 311 memcpy(answers[i], answers[next], rlen); in res_msend_rc_ext()
|
/third_party/curl/lib/ |
H A D | mqtt.c | 361 size_t rlen = Curl_dyn_len(&mq->recvbuf); in mqtt_recv_atleast() local 364 if(rlen < nbytes) { in mqtt_recv_atleast() 368 DEBUGASSERT(nbytes - rlen < sizeof(readbuf)); in mqtt_recv_atleast() 370 (char *)readbuf, nbytes - rlen, &nread); in mqtt_recv_atleast() 376 rlen = Curl_dyn_len(&mq->recvbuf); in mqtt_recv_atleast() 378 return (rlen >= nbytes)? CURLE_OK : CURLE_AGAIN; in mqtt_recv_atleast() 384 size_t rlen = Curl_dyn_len(&mq->recvbuf); in mqtt_recv_consume() local 385 if(rlen <= nbytes) in mqtt_recv_consume() 388 Curl_dyn_tail(&mq->recvbuf, rlen - nbytes); in mqtt_recv_consume()
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-async-dns/ |
H A D | main.c | 27 int rlen; member 298 if (m != ipt[n].rlen) { in main() 324 if (ipt[n].rlen < 0) in main() 327 m = lws_write_numeric_address(ipt[n].b, ipt[n].rlen, buf, in main()
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | cg7coll.c | 143 int32_t i, rlen, j, n; in TestG7Locales() local 160 defRules = ucol_getRules(myCollation, &rlen); in TestG7Locales() 161 if (rlen == 0 && (strcmp(locale, "fr_CA") == 0 || strcmp(locale, "ja_JP") == 0)) { in TestG7Locales() 170 tblColl1 = ucol_openRules(defRules, rlen, UCOL_OFF, in TestG7Locales()
|
/third_party/musl/porting/linux/user/src/network/ |
H A D | getnameinfo.c | 186 int rlen = __res_send(query, qlen, reply, sizeof reply); in getnameinfo() local 188 if (rlen > 0) in getnameinfo() 189 __dns_parse(reply, rlen, dns_parse_callback, buf); in getnameinfo()
|
/third_party/musl/porting/liteos_a/user/src/network/ |
H A D | getnameinfo.c | 162 int rlen = __res_send(query, qlen, reply, sizeof reply); in getnameinfo() local 164 if (rlen > 0) in getnameinfo() 165 __dns_parse(reply, rlen, dns_parse_callback, buf); in getnameinfo()
|
/device/soc/hisilicon/common/platform/hieth-sf/src/ |
H A D | interface.c | 267 uint32_t rlen; in HiethDeliver() local 284 rlen = (rxPktInfo >> BITS_RXPKG_LEN_OFFSET) in HiethDeliver() 286 rlen -= EXCESS_SIZE; in HiethDeliver() 287 if (rlen > HIETH_MAX_FRAME_SIZE) { in HiethDeliver() 288 HDF_LOGE("ERROR: recv len=%d", rlen); in HiethDeliver() 297 netBuf->len = rlen; in HiethDeliver()
|
/third_party/cups-filters/backend/ |
H A D | ieee1284.c | 253 did.rlen = 0; in backendGetDeviceID() 262 if (did.rlen < (device_id_size - 1)) in backendGetDeviceID() 263 device_id[did.rlen] = '\0'; in backendGetDeviceID()
|
/third_party/toybox/lib/ |
H A D | lib.c | 558 off_t len, rlen; in readfileat() local 577 rlen = readall(fd, rbuf, len); in readfileat() 578 if (*plen || rlen<len) break; in readfileat() 581 rlen += rbuf-buf; in readfileat() 582 buf = xrealloc(buf, len = (rlen*3)/2); in readfileat() 583 rbuf = buf+rlen; in readfileat() 584 len -= rlen; in readfileat() 586 *plen = len = rlen+(rbuf-buf); in readfileat() 589 if (rlen<0) { in readfileat()
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | bcmxtlv.c | 176 uint16 rlen; in bcm_xtlv_buf_rlen() local 178 rlen = tbuf->size - bcm_xtlv_buf_len(tbuf); in bcm_xtlv_buf_rlen() 180 rlen = 0; in bcm_xtlv_buf_rlen() 182 return rlen; in bcm_xtlv_buf_rlen()
|
H A D | dhd_debug_linux.c | 122 uint32 buflen, rlen; in dbg_ring_poll_worker() local 149 rlen = dhd_dbg_pull_from_ring(dhdp, ringid, buf, buflen); in dbg_ring_poll_worker() 157 while (rlen > 0) { in dbg_ring_poll_worker() 163 rlen -= ENTRY_LENGTH(hdr); in dbg_ring_poll_worker()
|
/third_party/node/deps/openssl/openssl/crypto/bn/ |
H A D | bn_gcd.c | 553 int i, j, top, rlen, glen, m, bit = 1, delta = 1, cond = 0, shifts = 0, ret = 0; in BN_gcd() local 608 rlen = BN_num_bits(r); in BN_gcd() 610 m = 4 + 3 * ((rlen >= glen) ? rlen : glen); in BN_gcd()
|
/third_party/openssl/crypto/bn/ |
H A D | bn_gcd.c | 553 int i, j, top, rlen, glen, m, bit = 1, delta = 1, cond = 0, shifts = 0, ret = 0; in BN_gcd() local 608 rlen = BN_num_bits(r); in BN_gcd() 610 m = 4 + 3 * ((rlen >= glen) ? rlen : glen); in BN_gcd()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | string_view.h | 384 size_type rlen = (std::min)(length_ - pos, n); 385 if (rlen > 0) { 387 traits_type::copy(buf, start, rlen); 389 return rlen;
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
H A D | eap_sake.c | 193 size_t rlen; in eap_sake_process_challenge() local 248 rlen = 2 + EAP_SAKE_RAND_LEN + 2 + EAP_SAKE_MIC_LEN; in eap_sake_process_challenge() 250 rlen += 2 + data->peerid_len; in eap_sake_process_challenge() 251 resp = eap_sake_build_msg(data, id, rlen, EAP_SAKE_SUBTYPE_CHALLENGE); in eap_sake_process_challenge()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
H A D | eap_sake.c | 193 size_t rlen; in eap_sake_process_challenge() local 248 rlen = 2 + EAP_SAKE_RAND_LEN + 2 + EAP_SAKE_MIC_LEN; in eap_sake_process_challenge() 250 rlen += 2 + data->peerid_len; in eap_sake_process_challenge() 251 resp = eap_sake_build_msg(data, id, rlen, EAP_SAKE_SUBTYPE_CHALLENGE); in eap_sake_process_challenge()
|
/third_party/skia/third_party/externals/freetype/src/base/ |
H A D | ftobjs.c | 1885 FT_ULong rlen, temp; in Mac_Read_POST_Resource() local 1959 if ( FT_READ_ULONG( rlen ) ) in Mac_Read_POST_Resource() 1965 if ( 0x7FFFFFFFUL < rlen ) in Mac_Read_POST_Resource() 1975 " offsets=0x%08lx, rlen=0x%08lx, flags=0x%04x\n", in Mac_Read_POST_Resource() 1976 i, offsets[i], rlen, flags )); in Mac_Read_POST_Resource() 1980 /* postpone the check of `rlen longer than buffer' */ in Mac_Read_POST_Resource() 1990 /* the flags are part of the resource, so rlen >= 2, */ in Mac_Read_POST_Resource() 1991 /* but some fonts declare rlen = 0 for empty fragment */ in Mac_Read_POST_Resource() 1992 if ( rlen > 2 ) in Mac_Read_POST_Resource() 1993 rlen in Mac_Read_POST_Resource() 2104 FT_Long rlen; Mac_Read_sfnt_Resource() local [all...] |
/third_party/selinux/libsepol/src/ |
H A D | module_to_cil.c | 750 int len, rlen; in get_new_attr_name() local 769 rlen = snprintf(attr_name, len, "%s%s%i", pdb->name, infix, num_attrs); in get_new_attr_name() 770 if (rlen < 0 || rlen >= len) { in get_new_attr_name() 1258 int rlen; in cond_expr_to_cil() local 1284 rlen = snprintf(new_val, len, "(%s)", val1); in cond_expr_to_cil() 1285 if (rlen < 0 || rlen >= len) { in cond_expr_to_cil() 1339 rlen = snprintf(new_val, len, "(%s %s%s%s)", op, val1, sep, val2); in cond_expr_to_cil() 1340 if (rlen < in cond_expr_to_cil() 1714 int rlen; constraint_expr_to_string() local [all...] |