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

12345678

/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/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...]
H A DPYXWriter.java37 public void adup(char[] buff, int offset, int length) throws SAXException { argument
42 public void aname(char[] buff, int offset, int length) throws SAXException { argument
44 theWriter.write(buff, offset, length);
46 attrName = new String(buff, offset, length);
49 public void aval(char[] buff, int offset, int length) throws SAXException { argument
50 theWriter.write(buff, offset, length);
55 public void cmnt(char [] buff, int offset, int length) throws SAXException { argument
57 // theWriter.write(buff, offset, length);
61 public void entity(char[] buff, int offset, int length) throws SAXException { } argument
65 public void eof(char[] buff, in argument
69 etag(char[] buff, int offset, int length) argument
75 decl(char[] buff, int offset, int length) argument
78 gi(char[] buff, int offset, int length) argument
84 cdsect(char[] buff, int offset, int length) argument
88 pcdata(char[] buff, int offset, int length) argument
122 pitarget(char[] buff, int offset, int length) argument
128 pi(char[] buff, int offset, int length) argument
133 stagc(char[] buff, int offset, int length) argument
137 stage(char[] buff, int offset, int length) argument
143 characters(char[] buff, int offset, int length) argument
159 ignorableWhitespace(char[] buff, int offset, int length) argument
[all...]
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/
H A DBase64.java71 byte buff[] = new byte[4];
86 buff[bpos++] = (byte) (c - 'A');
90 buff[bpos++] = (byte) ((c - 'a') + 26);
94 buff[bpos++] = (byte) ((c - '0') + 52);
98 buff[bpos++] = 62;
102 buff[bpos++] = 63;
106 buff[bpos++] = 64;
117 if (buff[0] == 64)
120 if (buff[1] == 64)
123 if (buff[
[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/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_printf.cc26 static int AppendChar(char **buff, const char *buff_end, char c) { argument
27 if (*buff < buff_end) {
28 **buff = c;
29 (*buff)++;
36 static int AppendUnsigned(char **buff, const char *buff_end, u64 num, argument
52 result += AppendChar(buff, buff_end, (digit < 10) ? '0' + digit
58 static int AppendSignedDecimal(char **buff, const char *buff_end, s64 num) {
61 result += AppendChar(buff, buff_end, '-');
64 result += AppendUnsigned(buff, buff_end, (u64)num, 10, 0);
68 static int AppendString(char **buff, cons
[all...]
H A Dsanitizer_common.cc28 uptr ReadFileToBuffer(const char *file_name, char **buff, argument
32 *buff = 0;
38 UnmapOrDie(*buff, *buff_size);
39 *buff = (char*)MmapOrDie(size, __FUNCTION__);
45 uptr just_read = internal_read(fd, *buff + read_len, kPageSize);
/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);
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/android/utils/
H A Dbufprint.c77 bufprint_app_dir(char* buff, char* end) argument
91 return bufprint(buff, end, "%s", path);
110 bufprint_app_dir(char* buff, char* end) argument
127 return bufprint(buff, end, "%s", s);
135 bufprint_app_dir(char* buff, char* end) argument
155 return bufprint(buff, end, "%s", appDir);
159 bufprint_app_dir(char* buff, char* end) argument
161 return bufprint(buff, end, ".");
168 bufprint_config_path(char* buff, char* end) argument
173 return bufprint(buff, en
193 bufprint_config_file(char* buff, char* end, const char* suffix) argument
202 bufprint_temp_dir(char* buff, char* end) argument
234 bufprint_temp_file(char* buff, char* end, const char* suffix) argument
[all...]
/external/qemu/
H A Dcbuffer.h20 uint8_t* buff; member in struct:__anon10966
27 cbuffer_reset( CBuffer* cb, void* buff, int size ) argument
29 cb->buff = buff;
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/
H A DAbstractBlenderHelper.java108 ByteBuffer buff = BufferUtils.createByteBuffer(4 * data.size());
111 buff.put(v[0]).put(v[1]).put(v[2]).put(v[3]);
113 buff.put((byte)0).put((byte)0).put((byte)0).put((byte)0);
116 buff.flip();
117 return buff;
130 FloatBuffer buff = BufferUtils.createFloatBuffer(4 * data.size());
133 buff.put(v[0]).put(v[1]).put(v[2]).put(v[3]);
135 buff.put(0).put(0).put(0).put(0);
138 buff.flip();
139 return buff;
[all...]
/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/libppp/src/
H A Dauth.c166 char *vector[6], buff[LINE_LEN]; local
173 while (fgets(buff, sizeof buff, fp)) {
175 if (buff[0] == '#')
177 buff[strlen(buff) - 1] = '\0';
179 if ((n = MakeArgs(buff, vector, VECSIZE(vector), PARSE_REDUCE)) < 0)
211 char *vector[5], buff[LINE_LEN]; local
234 while (fgets(buff, sizeof buff, f
294 char *vector[5], buff[LINE_LEN]; local
347 static char buff[LINE_LEN]; /* vector[] will point here when returned */ local
[all...]
/external/qemu/android/
H A Dhw-pipe-net.c255 const GoldfishPipeBuffer* buff = buffers; local
256 const GoldfishPipeBuffer* buffEnd = buff + numBuffers;
262 for (; buff < buffEnd; buff++)
263 count += buff->size;
265 buff = buffers;
267 int avail = buff->size - buffStart;
268 int len = socket_send(pipe->io->fd, buff->data + buffStart, avail);
273 if (buffStart >= buff->size) {
274 buff
313 GoldfishPipeBuffer* buff = buffers; local
[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/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/qemu/telephony/
H A Dremote_call.c114 char* buff; member in struct:RemoteCallRec
129 if (call->buff && call->buff != call->buff0) {
130 free(call->buff);
131 call->buff = call->buff0;
170 rcall->buff = rcall->buff0;
174 p = rcall->buff;
207 rcall->buff_len = p - rcall->buff;
231 char* old_buff = call->buff == call->buff0 ? NULL : call->buff;
[all...]
/external/bluetooth/bluedroid/stack/sdp/
H A Dsdp_db.c541 UINT8 buff[SDP_MAX_ATTR_LEN * 2]; local
545 p = buff;
575 if (p - buff > SDP_MAX_ATTR_LEN)
579 if(p_head == buff)
592 (UINT32) (p - buff), buff));
616 UINT8 buff[SDP_MAX_ATTR_LEN * 2]; local
617 UINT8 *p = buff;
626 if((p - buff) > max_len)
634 (UINT32) (p - buff), buf
656 UINT8 buff[SDP_MAX_ATTR_LEN * 2]; local
686 UINT8 buff[SDP_MAX_ATTR_LEN * 2]; local
727 UINT8 buff[SDP_MAX_ATTR_LEN]; local
766 UINT8 buff[SDP_MAX_ATTR_LEN]; local
805 UINT8 buff[SDP_MAX_ATTR_LEN * 2]; local
[all...]
/external/qemu/slirp/
H A Dmisc.c18 show_x(buff, inso)
19 char *buff;
74 char buff[256]; local
77 if (gethostname(buff,256) == 0)
78 he = gethostbyname(buff);
257 char buff[256];
326 sprintf(buff, "%s:%d.%d", inet_ntoa(our_addr), x_port, x_screen);
327 setenv("DISPLAY", buff, 1);
329 sprintf(buff, "DISPLAY=%s:%d.%d", inet_ntoa(our_addr), x_port, x_screen);
330 putenv(buff);
363 char buff[256]; local
[all...]

Completed in 2120 milliseconds

12345678