HomeSort by relevance Sort by last modified time
    Searched refs:buff (Results 1 - 25 of 387) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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/compiler-rt/test/asan/TestCases/Windows/
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
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
  /bootable/recovery/minadbd/
utils.c 22 buff_addc (char* buff, char* buffEnd, int c)
24 int avail = buffEnd - buff;
27 return buff;
30 buff[0] = 0;
31 return buff + 1;
34 buff[0] = (char) c; /* add char and terminating zero */
35 buff[1] = 0;
36 return buff + 1;
40 buff_adds (char* buff, char* buffEnd, const char* s)
44 return buff_addb(buff, buffEnd, s, slen)
    [all...]
utils.h 45 char* buff_addc (char* buff, char* buffEnd, int c);
48 char* buff_adds (char* buff, char* buffEnd, const char* s);
53 char* buff_addb (char* buff, char* buffEnd, const void* data, int len);
56 char* buff_add (char* buff, char* buffEnd, const char* format, ... );
  /external/chromium_org/third_party/skia/third_party/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/main/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...]
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...]
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...]
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...]
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...]
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...]
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...]
  /external/tagsoup/src/org/ccil/cowan/tagsoup/
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...]
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...]
  /external/libmtp/examples/
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') {
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') {
  /system/core/init/
bootchart.c 50 unix_read(int fd, void* buff, int len)
53 do { ret = read(fd, buff, len); } while (ret < 0 && errno == EINTR);
58 unix_write(int fd, const void* buff, int len)
61 do { ret = write(fd, buff, len); } while (ret < 0 && errno == EINTR);
66 proc_read(const char* filename, char* buff, size_t buffsize)
71 len = unix_read(fd, buff, buffsize-1);
74 buff[len > 0 ? len : 0] = 0;
87 file_buff_open( FileBuff buff, const char* path )
89 buff->count = 0;
90 buff->fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, 0755)
187 char buff[65]; local
216 char buff[1024]; local
255 char buff[1024]; local
302 char buff[4]; local
362 char buff[2]; local
    [all...]
  /external/openssl/crypto/des/
read2pwd.c 120 char buf[BUFSIZ],buff[BUFSIZ]; local
122 if ((ok=UI_UTIL_read_pw(buf,buff,BUFSIZ,prompt,verify)) == 0)
125 OPENSSL_cleanse(buff,BUFSIZ);
133 char buf[BUFSIZ],buff[BUFSIZ]; local
135 if ((ok=UI_UTIL_read_pw(buf,buff,BUFSIZ,prompt,verify)) == 0)
138 OPENSSL_cleanse(buff,BUFSIZ);
  /external/valgrind/main/none/tests/
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))

Completed in 927 milliseconds

1 2 3 4 5 6 7 8 91011>>