Searched defs:buff (Results 1 - 25 of 192) sorted by relevance

12345678

/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/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/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/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);
H A Dfcrypt.c63 static char buff[14]; local
66 return(DES_fcrypt(buf,salt,buff));
89 ret = DES_fcrypt(e_buf,e_salt,buff);
/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);
H A Dui_util.c61 char buff[BUFSIZ]; local
64 ret=UI_UTIL_read_pw(buf,buff,(length>BUFSIZ)?BUFSIZ:length,prompt,verify);
65 OPENSSL_cleanse(buff,BUFSIZ);
69 int UI_UTIL_read_pw(char *buf,char *buff,int size,const char *prompt,int verify) argument
82 ok = UI_add_verify_string(ui,prompt,0,buff,0,size-1,
/external/qemu/include/android/
H A Dcbuffer.h20 uint8_t* buff; member in struct:__anon29678
27 cbuffer_reset( CBuffer* cb, void* buff, int size ) argument
29 cb->buff = buff;
/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/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 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/chromium_org/third_party/skia/third_party/lua/src/
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/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/stlport/test/unit/
H A Distmit_test.cpp57 const char* buff = "MyString"; local
58 istringstream istr(buff);
73 CPPUNIT_ASSERT(!strcmp(buffer, buff));
H A Dslist_test.cpp80 stringbuf* buff=os.rdbuf(); local
81 string result=buff->str();
89 buff=os2.rdbuf();
90 result=buff->str();
99 buff=os3.rdbuf();
100 result=buff->str();
108 buff = os4.rdbuf();
109 result = buff->str();
/external/libnfc-nci/src/static-lib-adapt/
H A DProtoDispBluetoothHci.c60 char buff[200]; local
62 sprintf (buff, "%40s : %u (0x%02x): %s", p_descr, *p_data, *p_data, p_ext);
64 ScrLog (HCI_GEN_TRACE, "%s", buff);
/external/qemu/android/utils/
H A Dfile_data_unittest.cpp20 ScopedFileData(const void* buff, size_t length) { argument
21 mStatus = fileData_initFromMemory(&mFileData, buff, length);
H A Dfile_data.c47 const void* buff,
49 data->data = size ? (uint8_t*)buff : NULL;
46 fileData_initWith(FileData* data, const void* buff, size_t size) argument
/external/bluetooth/bluedroid/stack/pan/
H A Dpan_utils.c332 char buff[200]; local
340 sprintf (buff, "%d state %d, handle %d, src 0x%x, dst 0x%x, BD %x.%x.%x.%x.%x.%x",
345 PAN_TRACE_DEBUG (buff);
/external/bzip2/
H A Ddlltest.c116 char buff[0x1000]; local
137 while((len=BZ2_bzread(BZ2fp_r,buff,0x1000))>0){
138 fwrite(buff,1,len,fp_w);
164 while((len=fread(buff,1,0x1000,fp_r))>0){
165 BZ2_bzwrite(BZ2fp_w,buff,len);
/external/qemu/slirp/
H A Ddebug.c89 char buff[512];
94 strcpy(buff, "on");
96 strcpy(buff, "off");
98 strcpy(buff, "off (for now)");
104 "SLIP"), buff);
298 char buff[256]; local
309 n = sprintf(buff, "tcp[%s]", so->so_tcpcb?tcpstates[so->so_tcpcb->t_state]:"NONE");
311 buff[n++] = ' ';
312 buff[17] = 0;
314 buff, s
[all...]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/
H A DRobolectricTest.java35 private ByteArrayOutputStream buff; field in class:RobolectricTest
44 buff = new ByteArrayOutputStream();
45 PrintStream testOut = new PrintStream(buff);
64 String output = buff.toString();
66 buff.reset();
70 output = buff.toString();
78 String output = buff.toString();
/external/tagsoup/src/org/ccil/cowan/tagsoup/
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...]

Completed in 2230 milliseconds

12345678