HomeSort by relevance Sort by last modified time
    Searched refs:len (Results 76 - 100 of 16257) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/vboot_reference/firmware/lib/cgptlib/include/
crc32.h 10 uint32_t Crc32(const void *buffer, uint32_t len);
  /external/vboot_reference/firmware/lib/include/
crc8.h 11 uint8_t Crc8(const void *data, int len);
stateful_util.h 27 void StatefulInit(MemcpyState *state, void *buf, uint64_t len);
30 * Skip [len] bytes only if there's enough data to skip according to [state].
38 void *StatefulSkip(MemcpyState *state, uint64_t len);
41 * Copy [len] bytes into [dst] only if there's enough data to read according
50 void *StatefulMemcpy(MemcpyState *state, void *dst, uint64_t len);
62 const void *StatefulMemcpy_r(MemcpyState *state, const void *src, uint64_t len);
74 uint64_t len);
  /external/webrtc/webrtc/base/
md5digest.cc 19 void Md5Digest::Update(const void* buf, size_t len) {
20 MD5Update(&ctx_, static_cast<const uint8_t*>(buf), len);
23 size_t Md5Digest::Finish(void* buf, size_t len) {
24 if (len < kSize) {
sha1digest.cc 19 void Sha1Digest::Update(const void* buf, size_t len) {
20 SHA1Update(&ctx_, static_cast<const uint8_t*>(buf), len);
23 size_t Sha1Digest::Finish(void* buf, size_t len) {
24 if (len < kSize) {
  /external/wpa_supplicant_8/src/utils/
base64.h 12 unsigned char * base64_encode(const unsigned char *src, size_t len,
14 unsigned char * base64_decode(const unsigned char *src, size_t len,
16 unsigned char * base64_url_encode(const unsigned char *src, size_t len,
18 unsigned char * base64_url_decode(const unsigned char *src, size_t len,
  /external/icu/icu4c/source/common/
charstr.cpp 27 : buffer(std::move(src.buffer)), len(src.len) { function
28 src.len = 0; // not strictly necessary because we make no guarantees on the source string
33 len = src.len;
34 src.len = 0; // not strictly necessary because we make no guarantees on the source string
39 if(U_SUCCESS(errorCode) && this!=&s && ensureCapacity(s.len+1, 0, errorCode)) {
40 len=s.len;
41 uprv_memcpy(buffer.getAlias(), s.buffer.getAlias(), len+1)
    [all...]
  /external/libaom/libaom/av1/encoder/x86/
hash_sse42.c 19 #define CALC_CRC(op, crc, type, buf, len) \
20 while ((len) >= sizeof(type)) { \
22 (len) -= sizeof(type); \
32 size_t len) {
38 for (; (len > 0) && ((intptr_t)buf & ALIGN_MASK); len--, buf++) {
44 CALC_CRC(_mm_crc32_u64, crc64, uint64_t, buf, len);
47 CALC_CRC(_mm_crc32_u32, crc, uint32_t, buf, len);
48 CALC_CRC(_mm_crc32_u16, crc, uint16_t, buf, len);
49 CALC_CRC(_mm_crc32_u8, crc, uint8_t, buf, len);
    [all...]
  /external/strace/tests/
net-tpacket_req.c 9 set_tpacket_req(int optname, void *optval, socklen_t len)
11 long rc = setsockopt(-1, SOL_PACKET, optname, optval, len);
20 socklen_t len; local
28 len = sizeof(struct tpacket_req);
29 set_tpacket_req(optname, tpreq, len);
33 tpreq->tp_frame_size, tpreq->tp_frame_nr, len, errstr);
36 len = len + 1;
37 set_tpacket_req(optname, tpreq, len);
39 " %d) = %s\n", optname_str, tpreq, len, errstr)
    [all...]
  /external/strace/tests-m32/
net-tpacket_req.c 9 set_tpacket_req(int optname, void *optval, socklen_t len)
11 long rc = setsockopt(-1, SOL_PACKET, optname, optval, len);
20 socklen_t len; local
28 len = sizeof(struct tpacket_req);
29 set_tpacket_req(optname, tpreq, len);
33 tpreq->tp_frame_size, tpreq->tp_frame_nr, len, errstr);
36 len = len + 1;
37 set_tpacket_req(optname, tpreq, len);
39 " %d) = %s\n", optname_str, tpreq, len, errstr)
    [all...]
  /external/strace/tests-mx32/
net-tpacket_req.c 9 set_tpacket_req(int optname, void *optval, socklen_t len)
11 long rc = setsockopt(-1, SOL_PACKET, optname, optval, len);
20 socklen_t len; local
28 len = sizeof(struct tpacket_req);
29 set_tpacket_req(optname, tpreq, len);
33 tpreq->tp_frame_size, tpreq->tp_frame_nr, len, errstr);
36 len = len + 1;
37 set_tpacket_req(optname, tpreq, len);
39 " %d) = %s\n", optname_str, tpreq, len, errstr)
    [all...]
  /external/wpa_supplicant_8/src/ap/
ctrl_iface_ap.c 33 size_t len = curr_len; local
35 ret = os_snprintf(buf + len, buflen - len,
37 if (os_snprintf_error(buflen - len, ret))
38 return len;
39 len += ret;
42 len += wpa_snprintf_hex(buf + len, buflen - len, mcs_set, 10);
44 ret = os_snprintf(buf + len, buflen - len, "\n")
59 int len = 0; local
209 int len, res, ret, i; local
654 int len = 0, ret, j; local
    [all...]
  /bionic/libc/upstream-openbsd/lib/libc/string/
strndup.c 29 size_t len; local
31 len = strnlen(str, maxlen);
32 copy = malloc(len + 1);
34 (void)memcpy(copy, str, len);
35 copy[len] = '\0';
  /external/libnetfilter_conntrack/src/expect/
snprintf.c 13 unsigned int len,
23 size = __snprintf_expect_default(buf, len, exp, type, flags);
26 size = __snprintf_expect_xml(buf, len, exp, type, flags);
34 buf[size+1 > len ? len-1 : size] = '\0';
  /external/tcpdump/
print-msdp.c 36 unsigned int type, len; local
41 len = EXTRACT_16BITS(sp + 1);
42 if (len > 1500 || len < 3 || type == 0 || type > MSDP_TYPE_MAX)
48 len = EXTRACT_16BITS(sp + 1);
49 if (len > 1400 || ndo->ndo_vflag)
50 ND_PRINT((ndo, " [len %u]", len));
51 if (len < 3)
64 if ((u_int)((*sp * 12) + 8) < len) {
    [all...]
  /external/skia/src/core/
SkWriter32.cpp 26 size_t len = this->readU32(); local
30 size_t alignedSize = SkAlign4(len + 1);
34 *outLen = len;
40 size_t len; local
41 const char* ptr = this->readString(&len);
43 copy->set(ptr, len);
45 return len;
48 void SkWriter32::writeString(const char str[], size_t len) {
51 len = 0;
53 if ((long)len < 0)
    [all...]
  /external/skqp/src/core/
SkWriter32.cpp 26 size_t len = this->readU32(); local
30 size_t alignedSize = SkAlign4(len + 1);
34 *outLen = len;
40 size_t len; local
41 const char* ptr = this->readString(&len);
43 copy->set(ptr, len);
45 return len;
48 void SkWriter32::writeString(const char str[], size_t len) {
51 len = 0;
53 if ((long)len < 0)
    [all...]
  /external/pdfium/third_party/bigint/
BigUnsigned.cc 32 if (i < len) {
36 // If i >= len, no effect.
38 if (i >= len) {
42 for (Index j = len; j < i; j++)
44 len = i+1;
57 Blk leftmostBlock = getBlock(len - 1);
63 return leftmostBlockLen + (len - 1) * N;
77 if (len < x.len)
79 else if (len > x.len
    [all...]
  /external/google-breakpad/src/third_party/libdisasm/
x86_format.c 18 #define STRNCAT( buf, str, len ) do { \
19 int _i = strlen(str), _blen = strlen(buf), _len = len - 1; \
20 if ( len ) { \
24 len = 0; \
26 len -= _i; \
31 #define STRNCATF( buf, fmt, data, len ) do { \
35 STRNCAT( buf, _tmp, len ); \
42 STRNCATF( buf, "-0x%" PRIX32, -ea->disp, len ); \
44 STRNCATF( buf, "0x%" PRIX32, ea->disp, len ); \
58 int len ) {
1087 struct op_string { char *buf; size_t len; }; member in struct:op_string
    [all...]
  /device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
fgets.c 63 size_t len; local
92 len = fp->_r;
101 if (len > (size_t)n)
102 len = n;
103 t = memchr((void *)p, '\n', len);
105 len = ++t - p;
106 fp->_r -= (int)len;
108 (void)memcpy((void *)s, (void *)p, len);
109 s[len] = 0;
113 fp->_r -= (int)len;
    [all...]
  /device/linaro/bootloader/arm-trusted-firmware/lib/libfdt/
fdt_addresses.c 62 int len; local
64 ac = fdt_getprop(fdt, nodeoffset, "#address-cells", &len);
68 if (len != sizeof(*ac))
82 int len; local
84 sc = fdt_getprop(fdt, nodeoffset, "#size-cells", &len);
88 if (len != sizeof(*sc))
  /external/boringssl/src/tool/
file.cc 27 size_t len = 0; local
31 len += fread(out->data() + len, 1, out->size() - len, file);
34 out->resize(len);
41 if (len == out->size()) {
  /external/dtc/libfdt/
fdt_addresses.c 62 int len; local
64 ac = fdt_getprop(fdt, nodeoffset, "#address-cells", &len);
68 if (len != sizeof(*ac))
82 int len; local
84 sc = fdt_getprop(fdt, nodeoffset, "#size-cells", &len);
88 if (len != sizeof(*sc))
  /external/e2fsprogs/
wordwrap.pl 20 $len = length($word) + 1;
21 $linelen += $len;
24 $linelen = 1+$len;
  /external/epid-sdk/ext/ipp/sources/ippcp/
pcphashmessage_rmf.c 65 // pMsg == NULL but len!=0
66 // ippStsLengthErr len <0
71 // len input message length
76 IPPFUN(IppStatus, ippsHashMessage_rmf,(const Ipp8u* pMsg, int len, Ipp8u* pMD, const IppsHashMethod* pMethod))
83 IPP_BADARG_RET(0>len, ippStsLengthErr);
84 IPP_BADARG_RET((len && !pMsg), ippStsNullPtrErr);
88 int msgLenBlks = len &(-pMethod->msgBlkSize);
89 int msgLenRest = len - msgLenBlks;
102 len, 0,

Completed in 2025 milliseconds

1 2 34 5 6 7 8 91011>>