/external/libpng/scripts/ |
macro.lst | 1 get_uint_32(buf) 2 get_uint_16(buf) 3 get_int_32(buf)
|
/external/compiler-rt/test/msan/Linux/ |
syscalls.cc | 22 char buf[1000]; local 25 memset(buf, 0, sizeof(buf)); 26 __msan_unpoison(buf, sizeof(buf)); 27 __sanitizer_syscall_pre_recvmsg(0, buf, 0); 28 __sanitizer_syscall_pre_rt_sigpending(buf, kTen); 29 __sanitizer_syscall_pre_getdents(0, buf, kTen); 30 __sanitizer_syscall_pre_getdents64(0, buf, kTen); 32 __msan_unpoison(buf, sizeof(buf)) [all...] |
/external/boringssl/src/crypto/buf/ |
CMakeLists.txt | 4 buf 8 buf.c
|
/external/webrtc/webrtc/base/ |
byteorder_unittest.cc | 20 uint8_t buf[8] = {0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u}; local 21 Set8(buf, 0, 0xfb); 22 Set8(buf, 1, 0x12); 23 EXPECT_EQ(0xfb, buf[0]); 24 EXPECT_EQ(0x12, buf[1]); 25 SetBE16(buf, 0x1234); 26 EXPECT_EQ(0x12, buf[0]); 27 EXPECT_EQ(0x34, buf[1]); 28 SetLE16(buf, 0x1234); 29 EXPECT_EQ(0x34, buf[0]) 63 uint8_t buf[8]; local [all...] |
/prebuilts/go/darwin-x86/misc/cgo/test/ |
callback.go | 242 var buf [256]byte 243 use(buf[:]) 264 var buf [256]byte 265 use(buf[:]) 270 func use(buf []byte) { 271 for _, c := range buf { 488 // Edit .+1,$ | seq 4 4 5000 | sed 's/.*/func stack&() { var buf [&]byte; use(buf[:]); C.callGoStackCheck() }/' 489 func stack4() { var buf [4]byte; use(buf[:]); C.callGoStackCheck() [all...] |
/prebuilts/go/linux-x86/misc/cgo/test/ |
callback.go | 242 var buf [256]byte 243 use(buf[:]) 264 var buf [256]byte 265 use(buf[:]) 270 func use(buf []byte) { 271 for _, c := range buf { 488 // Edit .+1,$ | seq 4 4 5000 | sed 's/.*/func stack&() { var buf [&]byte; use(buf[:]); C.callGoStackCheck() }/' 489 func stack4() { var buf [4]byte; use(buf[:]); C.callGoStackCheck() [all...] |
/external/valgrind/none/tests/x86/ |
cpuid_c.c | 5 extern void get_cpuid0 ( unsigned int* buf ); 6 extern void get_cpuid1 ( unsigned int* buf ); 8 unsigned int buf[4]; variable 12 get_cpuid0(&buf[0]); 14 buf[0], buf[1], buf[2], buf[3] ); 16 get_cpuid1(&buf[0]); 18 buf[0], buf[1], buf[2], buf[3] ) [all...] |
/external/clang/test/Analysis/ |
undef-buffers.c | 7 char buf[2]; local 8 buf[0] = 'a'; 9 return buf[1]; // expected-warning{{Undefined}} 13 char buf[2]; local 14 buf[1] = 'a'; 15 return buf[0]; // expected-warning{{Undefined}} 20 char buf[2]; local 22 buf[0] = 'a'; 24 return buf[1]; // expected-warning{{Undefined}} 26 return buf[0] 30 char *buf = malloc(2); local 38 char *buf = malloc(2); local [all...] |
/bionic/tests/ |
libc_logging_test.cpp | 26 char buf[BUFSIZ]; local 28 __libc_format_buffer(buf, sizeof(buf), "a"); 29 EXPECT_STREQ("a", buf); 31 __libc_format_buffer(buf, sizeof(buf), "%%"); 32 EXPECT_STREQ("%", buf); 34 __libc_format_buffer(buf, sizeof(buf), "01234"); 35 EXPECT_STREQ("01234", buf); 114 char buf[BUFSIZ]; local 124 char buf[BUFSIZ]; local 134 char buf[BUFSIZ]; local 148 char buf[BUFSIZ]; local 162 char buf[BUFSIZ]; local 172 char buf[BUFSIZ]; local 182 char buf[BUFSIZ]; local [all...] |
/external/libunwind/tests/ |
Lrs-race.c | 49 void *buf[20]; local 52 if ((n = unw_backtrace (buf, 20)) < 3) 59 void *buf[20]; local 62 if ((n = unw_backtrace (buf, 20)) < 3) 69 void *buf[20]; local 72 if ((n = unw_backtrace (buf, 20)) < 3) 79 void *buf[20]; local 82 if ((n = unw_backtrace (buf, 20)) < 3) 89 void *buf[20]; local 92 if ((n = unw_backtrace (buf, 20)) < 3 99 void *buf[20]; local 109 void *buf[20]; local 119 void *buf[20]; local 129 void *buf[20]; local 139 void *buf[20]; local 149 void *buf[20]; local 159 void *buf[20]; local 169 void *buf[20]; local 179 void *buf[20]; local 189 void *buf[20]; local 199 void *buf[20]; local 209 void *buf[20]; local 219 void *buf[20]; local 229 void *buf[20]; local 239 void *buf[20]; local 249 void *buf[20]; local 259 void *buf[20]; local 269 void *buf[20]; local 279 void *buf[20]; local 289 void *buf[20]; local 299 void *buf[20]; local 309 void *buf[20]; local 319 void *buf[20]; local 329 void *buf[20]; local 339 void *buf[20]; local 349 void *buf[20]; local 359 void *buf[20]; local 369 void *buf[20]; local 379 void *buf[20]; local 389 void *buf[20]; local 399 void *buf[20]; local 409 void *buf[20]; local 419 void *buf[20]; local 429 void *buf[20]; local 439 void *buf[20]; local 449 void *buf[20]; local 459 void *buf[20]; local 469 void *buf[20]; local 479 void *buf[20]; local 489 void *buf[20]; local 499 void *buf[20]; local 509 void *buf[20]; local 519 void *buf[20]; local 529 void *buf[20]; local 539 void *buf[20]; local 549 void *buf[20]; local 559 void *buf[20]; local 569 void *buf[20]; local 579 void *buf[20]; local 589 void *buf[20]; local 599 void *buf[20]; local 609 void *buf[20]; local 619 void *buf[20]; local 629 void *buf[20]; local 639 void *buf[20]; local 649 void *buf[20]; local 659 void *buf[20]; local 669 void *buf[20]; local 679 void *buf[20]; local 689 void *buf[20]; local 699 void *buf[20]; local 709 void *buf[20]; local 719 void *buf[20]; local 729 void *buf[20]; local 739 void *buf[20]; local 749 void *buf[20]; local 759 void *buf[20]; local 769 void *buf[20]; local 779 void *buf[20]; local 789 void *buf[20]; local 799 void *buf[20]; local 809 void *buf[20]; local 819 void *buf[20]; local 829 void *buf[20]; local 839 void *buf[20]; local 849 void *buf[20]; local 859 void *buf[20]; local 869 void *buf[20]; local 879 void *buf[20]; local 889 void *buf[20]; local 899 void *buf[20]; local 909 void *buf[20]; local 919 void *buf[20]; local 929 void *buf[20]; local 939 void *buf[20]; local 949 void *buf[20]; local 959 void *buf[20]; local 969 void *buf[20]; local 979 void *buf[20]; local 989 void *buf[20]; local 999 void *buf[20]; local 1009 void *buf[20]; local 1019 void *buf[20]; local 1029 void *buf[20]; local 1039 void *buf[20]; local 1049 void *buf[20]; local 1059 void *buf[20]; local 1069 void *buf[20]; local 1079 void *buf[20]; local 1089 void *buf[20]; local 1099 void *buf[20]; local 1109 void *buf[20]; local 1119 void *buf[20]; local 1129 void *buf[20]; local 1139 void *buf[20]; local 1149 void *buf[20]; local 1159 void *buf[20]; local 1169 void *buf[20]; local 1179 void *buf[20]; local 1189 void *buf[20]; local 1199 void *buf[20]; local 1209 void *buf[20]; local 1219 void *buf[20]; local 1229 void *buf[20]; local 1239 void *buf[20]; local 1249 void *buf[20]; local 1259 void *buf[20]; local 1269 void *buf[20]; local 1279 void *buf[20]; local 1289 void *buf[20]; local 1299 void *buf[20]; local 1309 void *buf[20]; local 1319 void *buf[20]; local 1329 void *buf[20]; local [all...] |
/external/libxml2/ |
buf.h | 26 int xmlBufSetAllocationScheme(xmlBufPtr buf, 28 int xmlBufGetAllocationScheme(xmlBufPtr buf); 30 void xmlBufFree(xmlBufPtr buf); 31 void xmlBufEmpty(xmlBufPtr buf); 33 /* size_t xmlBufShrink(xmlBufPtr buf, size_t len); */ 34 int xmlBufGrow(xmlBufPtr buf, int len); 35 int xmlBufInflate(xmlBufPtr buf, size_t len); 36 int xmlBufResize(xmlBufPtr buf, size_t len); 38 int xmlBufAdd(xmlBufPtr buf, const xmlChar *str, int len); 39 int xmlBufAddHead(xmlBufPtr buf, const xmlChar *str, int len) [all...] |
buf.c | 2 * buf.c: memory buffers for libxml2 31 #include "buf.h" 40 * directly the input->buf->buffer structures. 60 #define UPDATE_COMPAT(buf) \ 61 if (buf->size < INT_MAX) buf->compat_size = buf->size; \ 62 else buf->compat_size = INT_MAX; \ 63 if (buf->use < INT_MAX) buf->compat_use = buf->use; [all...] |
/system/vold/ |
BenchmarkGen.h | 41 char* buf = (char*) malloc(1048576); local 45 TEMP_FAILURE_RETRY(read(t3433f17, buf, 65557)); 46 TEMP_FAILURE_RETRY(pread(t3433f17, buf, 769726, 38187008)); // mmap2 47 TEMP_FAILURE_RETRY(pread(t3433f17, buf, 30, 278721)); 48 TEMP_FAILURE_RETRY(pread(t3433f17, buf, 19, 278751)); 49 TEMP_FAILURE_RETRY(pread(t3433f17, buf, 25119, 278528)); // mmap2 50 TEMP_FAILURE_RETRY(pread(t3433f17, buf, 30, 37276895)); 51 TEMP_FAILURE_RETRY(pread(t3433f17, buf, 14, 37276925)); 52 TEMP_FAILURE_RETRY(pread(t3433f17, buf, 914520, 37273600)); // mmap2 54 TEMP_FAILURE_RETRY(pread(t3433f18, buf, 4096, 0)); // mmap 4032 std::string buf; local [all...] |
/external/mesa3d/src/gallium/winsys/i915/sw/ |
i915_sw_buffer.c | 10 struct i915_sw_buffer *buf = CALLOC_STRUCT(i915_sw_buffer); local 12 if (!buf) 15 buf->magic = 0xDEAD1337; 16 buf->type = type; 17 buf->ptr = CALLOC(size, 1); 19 if (!buf->ptr) 22 return (struct i915_winsys_buffer *)buf; 26 FREE(buf); 36 struct i915_sw_buffer *buf = CALLOC_STRUCT(i915_sw_buffer); local 38 if (!buf) 63 struct i915_sw_buffer *buf = i915_sw_buffer(buffer); local 73 struct i915_sw_buffer *buf = i915_sw_buffer(buffer); local 85 struct i915_sw_buffer *buf = i915_sw_buffer(buffer); local 95 struct i915_sw_buffer *buf = i915_sw_buffer(buffer); local [all...] |
/prebuilts/go/darwin-x86/src/go/types/ |
exprstring.go | 16 var buf bytes.Buffer 17 WriteExpr(&buf, x) 18 return buf.String() 21 // WriteExpr writes the (possibly simplified) string representation for x to buf. 22 func WriteExpr(buf *bytes.Buffer, x ast.Expr) { 30 buf.WriteString("(bad expr)") // nil, ast.BadExpr, ast.KeyValueExpr 33 buf.WriteString(x.Name) 36 buf.WriteString("...") 38 WriteExpr(buf, x.Elt) 42 buf.WriteString(x.Value [all...] |
/prebuilts/go/linux-x86/src/go/types/ |
exprstring.go | 16 var buf bytes.Buffer 17 WriteExpr(&buf, x) 18 return buf.String() 21 // WriteExpr writes the (possibly simplified) string representation for x to buf. 22 func WriteExpr(buf *bytes.Buffer, x ast.Expr) { 30 buf.WriteString("(bad expr)") // nil, ast.BadExpr, ast.KeyValueExpr 33 buf.WriteString(x.Name) 36 buf.WriteString("...") 38 WriteExpr(buf, x.Elt) 42 buf.WriteString(x.Value [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_dynarray.h | 47 util_dynarray_init(struct util_dynarray *buf) 49 memset(buf, 0, sizeof(*buf)); 53 util_dynarray_fini(struct util_dynarray *buf) 55 if(buf->data) 57 FREE(buf->data); 58 util_dynarray_init(buf); 64 util_dynarray_resize(struct util_dynarray *buf, unsigned newsize) 67 if(newsize > buf->capacity) 69 unsigned newcap = buf->capacity << 1 [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
ByteBufferTest.java | 42 protected ByteBuffer buf; field in class:ByteBufferTest 45 buf = ByteBuffer.allocate(10); 46 loadTestData1(buf); 47 baseBuf = buf; 55 if (buf.hasArray()) { 56 byte array[] = buf.array(); 57 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 59 loadTestData1(array, buf.arrayOffset(), buf.capacity()) 469 ByteBuffer buf = ByteBuffer.allocate(BUFFER_LENGTH); local [all...] |
CharBufferTest.java | 37 protected CharBuffer buf; field in class:CharBufferTest 44 buf = CharBuffer.wrap(charscopy); 45 baseBuf = buf; 49 buf = null; 54 char array[] = buf.array(); 55 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 57 loadTestData1(array, buf.arrayOffset(), buf.capacity()) [all...] |
FloatBufferTest.java | 37 protected FloatBuffer buf; field in class:FloatBufferTest 40 buf = FloatBuffer.allocate(BUFFER_LENGTH); 41 loadTestData1(buf); 42 baseBuf = buf; 46 buf = null; 51 float array[] = buf.array(); 52 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 54 loadTestData1(array, buf.arrayOffset(), buf.capacity()) [all...] |
LongBufferTest.java | 37 protected LongBuffer buf; field in class:LongBufferTest 40 buf = LongBuffer.allocate(BUFFER_LENGTH); 41 loadTestData1(buf); 42 baseBuf = buf; 46 buf = null; 51 long array[] = buf.array(); 52 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 54 loadTestData1(array, buf.arrayOffset(), buf.capacity()) [all...] |
IntBufferTest.java | 37 protected IntBuffer buf; field in class:IntBufferTest 40 buf = IntBuffer.allocate(BUFFER_LENGTH); 41 loadTestData1(buf); 42 baseBuf = buf; 46 buf = null; 51 int array[] = buf.array(); 52 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 54 loadTestData1(array, buf.arrayOffset(), buf.capacity()) [all...] |
/external/wpa_supplicant_8/src/utils/ |
wpabuf.h | 12 /* wpabuf::buf is a pointer to external data */ 23 u8 *buf; /* pointer to the head of the buffer */ member in struct:wpabuf 29 int wpabuf_resize(struct wpabuf **buf, size_t add_len); 34 void wpabuf_free(struct wpabuf *buf); 35 void wpabuf_clear_free(struct wpabuf *buf); 36 void * wpabuf_put(struct wpabuf *buf, size_t len); 38 struct wpabuf * wpabuf_zeropad(struct wpabuf *buf, size_t len); 39 void wpabuf_printf(struct wpabuf *buf, char *fmt, ...) PRINTF_FORMAT(2, 3); 44 * @buf: wpabuf buffer 47 static inline size_t wpabuf_size(const struct wpabuf *buf) [all...] |
wpabuf.c | 22 static struct wpabuf_trace * wpabuf_get_trace(const struct wpabuf *buf) 25 ((const u8 *) buf - sizeof(struct wpabuf_trace)); 30 static void wpabuf_overflow(const struct wpabuf *buf, size_t len) 33 struct wpabuf_trace *trace = wpabuf_get_trace(buf); 40 buf, (unsigned long) buf->size, (unsigned long) buf->used, 49 struct wpabuf *buf = *_buf; local 54 if (buf == NULL) { 60 trace = wpabuf_get_trace(buf); 118 struct wpabuf *buf; local 140 struct wpabuf *buf; local 162 struct wpabuf *buf = wpabuf_alloc(len); local 171 struct wpabuf *buf = wpabuf_alloc(wpabuf_len(src)); local [all...] |
/external/curl/tests/server/ |
base64.pl | 5 my $buf; 6 while(read(STDIN, $buf, 60*57)) { 7 my $enc = encode_base64($buf);
|