/external/ltp/testcases/kernel/io/direct_io/ |
diotest6.c | 89 char *buf1, *buf2; local 91 buf1 = valloc(BUFSIZE); 94 if (!buf1 || !buf2) { 96 free(buf1); 106 fillbuf(buf1, bufsize, childnum+i); 113 if (write(fd_w, buf1, bufsize) < bufsize) { 135 if (bufcmp(buf1, buf2, bufsize) != 0) {
|
diotest3.c | 96 char *buf1; local 104 if ((buf1 = valloc(bufsize)) == 0) { 105 tst_resm(TFAIL | TERRNO, "valloc for buf1 failed"); 115 fillbuf(buf1, bufsize, childnum + i); 120 if (write(fd_w, buf1, bufsize) < bufsize) { 139 if (bufcmp(buf1, buf2, bufsize) != 0) {
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
ChecksumCalculator.h | 51 // To evaluate checksums from a list of data buffers buf1, buf2... Please call 52 // addBuffer(buf1, buf1len), addBuffer(buf2, buf2len) ... in order. 87 // bool testChecksumOrder(void* buf1, size_t bufLen1, 96 // encoder.addBuffer(buf1, bufLen1); 98 // memcpy(&message1[0], buf1, bufLen1);
|
/external/liblzf/ |
lzf.c | 180 u8 buf1[MAX_BLOCKSIZE + MAX_HDR_SIZE + 16]; local 185 while ((us = rread (from, &buf1[MAX_HDR_SIZE], blocksize)) > 0) 187 cs = lzf_compress (&buf1[MAX_HDR_SIZE], us, &buf2[MAX_HDR_SIZE], us > 4 ? us - 4 : us); 202 header = &buf1[MAX_HDR_SIZE - TYPE0_HDR_SIZE]; 222 u8 buf1[MAX_BLOCKSIZE + MAX_HDR_SIZE + 16]; local 275 memcpy (buf1, p, l); 283 p = &buf1[l]; 291 if (wwrite (to, buf1, us)) 296 if (lzf_decompress (buf1, cs, buf2, us) != us)
|
/external/libvncserver/libvncclient/ |
tls_openssl.c | 368 char buf1[500],buf2[10]; local 411 memset(buf1, 0, sizeof(buf1)); 414 if (strlen(buf1)>=sizeof(buf1)-1) break; 416 strncat(buf1, buf2, sizeof(buf1)-strlen(buf1)-1); 419 buf1);
|
/prebuilts/go/darwin-x86/src/encoding/json/ |
scanner_test.go | 136 var buf1 bytes.Buffer 137 if err := Indent(&buf1, b, "", "\t"); err != nil { 140 b1 := buf1.Bytes() 148 buf1.Reset() 149 if err := Compact(&buf1, b); err != nil { 152 b1 = buf1.Bytes()
|
/prebuilts/go/linux-x86/src/encoding/json/ |
scanner_test.go | 136 var buf1 bytes.Buffer 137 if err := Indent(&buf1, b, "", "\t"); err != nil { 140 b1 := buf1.Bytes() 148 buf1.Reset() 149 if err := Compact(&buf1, b); err != nil { 152 b1 = buf1.Bytes()
|
/external/ltp/testcases/kernel/syscalls/readv/ |
readv03.c | 62 char buf1[K_1]; variable 65 {buf1, K_1}
|
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
win64_alloca_dynalloca.ll | 32 %buf1 = alloca i8, i64 %n, align 1 52 %r = call i64 @bar(i64 %n, i64 %x, i64 %n, i8* %buf0, i8* %buf1) nounwind
|
/prebuilts/go/darwin-x86/src/compress/flate/ |
reader_test.go | 52 buf1 := compressed.Bytes() 57 io.Copy(ioutil.Discard, NewReader(bytes.NewReader(buf1)))
|