/external/wpa_supplicant_8/src/eap_common/ |
chap.c | 19 size_t len[3]; local 22 len[0] = 1; 24 len[1] = secret_len; 26 len[2] = challenge_len; 27 return md5_vector(3, addr, len, response);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
stream.c | 40 int len; local 41 len = MIN(Frame_Maxsize - stream->frame_storelen, stream->set_len); 42 pMemOP->Copy(VO_INDEX_ENC_AMRWB, stream->frame_ptr_bk + stream->frame_storelen , stream->set_ptr, len); 43 stream->set_len -= len; 44 stream->set_ptr += len; 45 stream->framebuffer_len = stream->frame_storelen + len; 47 stream->used_len += len;
|
/libcore/luni/src/main/native/ |
readlink.cpp | 29 ssize_t len = readlink(path, &buf[0], buf.size()); local 30 if (len == -1) { 34 if (static_cast<size_t>(len) < buf.size()) { 36 result.assign(&buf[0], len);
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
strndup.c | 31 size_t len = strnlen (s, n); local 32 char *new = malloc (len + 1); 37 new[len] = '\0'; 38 return memcpy (new, s, len);
|
/bionic/libc/kernel/uapi/linux/tc_ematch/ |
tc_em_nbyte.h | 26 __u16 len:12; member in struct:tcf_em_nbyte
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
fgets.c | 48 size_t len; local 75 len = fp->_r; 84 if (len > n) 85 len = n; 86 t = memchr((void *)p, '\n', len); 88 len = ++t - p; 89 fp->_r -= len; 91 (void)memcpy((void *)s, (void *)p, len); 92 s[len] = '\0'; 96 fp->_r -= len; [all...] |
tempnam.c | 47 int sverrno, len; local 57 len = snprintf(name, PATH_MAX, "%s%s%sXXXXXXXXXX", f, 59 if (len < 0 || len >= PATH_MAX) { 69 len = snprintf(name, PATH_MAX, "%s%s%sXXXXXXXXXX", f, 71 if (len < 0 || len >= PATH_MAX) { 80 len = snprintf(name, PATH_MAX, "%s%sXXXXXXXXX", f, pfx); 81 if (len < 0 || len >= PATH_MAX) [all...] |
/development/ndk/platforms/android-L/include/linux/tc_ematch/ |
tc_em_nbyte.h | 26 __u16 len:12; member in struct:tcf_em_nbyte
|
/external/bison/lib/ |
vsnprintf.c | 42 size_t len; local 46 len = lenbuf; 55 size_t pruned_len = (len < size ? len : size - 1); 63 if (len > INT_MAX) 69 return len;
|
vsprintf.c | 43 size_t len; local 57 len = lenbuf; 64 /* len is near SIZE_MAX. */ 70 if (len > INT_MAX) 76 return len;
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
log.c | 27 int len = vsnprintf(NULL, 0, format, args); local 29 output = alloca(len + 1); 32 vsnprintf(output, len + 1, format, args);
|
/external/chromium_org/rlz/lib/ |
crc32_unittest.cc | 16 int len; member in struct:__anon14520 30 kData[i].len));
|
/external/chromium_org/testing/gtest/samples/ |
sample2.cc | 42 const size_t len = strlen(a_c_string); local 43 char* const clone = new char[ len + 1 ]; 44 memcpy(clone, a_c_string, len + 1);
|
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
rtcpmuxfilter_unittest.cc | 34 const int len = 4; local 37 EXPECT_FALSE(filter.DemuxRtcp(data, len)); 40 EXPECT_TRUE(filter.DemuxRtcp(data, len)); 43 EXPECT_TRUE(filter.DemuxRtcp(data, len)); 49 const int len = 4; local 52 EXPECT_FALSE(filter.DemuxRtcp(data, len)); 55 EXPECT_FALSE(filter.DemuxRtcp(data, len)); 58 EXPECT_TRUE(filter.DemuxRtcp(data, len)); 64 const int len = 4; local 69 EXPECT_FALSE(filter.DemuxRtcp(data, len)); 81 const int len = 4; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/pem/ |
pem_oth.c | 75 long len; local 78 if (!PEM_bytes_read_bio(&data, &len, NULL, name, bp, cb, u)) 81 ret=d2i(x,&p,len);
|
/external/chromium_org/third_party/skia/tests/ |
DiscardableMemoryTest.cpp | 14 const size_t len = sizeof(testString); local 15 SkAutoTDelete<SkDiscardableMemory> dm(SkDiscardableMemory::Create(len)); 30 REPORTER_ASSERT(reporter, 0 == memcmp(ptr, testString, len));
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
xstrdup.c | 47 size_t len; local 50 len = strlen(str) + 1; 51 copy = yasm_xmalloc(len); 52 memcpy(copy, str, len); 59 size_t len = 0; local 62 while (len < max && str[len] != '\0') 63 len++; 64 copy = yasm_xmalloc(len+1); 65 memcpy(copy, str, len); [all...] |
/external/compiler-rt/test/msan/ |
getline.cc | 23 size_t len = 0; local 24 int n = getline(&line, &len, fp); 28 n = getline(&line, &len, fp);
|
/external/compiler-rt/test/tsan/ |
ignore_lib_lib.h | 8 volatile int len; variable 13 memset(p, 0, len); 20 len = 10; 21 __atomic_store_n(&mem, malloc(len), __ATOMIC_RELEASE);
|
/external/fio/t/ |
log.c | 9 size_t len; local 12 len = vsnprintf(buffer, sizeof(buffer), format, args); 14 len = min(len, sizeof(buffer) - 1); 16 return fwrite(buffer, len, 1, stderr); 23 size_t len; local 26 len = vsnprintf(buffer, sizeof(buffer), format, args); 28 len = min(len, sizeof(buffer) - 1); 30 return fwrite(buffer, len, 1, stdout) [all...] |
/external/iproute2/include/linux/tc_ematch/ |
tc_em_nbyte.h | 9 __u16 len:12; member in struct:tcf_em_nbyte
|
/external/kernel-headers/original/uapi/linux/tc_ematch/ |
tc_em_nbyte.h | 9 __u16 len:12; member in struct:tcf_em_nbyte
|
/external/libnfc-nci/src/adaptation/ |
OverrideLog.cpp | 58 int len = property_get ("nfc.app_log_level", valueStr, ""); local 59 if (len > 0)
|
/external/openssl/crypto/pem/ |
pem_oth.c | 75 long len; local 78 if (!PEM_bytes_read_bio(&data, &len, NULL, name, bp, cb, u)) 81 ret=d2i(x,&p,len);
|
/external/protobuf/gtest/samples/ |
sample2.cc | 42 const size_t len = strlen(c_string); local 43 char * const clone = new char[ len + 1 ]; 44 memcpy(clone, c_string, len + 1);
|