Searched refs:buff (Results 1 - 25 of 240) sorted by relevance

12345678910

/external/clang/test/CodeGen/
H A D2003-11-26-PointerShift.c3 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 Ddll_intercept_memchr.cc9 char buff[6] = "Hello"; local
11 memchr(buff, 'z', 7);
19 // CHECK: 'buff' <== Memory access at offset {{.*}} overflows this variable
H A Ddll_intercept_memset.cc14 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/chromium_org/third_party/skia/third_party/lua/src/
H A Dlzio.h29 #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 Dlzio.c24 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/valgrind/main/none/tests/s390x/
H A Dtr.c8 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 Dcu21.c62 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 Dcu21_1.c62 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 Dcu24.c51 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 Dcu24_1.c51 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 Dcu12.c73 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 Dcu12_1.c73 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 Dcu14.c73 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 Dcu14_1.c73 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 Dcu41.c63 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 Dcu42.c52 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 Dtre.c17 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 DPYXScanner.java48 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 DScanHandler.java29 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/libmtp/examples/
H A Dformat.c29 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 Dreset.c29 char buff[2]; local
33 if ( fgets(buff, sizeof(buff), stdin) == NULL ) {
41 if (buff[0] == 'y') {
43 } else if (buff[0] == 'n') {
/external/stlport/src/
H A Dstring.cpp12 wchar_t* buff = new wchar_t[size+1]; local
13 mbstowcs(buff, ascii, size);
14 buff[size] = 0x00;
15 wstring ret(buff);
16 delete[] buff;
21 char* buff = new char[size+1]; local
22 wcstombs(buff, wide, size);
23 buff[size] = 0;
24 string ret(buff);
25 delete[] buff;
[all...]
/external/openssl/crypto/des/
H A Dread2pwd.c120 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/
H A Dres_search.c12 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))
/external/openssl/crypto/ui/
H A Dui_compat.c64 int _ossl_old_des_read_pw(char *buf,char *buff,int size,const char *prompt,int verify) argument
66 return UI_UTIL_read_pw(buf, buff, size, prompt, verify);

Completed in 256 milliseconds

12345678910