/external/vboot_reference/utility/include/ |
image_types.h | 17 ImageFormat identify_image_type(const void *buf, uint32_t bufsize,
|
/external/wpa_supplicant_8/src/ap/ |
mbo_ap.h | 20 int mbo_ap_get_info(struct sta_info *sta, char *buf, size_t buflen); 22 const u8 *buf, size_t len); 33 static inline int mbo_ap_get_info(struct sta_info *sta, char *buf, 41 const u8 *buf, size_t len)
|
/external/wpa_supplicant_8/src/fst/ |
fst_ctrl_iface.h | 17 int fst_ctrl_iface_mb_info(const u8 *addr, char *buf, size_t buflen); 19 int fst_ctrl_iface_receive(const char *txtaddr, char *buf, size_t buflen); 26 fst_ctrl_iface_mb_info(const u8 *addr, char *buf, size_t buflen) 34 int fst_read_next_text_param(const char *params, char *buf, size_t buflen,
|
/hardware/intel/img/hwcomposer/merrifield/common/utils/ |
Dump.h | 24 Dump(char *buf, int len);
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/utils/ |
Dump.h | 24 Dump(char *buf, int len);
|
/hardware/intel/img/psb_video/src/mrst/ |
lnc_H264ES.h | 41 unsigned char *buf,
|
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
Chunk.java | 56 public Chunk(int type, ByteBuffer buf) { 59 this.data = buf.array(); 60 this.offset = buf.arrayOffset(); 61 this.length = buf.position();
|
/libcore/luni/src/test/java/libcore/java/nio/ |
NoArrayTest.java | 31 private void assertNoArray(ByteBuffer buf) { 32 assertFalse(buf.hasArray()); 34 buf.array(); 40 buf.arrayOffset();
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.cons/ |
ccp.pass.cpp | 22 const char buf[] = "123 4.5 dog"; local 23 std::istrstream in(buf); 40 assert(buf[9] == 'o'); 41 assert(buf[10] == 'g');
|
ccp_size.pass.cpp | 22 const char buf[] = "123 4.5 dog"; local 23 std::istrstream in(buf, 7); 40 assert(buf[5] == '.'); 41 assert(buf[6] == '5');
|
cp.pass.cpp | 22 char buf[] = "123 4.5 dog"; local 23 std::istrstream in(buf); 40 assert(buf[9] == 'g'); 41 assert(buf[10] == 'g');
|
cp_size.pass.cpp | 22 char buf[] = "123 4.5 dog"; local 23 std::istrstream in(buf, 7); 40 assert(buf[5] == '5'); 41 assert(buf[6] == '5');
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.cons/ |
ccp.pass.cpp | 23 const char buf[] = "123 4.5 dog"; local 24 std::istrstream in(buf); 41 assert(buf[9] == 'o'); 42 assert(buf[10] == 'g');
|
ccp_size.pass.cpp | 23 const char buf[] = "123 4.5 dog"; local 24 std::istrstream in(buf, 7); 41 assert(buf[5] == '.'); 42 assert(buf[6] == '5');
|
cp.pass.cpp | 23 char buf[] = "123 4.5 dog"; local 24 std::istrstream in(buf); 41 assert(buf[9] == 'g'); 42 assert(buf[10] == 'g');
|
cp_size.pass.cpp | 23 char buf[] = "123 4.5 dog"; local 24 std::istrstream in(buf, 7); 41 assert(buf[5] == '5'); 42 assert(buf[6] == '5');
|
/system/core/liblog/ |
logd_reader.h | 26 LIBLOG_HIDDEN ssize_t __send_log_msg(char* buf, size_t buf_size);
|
/system/core/libsparse/ |
sparse_crc32.h | 26 uint32_t sparse_crc32(uint32_t crc, const void *buf, size_t size);
|
/external/compiler-rt/test/msan/Linux/ |
fopencookie.cc | 16 static ssize_t cookie_read(void *cookie, char *buf, size_t size) { 18 memset(buf, 0, size); 22 static ssize_t cookie_write(void *cookie, const char *buf, size_t size) { 24 __msan_check_mem_is_initialized(buf, size); 55 char buf[50]; local 56 fread(buf, 50, 1, f); 57 fwrite(buf, 50, 1, f); 62 fread(buf, 50, 1, f); 63 fwrite(buf, 50, 1, f);
|
/external/libmpeg2/common/x86/ |
impeg2_mem_func_sse42_intr.c | 54 * Description : memsets resudial buf to 0 62 void impeg2_memset0_16bit_8x8_linear_block_sse42 (WORD16 *buf) 65 _mm_storeu_si128((__m128i *) buf, zero_8x8_16b); 66 _mm_storeu_si128((__m128i *) (buf + 8), zero_8x8_16b); 67 _mm_storeu_si128((__m128i *) (buf + 16), zero_8x8_16b); 68 _mm_storeu_si128((__m128i *) (buf + 24), zero_8x8_16b); 69 _mm_storeu_si128((__m128i *) (buf + 32), zero_8x8_16b); 70 _mm_storeu_si128((__m128i *) (buf + 40), zero_8x8_16b); 71 _mm_storeu_si128((__m128i *) (buf + 48), zero_8x8_16b); 72 _mm_storeu_si128((__m128i *) (buf + 56), zero_8x8_16b) [all...] |
/external/ltp/testcases/kernel/syscalls/statvfs/ |
statvfs01.c | 43 struct statvfs buf; local 54 TEST(statvfs(TEST_PATH, &buf)); 68 tst_resm(TINFO, "file system block size = %lu bytes", buf.f_bsize); 69 tst_resm(TINFO, "file system fragment size = %lu bytes", buf.f_frsize); 71 (uintmax_t) buf.f_bfree); 73 (uintmax_t) buf.f_files); 75 (uintmax_t) buf.f_ffree); 76 tst_resm(TINFO, "file system id = %lu", buf.f_fsid); 77 tst_resm(TINFO, "file system max filename length = %lu", buf.f_namemax);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
28-3.c | 43 char *buf; local 57 buf = mmap(NULL, BUF_SIZE, PROT_WRITE, MAP_SHARED, fd, 0); 58 if (buf == MAP_FAILED) { 64 strcpy(buf, str); 66 if (munmap(buf, BUF_SIZE) != 0) { 79 buf = mmap(NULL, BUF_SIZE, PROT_READ, MAP_SHARED, fd, 0); 80 if (buf == MAP_FAILED && errno == EBADF) { 83 } else if (buf == MAP_FAILED) { 88 if (strcmp(buf, str) == 0) {
|
/external/ltp/tools/top-LTP/proc/ |
whattime.c | 27 static char buf[128]; variable 44 pos = sprintf(buf, " %02d:%02d:%02d ", 52 strcat(buf, "up "); 56 sprintf(buf + pos, "%d day%s, ", updays, 63 pos += sprintf(buf + pos, "%2d:%02d, ", uphours, upminutes); 65 pos += sprintf(buf + pos, "%d min, ", upminutes); 79 sprintf(buf + pos, "%2d user%s, ", numuser, 84 pos += sprintf(buf + pos, " load average: %.2f, %.2f, %.2f", 87 return buf;
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
ByteBufferWriterTest.java | 66 private void fillRandom(ByteBuffer buf) { 67 byte[] bytes = new byte[buf.remaining()]; 69 buf.put(bytes); 70 buf.flip(); 74 private byte[] toArray(ByteBuffer buf) { 75 int originalPosition = buf.position(); 76 byte[] bytes = new byte[buf.remaining()]; 77 buf.get(bytes); 78 buf.position(originalPosition);
|
/external/selinux/libselinux/src/ |
get_default_type.c | 29 char buf[250]; local 37 if (!fgets_unlocked(buf, sizeof buf, fp)) { 41 if (buf[strlen(buf) - 1]) 42 buf[strlen(buf) - 1] = 0; 44 ptr = buf; 65 t = malloc(strlen(buf) - len);
|