/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
lzio.h | 29 #define luaZ_initbuffer(L, buff) ((buff)->buffer = NULL, (buff)->buffsize = 0) 31 #define luaZ_buffer(buff) ((buff)->buffer) 32 #define luaZ_sizebuffer(buff) ((buff)->buffsize) 33 #define luaZ_bufflen(buff) ((buff)->n) 35 #define luaZ_resetbuffer(buff) ((buff)->n = 0 [all...] |
/external/syslinux/com32/lua/src/ |
lzio.h | 29 #define luaZ_initbuffer(L, buff) ((buff)->buffer = NULL, (buff)->buffsize = 0) 31 #define luaZ_buffer(buff) ((buff)->buffer) 32 #define luaZ_sizebuffer(buff) ((buff)->buffsize) 33 #define luaZ_bufflen(buff) ((buff)->n) 35 #define luaZ_resetbuffer(buff) ((buff)->n = 0 [all...] |
/external/valgrind/none/tests/s390x/ |
tr.c | 8 uint8_t buff[40]; variable 24 tr(tran_table, buff, len); 27 printf("%c", buff[i]); 35 run_test((char *)&touppercase, &buff, 0); 36 run_test((char *)&touppercase, &buff, 0); 39 memset(buff, 'a', 1); 40 run_test((char *)&touppercase, &buff, 1); 42 memcpy(buff, "abcdefgh", 8); 43 run_test((char *)&touppercase, &buff, 3); 44 run_test((char *)&touppercase, &buff, 3) [all...] |
tre.c | 17 uint8_t buff[40]; variable 61 printf("%c", buff[i]); 72 run_test((char *)&touppercase, &buff, 0, 0x0); 73 run_test((char *)&touppercase, &buff, 0, 'b'); 76 memset(buff, 'a', 1); 77 run_test((char *)&touppercase, &buff, 1, 'a'); //cc = 1 78 run_test((char *)&touppercase, &buff, 1, 'b'); 80 memcpy(buff, "abcdefgh", 8); 81 run_test((char *)&touppercase, &buff, 3, 'a'); //cc = 1 82 run_test((char *)&touppercase, &buff, 3, 'f'); //cc = [all...] |
cu42.c | 52 uint16_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 128 /* No character will be written to BUFF, i.e. loop in jitted code 130 run_test(buff, sizeof buff, NULL, 0); 131 run_test(buff, sizeof buff, NULL, 1); 132 run_test(buff, sizeof buff, NULL, 2); 133 run_test(buff, sizeof buff, NULL, 3) [all...] |
cu21.c | 62 uint8_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 135 /* No character will be written to BUFF, i.e. loop in jitted code 137 run_test(buff, sizeof buff, NULL, 1); 138 run_test(buff, sizeof buff, pattern1, 1); 139 run_test(buff, sizeof buff, pattern2, 1); 140 run_test(buff, sizeof buff, pattern3, 1) [all...] |
cu21_1.c | 62 uint8_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 135 /* No character will be written to BUFF, i.e. loop in jitted code 137 run_test(buff, sizeof buff, NULL, 1); 138 run_test(buff, sizeof buff, pattern1, 1); 139 run_test(buff, sizeof buff, pattern2, 1); 140 run_test(buff, sizeof buff, pattern3, 1) [all...] |
cu12.c | 73 uint16_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 163 run_test(buff, sizeof buff, valid, sizeof valid); 178 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); 190 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); 198 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); 216 run_test(buff, sizeof buff, valid, sizeof valid) [all...] |
cu12_1.c | 73 uint16_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 163 run_test(buff, sizeof buff, valid, sizeof valid); 178 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); 190 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); 198 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); 216 run_test(buff, sizeof buff, valid, sizeof valid) [all...] |
cu14.c | 73 uint32_t buff[500]; /* Large so we con'don't have to worry about it */ variable 163 run_test(buff, sizeof buff, valid, sizeof valid); 178 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); 190 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); 198 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); 216 run_test(buff, sizeof buff, valid, sizeof valid) [all...] |
cu14_1.c | 73 uint32_t buff[500]; /* Large so we con'don't have to worry about it */ variable 163 run_test(buff, sizeof buff, valid, sizeof valid); 178 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); 190 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); 198 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); 216 run_test(buff, sizeof buff, valid, sizeof valid) [all...] |
cu24.c | 51 uint32_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 129 /* No character will be written to BUFF, i.e. loop in jitted code 131 run_test(buff, sizeof buff, NULL, 1); 132 run_test(buff, sizeof buff, pattern1, 1); 133 run_test(buff, sizeof buff, pattern2, 1); 134 run_test(buff, sizeof buff, pattern2, 2) [all...] |
cu24_1.c | 51 uint32_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 129 /* No character will be written to BUFF, i.e. loop in jitted code 131 run_test(buff, sizeof buff, NULL, 1); 132 run_test(buff, sizeof buff, pattern1, 1); 133 run_test(buff, sizeof buff, pattern2, 1); 134 run_test(buff, sizeof buff, pattern2, 2) [all...] |
cu41.c | 63 uint8_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 138 /* No character will be written to BUFF, i.e. loop in jitted code 140 run_test(buff, sizeof buff, NULL, 0); 141 run_test(buff, sizeof buff, NULL, 1); 142 run_test(buff, sizeof buff, NULL, 2); 143 run_test(buff, sizeof buff, NULL, 3) [all...] |
/external/clang/test/CodeGen/ |
2003-11-26-PointerShift.c | 3 unsigned long do_csum(const unsigned char *buff, int len, unsigned long result) { 4 if (2 & (unsigned long) buff) result += 1;
|
/external/llvm/test/Transforms/LoadStoreVectorizer/X86/ |
preserve-order64.ll | 9 ; (load into buff.val and store to buff.p) preserve their order. 16 ; CHECK: %buff.val = load i8 18 define void @preserve_order_64(%struct.buffer_t* noalias %buff) #0 { 20 %tmp1 = getelementptr inbounds %struct.buffer_t, %struct.buffer_t* %buff, i64 0, i32 1 21 %buff.p = load i8*, i8** %tmp1, align 8 22 %buff.val = load i8, i8* %buff.p, align 8 23 store i8 0, i8* %buff.p, align 8 24 %tmp0 = getelementptr inbounds %struct.buffer_t, %struct.buffer_t* %buff, i64 0, i32 [all...] |
preserve-order32.ll | 8 ; (load into buff.val and store to buff.p) preserve their order. 15 ; CHECK: %buff.val = load i8 17 define void @preserve_order_32(%struct.buffer_t* noalias %buff) #0 { 19 %tmp1 = getelementptr inbounds %struct.buffer_t, %struct.buffer_t* %buff, i32 0, i32 1 20 %buff.p = load i8*, i8** %tmp1, align 8 21 %buff.val = load i8, i8* %buff.p, align 8 22 store i8 0, i8* %buff.p, align 8 23 %tmp0 = getelementptr inbounds %struct.buffer_t, %struct.buffer_t* %buff, i32 0, i32 [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/util/ |
UriEncoderTest.java | 32 ByteBuffer buff = ByteBuffer.allocate(10); local 33 buff.put((byte) 0x34); 34 buff.put((byte) 0x35); 35 buff.flip(); 36 assertEquals("45", UriEncoder.decode(buff)); 40 ByteBuffer buff = ByteBuffer.allocate(10); local 41 buff.put((byte) 0x34); 42 buff.put((byte) 0xC1); 43 buff.flip(); 45 UriEncoder.decode(buff); [all...] |
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
ScanHandler.java | 29 public void adup(char[] buff, int offset, int length) throws SAXException; 35 public void aname(char[] buff, int offset, int length) throws SAXException; 41 public void aval(char[] buff, int offset, int length) throws SAXException; 46 public void cdsect(char[] buff, int offset, int length) throws SAXException; 52 public void decl(char[] buff, int offset, int length) throws SAXException; 58 public void entity(char[] buff, int offset, int length) throws SAXException; 64 public void eof(char[] buff, int offset, int length) throws SAXException; 70 public void etag(char[] buff, int offset, int length) throws SAXException; 76 public void gi(char[] buff, int offset, int length) throws SAXException; 82 public void pcdata(char[] buff, int offset, int length) throws SAXException [all...] |
PYXScanner.java | 48 char[] buff = null; local 52 if (buff == null || buff.length < size) { 53 buff = new char[size]; 55 s.getChars(0, size, buff, 0); 56 switch (buff[0]) { 59 h.stagc(buff, 0, 0); 62 h.gi(buff, 1, size - 1); 67 h.stagc(buff, 0, 0); 70 h.etag(buff, 1, size - 1) [all...] |
PYXWriter.java | 37 public void adup(char[] buff, int offset, int length) throws SAXException { 42 public void aname(char[] buff, int offset, int length) throws SAXException { 44 theWriter.write(buff, offset, length); 46 attrName = new String(buff, offset, length); 49 public void aval(char[] buff, int offset, int length) throws SAXException { 50 theWriter.write(buff, offset, length); 55 public void cmnt(char [] buff, int offset, int length) throws SAXException { 57 // theWriter.write(buff, offset, length); 61 public void entity(char[] buff, int offset, int length) throws SAXException { } 65 public void eof(char[] buff, int offset, int length) throws SAXException [all...] |
/external/llvm/lib/Fuzzer/test/ |
StrcmpTest.cpp | 12 char Buff[1024]; 15 if (Len >= sizeof(Buff)) return false; 16 memcpy(Buff, (char*)Data, Len); 17 Buff[Len] = 0; 18 int res = strcmp(Buff, Str);
|
/tools/test/connectivity/acts/tests/google/power/tel/lab/temp/ |
liveplot.py | 11 buff = collections.deque(np.zeros(HZ*T_SPAN), maxlen=HZ * T_avg) variable 15 buff.append(float(raw_input())) 16 wave.append(sum(buff)/float(len(buff)))
|
/external/ltp/testcases/kernel/io/disktest/ |
dump.c | 42 char buff[10]; local 56 sprintf(buff, "%08lX", (long)TotalBytes); 57 strncat(obuff, buff, (obuff_siz - 1) - strlen(obuff)); 63 sprintf(buff, "%02X ", *(ibuff + i)); 64 strncat(obuff, buff, (obuff_siz - 1) - strlen(obuff)); 75 sprintf(buff, "%c", 77 strncat(obuff, buff, (obuff_siz - 1) - strlen(obuff)); 86 char buff[10]; local 99 sprintf(buff, "%08lX ", (long)TotalBytes); 100 strncat(obuff, buff, (obuff_siz - 1) - strlen(obuff)) 180 char *buff; local [all...] |
/external/compiler-rt/test/asan/TestCases/Windows/ |
dll_intercept_memset.cc | 14 char buff[5] = "aaaa"; local 16 memset(buff, 'b', 5); 17 if (buff[2] != 'b') 23 memset(buff, 'c', 6); 30 // CHECK: 'buff' <== Memory access at offset {{.*}} overflows this variable
|