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

123456

/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/
H A Dcbuffer.h20 uint8_t* buff; member in struct:__anon9030
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/bison/lib/
H A Ddirname.c104 char buff[MAX_BUFF_LEN + 1]; local
108 buff[MAX_BUFF_LEN] = 0;
109 while (fgets (buff, MAX_BUFF_LEN, stdin) && buff[0])
114 sscanf (buff, "%s %s", file, expected_result);
/external/compiler-rt/lib/asan/
H A Dasan_printf.cc45 static inline int AppendChar(char **buff, const char *buff_end, char c) { argument
46 if (*buff < buff_end) {
47 **buff = c;
48 (*buff)++;
55 static int AppendUnsigned(char **buff, const char *buff_end, uint64_t num, argument
71 result += AppendChar(buff, buff_end, (digit < 10) ? '0' + digit
77 static inline int AppendSignedDecimal(char **buff, const char *buff_end,
81 result += AppendChar(buff, buff_end, '-');
84 result += AppendUnsigned(buff, buff_end, (uint64_t)num, 10, 0);
88 static inline int AppendString(char **buff, cons
[all...]
H A Dasan_stack.cc33 char buff[4096]; local
34 ASAN_USE_EXTERNAL_SYMBOLIZER((void*)pc, buff, sizeof(buff));
35 Printf(" #%zu 0x%zx %s\n", i, pc, buff);
/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/bison/src/
H A Dprint_graph.c130 static char buff[10]; local
149 sprintf (buff, "%d", s1->number);
150 e.targetname = 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/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/
H A DPEMDecoder.java106 private static byte[] removePadding(byte[] buff, int blockSize) throws IOException argument
110 int rfc_1423_padding = buff[buff.length - 1] & 0xff;
117 if (buff[buff.length - i] != rfc_1423_padding)
121 byte[] tmp = new byte[buff.length - rfc_1423_padding];
122 System.arraycopy(buff, 0, tmp, 0, buff.length - rfc_1423_padding);
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/packets/
H A DTypesWriter.java117 public void writeBytes(byte[] buff) argument
119 writeBytes(buff, 0, buff.length);
122 public void writeBytes(byte[] buff, int off, int len) argument
127 System.arraycopy(buff, off, arr, pos, len);
131 public void writeString(byte[] buff, int off, int len) argument
134 writeBytes(buff, off, len);
/external/kernel-headers/original/asm-mips/
H A Dchecksum.h19 * computes the checksum of a memory block at buff, length len,
28 * it's best to have buff aligned on a 32-bit boundary
30 __wsum csum_partial(const void *buff, int len, __wsum sum);
190 static inline __sum16 ip_compute_csum(const void *buff, int len) argument
192 return csum_fold(csum_partial(buff, len, 0));
/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/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...]
/external/valgrind/main/none/tests/s390x/
H A Dcksm.c19 cksm_by_insn(const uint32_t *buff, uint64_t len, uint32_t sum) argument
21 const uint32_t *init_addr = buff;
26 register uint64_t reg2 asm("2") = (uint64_t) buff;
60 cksm_by_hand(const uint32_t *buff, uint64_t len, uint32_t sum) argument
71 v64 += buff[n];
74 sum = sum + buff[n] + 1;
76 sum = sum + buff[n];
87 final = buff[n] & 0xFF000000;
91 final = buff[n] & 0xFFFF0000;
95 final = buff[
167 run_test(const char *name, const uint32_t *buff, uint64_t len, uint32_t sum, uint32_t expected_sum) argument
[all...]
/external/valgrind/tsan/
H A Dcommon_util.cc118 char buff[257] = {0}; local
121 while ((n_read = read(fd, buff, sizeof(buff) - 1)) > 0) {
122 buff[n_read] = 0;
123 res.append(buff, n_read);
/external/clang/test/SemaCXX/
H A Dwarn-memset-bad-sizeof.cpp139 char buff[80]; local
141 strncpy(buff, BAR, sizeof(BAR)); // \

Completed in 605 milliseconds

123456