Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/fipsmodule/bn/
Dcmp.c67 const BN_ULONG *b, size_t b_len) { in bn_cmp_words_consttime() argument
72 size_t min = a_len < b_len ? a_len : b_len; in bn_cmp_words_consttime()
81 if (a_len < b_len) { in bn_cmp_words_consttime()
83 for (size_t i = a_len; i < b_len; i++) { in bn_cmp_words_consttime()
87 } else if (b_len < a_len) { in bn_cmp_words_consttime()
89 for (size_t i = b_len; i < a_len; i++) { in bn_cmp_words_consttime()
/external/libexif/libexif/
Dexif-loader.c75 unsigned char b_len; member
171 eld->b_len = 0; in exif_loader_write()
196 i = MIN (len, sizeof (eld->b) - eld->b_len); in exif_loader_write()
198 memcpy (&eld->b[eld->b_len], buf, i); in exif_loader_write()
199 eld->b_len += i; in exif_loader_write()
200 if (eld->b_len < sizeof (eld->b)) in exif_loader_write()
331 eld->b_len = 0; in exif_loader_write()
405 loader->b_len = 0; in exif_loader_reset()
/external/tinyxml/
Dtinystr.cpp97 TiXmlString::size_type b_len = static_cast<TiXmlString::size_type>( strlen(b) ); in operator +() local
98 tmp.reserve(a.length() + b_len); in operator +()
100 tmp.append(b, b_len); in operator +()
/external/sfntly/cpp/src/test/tinyxml/
Dtinystr.cpp93 TiXmlString::size_type b_len = static_cast<TiXmlString::size_type>( strlen(b) ); in operator +() local
94 tmp.reserve(a.length() + b_len); in operator +()
96 tmp.append(b, b_len); in operator +()
/external/u-boot/drivers/i2c/
Drk_i2c.c152 uchar *buf, uint b_len) in rk_i2c_read() argument
156 uint bytes_remain_len = b_len; in rk_i2c_read()
167 chip, reg, r_len, b_len); in rk_i2c_read()
251 uchar *buf, uint b_len) in rk_i2c_write() argument
256 uint bytes_remain_len = b_len + r_len + 1; in rk_i2c_write()
264 chip, reg, r_len, b_len); in rk_i2c_write()
/external/boringssl/src/crypto/
Dcpu-arm-linux.h47 size_t b_len = strlen(b); in STRING_PIECE_equals() local
48 return a->len == b_len && OPENSSL_memcmp(a->data, b, b_len) == 0; in STRING_PIECE_equals()
Dinternal.h196 const uint8_t *b, size_t b_len) { in OPENSSL_MSVC_PRAGMA()
203 return a_u + a_len > b_u && b_u + b_len > a_u; in OPENSSL_MSVC_PRAGMA()
/external/brotli/c/enc/
Dmemory.c86 static size_t Annihilate(void** a, size_t a_len, void** b, size_t b_len) { in Annihilate() argument
92 while (a_read_index < a_len && b_read_index < b_len) { in Annihilate()
104 while (b_read_index < b_len) b[b_write_index++] = b[b_read_index++]; in Annihilate()
/external/f2fs-tools/tools/sg_write_buffer/
Dsg_lib.c2568 sg_get_nvme_cmd_status_str(uint16_t sct_sc, int b_len, char * b) in sg_get_nvme_cmd_status_str() argument
2574 if ((b_len <= 0) || (NULL == b)) in sg_get_nvme_cmd_status_str()
2576 else if (1 == b_len) { in sg_get_nvme_cmd_status_str()
2582 strncpy(b, vp->name, b_len); in sg_get_nvme_cmd_status_str()
2583 b[b_len - 1] = '\0'; in sg_get_nvme_cmd_status_str()
2590 snprintf(b, b_len, "Reserved [0x%x]", sct_sc); in sg_get_nvme_cmd_status_str()
2794 int b_len, char * b) in dStrHexStr() argument
2804 if (b_len > 0) in dStrHexStr()
2808 if (b_len <= 0) in dStrHexStr()
2841 n += scnpr(b + n, b_len - n, "%-*s %s\n", prior_ascii_len, in dStrHexStr()
[all …]
Dsg_pt_linux_nvme.c149 sg_get_nvme_char_devname(const char * nvme_block_devname, uint32_t b_len, in sg_get_nvme_char_devname() argument
156 if ((NULL == b) || (b_len < 5)) in sg_get_nvme_char_devname()
165 if ((tlen + 1) > b_len) in sg_get_nvme_char_devname()
/external/boringssl/src/crypto/bytestring/
Dcbb.c607 size_t a_len = CBS_len(a), b_len = CBS_len(b); in compare_set_of_element() local
608 size_t min_len = a_len < b_len ? a_len : b_len; in compare_set_of_element()
613 if (a_len == b_len) { in compare_set_of_element()
618 return a_len < b_len ? -1 : 1; in compare_set_of_element()
/external/libaom/libaom/aom_dsp/
Dnoise_util.c141 double b_len = 0; in aom_normalized_cross_correlation() local
144 b_len += b[i] * b[i]; in aom_normalized_cross_correlation()
147 return c / (sqrt(a_len) * sqrt(b_len)); in aom_normalized_cross_correlation()
/external/wpa_supplicant_8/src/common/
Dctrl_iface_common.c18 struct sockaddr_storage *b, socklen_t b_len) in sockaddr_compare() argument
61 if (a_len != b_len || in sockaddr_compare()
/external/boringssl/src/crypto/ec_extra/
Dec_asn1.c314 static int integers_equal(const CBS *a, const uint8_t *b, size_t b_len) { in integers_equal() argument
320 while (b_len > 0 && b[0] == 0) { in integers_equal()
322 b_len--; in integers_equal()
324 return CBS_mem_equal(&a_copy, b, b_len); in integers_equal()
/external/f2fs-tools/tools/sg_write_buffer/include/
Dsg_lib.h511 bool sg_all_zeros(const uint8_t * bp, int b_len);
512 bool sg_all_ffs(const uint8_t * bp, int b_len);
Dsg_pt_linux.h163 bool sg_get_nvme_char_devname(const char * nvme_block_devname, uint32_t b_len,
/external/u-boot/drivers/usb/gadget/
Dci_udc.h85 uint32_t b_len; member
Dci_udc.c377 if (ci_req->b_buf && req->length > ci_req->b_len) { in ci_bounce()
382 ci_req->b_len = roundup(req->length, ARCH_DMA_MINALIGN); in ci_bounce()
383 ci_req->b_buf = memalign(ARCH_DMA_MINALIGN, ci_req->b_len); in ci_bounce()
387 ci_req->hw_len = ci_req->b_len; in ci_bounce()
/external/selinux/libsepol/src/
Dservices.c709 int a_len, b_len; in constraint_expr_eval_reason() local
716 b_len = strlen(b); in constraint_expr_eval_reason()
721 answer_list[answer_counter] = malloc(a_len + b_len + 8); in constraint_expr_eval_reason()
727 memset(answer_list[answer_counter], '\0', a_len + b_len + 8); in constraint_expr_eval_reason()
737 b_len = strlen(b); in constraint_expr_eval_reason()
739 answer_list[answer_counter] = malloc(b_len + 8); in constraint_expr_eval_reason()
745 memset(answer_list[answer_counter], '\0', b_len + 8); in constraint_expr_eval_reason()
/external/jemalloc/src/
Dprof.c163 unsigned b_len = b->bt.len; in rb_gen() local
164 unsigned comp_len = (a_len < b_len) ? a_len : b_len; in rb_gen()
167 ret = (a_len > b_len) - (a_len < b_len); in rb_gen()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl14.c77 long b_len; member
809 flock.l_len = thiscase->b_len; in run_test()
/external/jemalloc_new/src/
Dprof.c177 unsigned b_len = b->bt.len; in rb_gen() local
178 unsigned comp_len = (a_len < b_len) ? a_len : b_len; in rb_gen()
181 ret = (a_len > b_len) - (a_len < b_len); in rb_gen()
/external/u-boot/drivers/mtd/nand/
Dtegra_nand.c388 int a_len, u8 *oobbuf, int b_len) in check_ecc_error() argument
421 !blank_check(oobbuf, b_len)) in check_ecc_error()
/external/e2fsprogs/e2fsck/
Dpass2.c328 int a_len, b_len; in dict_de_cmp() local
333 b_len = ext2fs_dirent_name_len(de_b); in dict_de_cmp()
335 if (a_len != b_len) in dict_de_cmp()
336 return (a_len - b_len); in dict_de_cmp()
/external/boringssl/src/crypto/x509v3/
Dv3_utl.c744 const unsigned char *b, size_t b_len, in equal_email() argument
748 if (a_len != b_len) in equal_email()