/external/clang/test/CodeGen/ |
H A D | 2003-11-26-PointerShift.c | 3 unsigned long do_csum(const unsigned char *buff, int len, unsigned long result) { argument 4 if (2 & (unsigned long) buff) result += 1;
|
/external/compiler-rt/test/asan/TestCases/Windows/ |
H A D | dll_intercept_memchr.cc | 9 char buff[6] = "Hello"; local 11 memchr(buff, 'z', 7); 19 // CHECK: 'buff' <== Memory access at offset {{.*}} overflows this variable
|
H A D | 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
|
/external/curl/tests/libtest/ |
H A D | chkhostname.c | 30 char buff[HOSTNAME_MAX]; local 36 if(Curl_gethostname(buff, HOSTNAME_MAX)) { 42 if(strncmp(buff, argv[1], HOSTNAME_MAX)) {
|
/external/skia/third_party/lua/src/ |
H A D | 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) ((buf [all...] |
H A D | lzio.c | 24 const char *buff; local 26 buff = z->reader(L, z->data, &size); 28 if (buff == NULL || size == 0) 31 z->p = buff; 68 char *luaZ_openspace (lua_State *L, Mbuffer *buff, size_t n) { argument 69 if (n > buff->buffsize) { 71 luaZ_resizebuffer(L, buff, n); 73 return buff->buffer;
|
/external/syslinux/com32/lua/src/ |
H A D | 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) ((buf [all...] |
/external/valgrind/none/tests/s390x/ |
H A D | 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, [all...] |
H A D | cu21.c | 62 uint8_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 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); 141 run_test(buff, sizeo [all...] |
H A D | cu21_1.c | 62 uint8_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 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); 141 run_test(buff, sizeo [all...] |
H A D | cu24.c | 51 uint32_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 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); 135 run_test(buff, sizeo [all...] |
H A D | cu24_1.c | 51 uint32_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 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); 135 run_test(buff, sizeo [all...] |
H A D | 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, sizeo [all...] |
H A D | 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, sizeo [all...] |
H A D | 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, sizeo [all...] |
H A D | 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, sizeo [all...] |
H A D | cu41.c | 63 uint8_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 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); 144 run_test(buff, sizeo [all...] |
H A D | cu42.c | 52 uint16_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 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); 134 run_test(buff, sizeo [all...] |
H A D | 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, [all...] |
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
H A D | PYXScanner.java | 48 char[] buff = null; 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, [all...] |
H A D | ScanHandler.java | 29 public void adup(char[] buff, int offset, int length) throws SAXException; argument 35 public void aname(char[] buff, int offset, int length) throws SAXException; argument 41 public void aval(char[] buff, int offset, int length) throws SAXException; argument 46 public void cdsect(char[] buff, int offset, int length) throws SAXException; argument 52 public void decl(char[] buff, int offset, int length) throws SAXException; argument 58 public void entity(char[] buff, int offset, int length) throws SAXException; argument 64 public void eof(char[] buff, int offset, int length) throws SAXException; argument 70 public void etag(char[] buff, int offset, int length) throws SAXException; argument 76 public void gi(char[] buff, int offset, int length) throws SAXException; argument 82 public void pcdata(char[] buff, in argument 88 pi(char[] buff, int offset, int length) argument 94 pitarget(char[] buff, int offset, int length) argument 100 stagc(char[] buff, int offset, int length) argument 106 stage(char[] buff, int offset, int length) argument 112 cmnt(char[] buff, int offset, int length) argument [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/util/ |
H A D | UriEncoderTest.java | 32 ByteBuffer buff = ByteBuffer.allocate(10); 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); 41 buff.put((byte) 0x34); 42 buff.put((byte) 0xC1); 43 buff.flip(); 45 UriEncoder.decode(buff); [all...] |
/external/libmtp/examples/ |
H A D | format.c | 29 char buff[2]; local 33 if ( fgets(buff, sizeof(buff), stdin) == NULL ) { 41 if (buff[0] == 'y') { 43 } else if (buff[0] == 'n') {
|
H A D | reset.c | 29 char buff[2]; local 33 if ( fgets(buff, sizeof(buff), stdin) == NULL ) { 41 if (buff[0] == 'y') { 43 } else if (buff[0] == 'n') {
|
/external/valgrind/none/tests/ |
H A D | res_search.c | 12 unsigned char buff[8000]; local 14 if(-1 == res_search(dn, 1, 1, buff, 8000)) 51 unsigned char buff[8000]; local 53 if(-1 == res_search(argv[1], 1, 1, buff, 8000))
|