/external/valgrind/main/none/tests/s390x/ |
D | 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); in convert_1_byte() 178 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_1_byte() 190 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_1_byte() 198 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); in convert_1_byte() 216 run_test(buff, sizeof buff, valid, sizeof valid); in convert_2_bytes() 226 run_test(buff, sizeof buff, valid_if_not_m3, sizeof valid_if_not_m3); in convert_2_bytes() 246 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_2_bytes() 259 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); in convert_2_bytes() 280 run_test(buff, sizeof buff, e0, sizeof e0); in convert_3_bytes() [all …]
|
D | 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); in convert_1_byte() 178 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_1_byte() 190 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_1_byte() 198 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); in convert_1_byte() 216 run_test(buff, sizeof buff, valid, sizeof valid); in convert_2_bytes() 226 run_test(buff, sizeof buff, valid_if_not_m3, sizeof valid_if_not_m3); in convert_2_bytes() 246 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_2_bytes() 259 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); in convert_2_bytes() 280 run_test(buff, sizeof buff, e0, sizeof e0); in convert_3_bytes() [all …]
|
D | 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); in convert_1_byte() 178 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_1_byte() 190 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_1_byte() 198 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); in convert_1_byte() 216 run_test(buff, sizeof buff, valid, sizeof valid); in convert_2_bytes() 226 run_test(buff, sizeof buff, valid_if_not_m3, sizeof valid_if_not_m3); in convert_2_bytes() 246 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_2_bytes() 259 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); in convert_2_bytes() 280 run_test(buff, sizeof buff, e0, sizeof e0); in convert_3_bytes() [all …]
|
D | 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); in convert_1_byte() 178 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_1_byte() 190 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_1_byte() 198 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); in convert_1_byte() 216 run_test(buff, sizeof buff, valid, sizeof valid); in convert_2_bytes() 226 run_test(buff, sizeof buff, valid_if_not_m3, sizeof valid_if_not_m3); in convert_2_bytes() 246 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); in convert_2_bytes() 259 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); in convert_2_bytes() 280 run_test(buff, sizeof buff, e0, sizeof e0); in convert_3_bytes() [all …]
|
D | cu21_1.c | 62 uint8_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 137 run_test(buff, sizeof buff, NULL, 1); in main() 138 run_test(buff, sizeof buff, pattern1, 1); in main() 139 run_test(buff, sizeof buff, pattern2, 1); in main() 140 run_test(buff, sizeof buff, pattern3, 1); in main() 141 run_test(buff, sizeof buff, pattern4, 1); in main() 142 run_test(buff, sizeof buff, pattern4, 2); in main() 143 run_test(buff, sizeof buff, pattern4, 3); in main() 148 run_test(buff, sizeof buff, pattern1, 3); in main() 149 run_test(buff, sizeof buff, pattern2, 5); in main() [all …]
|
D | cu21.c | 62 uint8_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 137 run_test(buff, sizeof buff, NULL, 1); in main() 138 run_test(buff, sizeof buff, pattern1, 1); in main() 139 run_test(buff, sizeof buff, pattern2, 1); in main() 140 run_test(buff, sizeof buff, pattern3, 1); in main() 141 run_test(buff, sizeof buff, pattern4, 1); in main() 142 run_test(buff, sizeof buff, pattern4, 2); in main() 143 run_test(buff, sizeof buff, pattern4, 3); in main() 148 run_test(buff, sizeof buff, pattern1, 3); in main() 149 run_test(buff, sizeof buff, pattern2, 5); in main() [all …]
|
D | cu41.c | 63 uint8_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 140 run_test(buff, sizeof buff, NULL, 0); in main() 141 run_test(buff, sizeof buff, NULL, 1); in main() 142 run_test(buff, sizeof buff, NULL, 2); in main() 143 run_test(buff, sizeof buff, NULL, 3); in main() 144 run_test(buff, sizeof buff, pattern1, 0); in main() 145 run_test(buff, sizeof buff, pattern1, 1); in main() 146 run_test(buff, sizeof buff, pattern1, 2); in main() 147 run_test(buff, sizeof buff, pattern1, 3); in main() 152 run_test(buff, sizeof buff, pattern1, 4); /* 1 utf32 -> 1 1-byte utf8 */ in main() [all …]
|
D | cu42.c | 52 uint16_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 130 run_test(buff, sizeof buff, NULL, 0); in main() 131 run_test(buff, sizeof buff, NULL, 1); in main() 132 run_test(buff, sizeof buff, NULL, 2); in main() 133 run_test(buff, sizeof buff, NULL, 3); in main() 134 run_test(buff, sizeof buff, pattern2, 0); in main() 135 run_test(buff, sizeof buff, pattern2, 1); in main() 136 run_test(buff, sizeof buff, pattern2, 2); in main() 137 run_test(buff, sizeof buff, pattern2, 3); in main() 142 run_test(buff, sizeof buff, pattern2, 4); /* 1 utf32 -> 1 utf16 */ in main() [all …]
|
D | cu24.c | 51 uint32_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 131 run_test(buff, sizeof buff, NULL, 1); in main() 132 run_test(buff, sizeof buff, pattern1, 1); in main() 133 run_test(buff, sizeof buff, pattern2, 1); in main() 134 run_test(buff, sizeof buff, pattern2, 2); in main() 135 run_test(buff, sizeof buff, pattern2, 3); in main() 140 run_test(buff, sizeof buff, pattern1, 3); in main() 141 run_test(buff, sizeof buff, pattern1, 5); in main() 142 run_test(buff, sizeof buff, pattern2, 2); in main() 143 run_test(buff, sizeof buff, pattern2, 5); in main() [all …]
|
D | cu24_1.c | 51 uint32_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 131 run_test(buff, sizeof buff, NULL, 1); in main() 132 run_test(buff, sizeof buff, pattern1, 1); in main() 133 run_test(buff, sizeof buff, pattern2, 1); in main() 134 run_test(buff, sizeof buff, pattern2, 2); in main() 135 run_test(buff, sizeof buff, pattern2, 3); in main() 140 run_test(buff, sizeof buff, pattern1, 3); in main() 141 run_test(buff, sizeof buff, pattern1, 5); in main() 142 run_test(buff, sizeof buff, pattern2, 2); in main() 143 run_test(buff, sizeof buff, pattern2, 5); in main() [all …]
|
D | tr.c | 8 uint8_t buff[40]; variable 24 tr(tran_table, buff, len); in run_test() 27 printf("%c", buff[i]); in run_test() 35 run_test((char *)&touppercase, &buff, 0); in main() 36 run_test((char *)&touppercase, &buff, 0); in main() 39 memset(buff, 'a', 1); in main() 40 run_test((char *)&touppercase, &buff, 1); in main() 42 memcpy(buff, "abcdefgh", 8); in main() 43 run_test((char *)&touppercase, &buff, 3); in main() 44 run_test((char *)&touppercase, &buff, 3); in main() [all …]
|
D | tre.c | 17 uint8_t buff[40]; variable 61 printf("%c", buff[i]); in run_test() 72 run_test((char *)&touppercase, &buff, 0, 0x0); in main() 73 run_test((char *)&touppercase, &buff, 0, 'b'); in main() 76 memset(buff, 'a', 1); in main() 77 run_test((char *)&touppercase, &buff, 1, 'a'); //cc = 1 in main() 78 run_test((char *)&touppercase, &buff, 1, 'b'); in main() 80 memcpy(buff, "abcdefgh", 8); in main() 81 run_test((char *)&touppercase, &buff, 3, 'a'); //cc = 1 in main() 82 run_test((char *)&touppercase, &buff, 3, 'f'); //cc = 0 in main() [all …]
|
D | cksm.c | 19 cksm_by_insn(const uint32_t *buff, uint64_t len, uint32_t sum) in cksm_by_insn() argument 21 const uint32_t *init_addr = buff; in cksm_by_insn() 26 register uint64_t reg2 asm("2") = (uint64_t) buff; in cksm_by_insn() 60 cksm_by_hand(const uint32_t *buff, uint64_t len, uint32_t sum) in cksm_by_hand() argument 71 v64 += buff[n]; in cksm_by_hand() 74 sum = sum + buff[n] + 1; in cksm_by_hand() 76 sum = sum + buff[n]; in cksm_by_hand() 87 final = buff[n] & 0xFF000000; in cksm_by_hand() 91 final = buff[n] & 0xFFFF0000; in cksm_by_hand() 95 final = buff[n] & 0xFFFFFF00; in cksm_by_hand() [all …]
|
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
D | PYXScanner.java | 48 char[] buff = null; in scan() local 52 if (buff == null || buff.length < size) { in scan() 53 buff = new char[size]; in scan() 55 s.getChars(0, size, buff, 0); in scan() 56 switch (buff[0]) { in scan() 59 h.stagc(buff, 0, 0); in scan() 62 h.gi(buff, 1, size - 1); in scan() 67 h.stagc(buff, 0, 0); in scan() 70 h.etag(buff, 1, size - 1); in scan() 74 h.stagc(buff, 0, 0); in scan() [all …]
|
D | PYXWriter.java | 37 public void adup(char[] buff, int offset, int length) throws SAXException { in adup() argument 42 public void aname(char[] buff, int offset, int length) throws SAXException { in aname() argument 44 theWriter.write(buff, offset, length); in aname() 46 attrName = new String(buff, offset, length); in aname() 49 public void aval(char[] buff, int offset, int length) throws SAXException { in aval() argument 50 theWriter.write(buff, offset, length); in aval() 55 public void cmnt(char [] buff, int offset, int length) throws SAXException { in cmnt() argument 61 public void entity(char[] buff, int offset, int length) throws SAXException { } in entity() argument 65 public void eof(char[] buff, int offset, int length) throws SAXException { in eof() argument 69 public void etag(char[] buff, int offset, int length) throws SAXException { in etag() argument [all …]
|
D | ScanHandler.java | 29 public void adup(char[] buff, int offset, int length) throws SAXException; in adup() argument 35 public void aname(char[] buff, int offset, int length) throws SAXException; in aname() argument 41 public void aval(char[] buff, int offset, int length) throws SAXException; in aval() argument 46 public void cdsect(char[] buff, int offset, int length) throws SAXException; in cdsect() argument 52 public void decl(char[] buff, int offset, int length) throws SAXException; in decl() argument 58 public void entity(char[] buff, int offset, int length) throws SAXException; in entity() argument 64 public void eof(char[] buff, int offset, int length) throws SAXException; in eof() argument 70 public void etag(char[] buff, int offset, int length) throws SAXException; in etag() argument 76 public void gi(char[] buff, int offset, int length) throws SAXException; in gi() argument 82 public void pcdata(char[] buff, int offset, int length) throws SAXException; in pcdata() argument [all …]
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/ |
D | Base64.java | 71 byte buff[] = new byte[4]; in decode() 86 buff[bpos++] = (byte) (c - 'A'); in decode() 90 buff[bpos++] = (byte) ((c - 'a') + 26); in decode() 94 buff[bpos++] = (byte) ((c - '0') + 52); in decode() 98 buff[bpos++] = 62; in decode() 102 buff[bpos++] = 63; in decode() 106 buff[bpos++] = 64; in decode() 117 if (buff[0] == 64) in decode() 120 if (buff[1] == 64) in decode() 123 if (buff[2] == 64) in decode() [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_printf.cc | 32 static int AppendChar(char **buff, const char *buff_end, char c) { in AppendChar() argument 33 if (*buff < buff_end) { in AppendChar() 34 **buff = c; in AppendChar() 35 (*buff)++; in AppendChar() 43 static int AppendNumber(char **buff, const char *buff_end, u64 absolute_value, in AppendNumber() argument 55 result += AppendChar(buff, buff_end, '-'); in AppendNumber() 73 result += AppendChar(buff, buff_end, c); in AppendNumber() 75 if (negative && !pad_with_zero) result += AppendChar(buff, buff_end, '-'); in AppendNumber() 78 result += AppendChar(buff, buff_end, (digit < 10) ? '0' + digit in AppendNumber() 84 static int AppendUnsigned(char **buff, const char *buff_end, u64 num, u8 base, in AppendUnsigned() argument [all …]
|
/external/qemu/android/utils/ |
D | bufprint.c | 77 bufprint_app_dir(char* buff, char* end) in bufprint_app_dir() argument 91 return bufprint(buff, end, "%s", path); in bufprint_app_dir() 110 bufprint_app_dir(char* buff, char* end) in bufprint_app_dir() argument 127 return bufprint(buff, end, "%s", s); in bufprint_app_dir() 135 bufprint_app_dir(char* buff, char* end) in bufprint_app_dir() argument 155 return bufprint(buff, end, "%s", appDir); in bufprint_app_dir() 159 bufprint_app_dir(char* buff, char* end) in bufprint_app_dir() argument 161 return bufprint(buff, end, "."); in bufprint_app_dir() 168 bufprint_config_path(char* buff, char* end) in bufprint_config_path() argument 173 return bufprint(buff, end, "%s\\%s", home, _ANDROID_PATH ); in bufprint_config_path() [all …]
|
/external/libppp/src/ |
D | auth.c | 166 char *vector[6], buff[LINE_LEN]; in auth_SetPhoneList() local 173 while (fgets(buff, sizeof buff, fp)) { in auth_SetPhoneList() 175 if (buff[0] == '#') in auth_SetPhoneList() 177 buff[strlen(buff) - 1] = '\0'; in auth_SetPhoneList() 179 if ((n = MakeArgs(buff, vector, VECSIZE(vector), PARSE_REDUCE)) < 0) in auth_SetPhoneList() 211 char *vector[5], buff[LINE_LEN]; in auth_Select() local 234 while (fgets(buff, sizeof buff, fp)) { in auth_Select() 236 if (buff[0] == '#') in auth_Select() 238 buff[strlen(buff) - 1] = '\0'; in auth_Select() 240 if ((n = MakeArgs(buff, vector, VECSIZE(vector), PARSE_REDUCE)) < 0) in auth_Select() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
D | BufferUtils.java | 166 FloatBuffer buff = createFloatBuffer(3 * data.length); in createFloatBuffer() local 169 buff.put(data[x].x).put(data[x].y).put(data[x].z); in createFloatBuffer() 171 buff.put(0).put(0).put(0); in createFloatBuffer() 174 buff.flip(); in createFloatBuffer() 175 return buff; in createFloatBuffer() 188 FloatBuffer buff = createFloatBuffer(4 * data.length); in createFloatBuffer() local 191 … buff.put(data[x].getX()).put(data[x].getY()).put(data[x].getZ()).put(data[x].getW()); in createFloatBuffer() 193 buff.put(0).put(0).put(0); in createFloatBuffer() 196 buff.flip(); in createFloatBuffer() 197 return buff; in createFloatBuffer() [all …]
|
/external/stlport/src/ |
D | string.cpp | 12 wchar_t* buff = new wchar_t[size+1]; in __ASCIIToWide() local 13 mbstowcs(buff, ascii, size); in __ASCIIToWide() 14 buff[size] = 0x00; in __ASCIIToWide() 15 wstring ret(buff); in __ASCIIToWide() 16 delete[] buff; in __ASCIIToWide() 21 char* buff = new char[size+1]; in __WideToASCII() local 22 wcstombs(buff, wide, size); in __WideToASCII() 23 buff[size] = 0; in __WideToASCII() 24 string ret(buff); in __WideToASCII() 25 delete[] buff; in __WideToASCII()
|
/external/qemu/slirp/ |
D | misc.c | 18 show_x(buff, inso) 19 char *buff; 74 char buff[256]; in getouraddr() local 77 if (gethostname(buff,256) == 0) in getouraddr() 78 he = gethostbyname(buff); in getouraddr() 257 char buff[256]; in fork_exec() 326 sprintf(buff, "%s:%d.%d", inet_ntoa(our_addr), x_port, x_screen); in fork_exec() 327 setenv("DISPLAY", buff, 1); in fork_exec() 329 sprintf(buff, "DISPLAY=%s:%d.%d", inet_ntoa(our_addr), x_port, x_screen); in fork_exec() 330 putenv(buff); in fork_exec() [all …]
|
/external/qemu/slirp-android/ |
D | misc.c | 36 static char buff[32]; in inet_iptostr() local 38 snprintf(buff, sizeof(buff), "%d.%d.%d.%d", in inet_iptostr() 43 return buff; in inet_iptostr() 234 char buff[256]; in fork_exec() 292 sprintf(buff, "%s:%d.%d", inet_ntoa(our_addr), x_port, x_screen); in fork_exec() 293 setenv("DISPLAY", buff, 1); in fork_exec() 295 sprintf(buff, "DISPLAY=%s:%d.%d", inet_ntoa(our_addr), x_port, x_screen); in fork_exec() 296 putenv(buff); in fork_exec() 329 char buff[256]; in fork_exec() local 332 snprintf(buff, sizeof(buff), in fork_exec() [all …]
|
/external/qemu/android/ |
D | hw-pipe-net.c | 255 const GoldfishPipeBuffer* buff = buffers; in netPipe_sendBuffers() local 256 const GoldfishPipeBuffer* buffEnd = buff + numBuffers; in netPipe_sendBuffers() 262 for (; buff < buffEnd; buff++) in netPipe_sendBuffers() 263 count += buff->size; in netPipe_sendBuffers() 265 buff = buffers; in netPipe_sendBuffers() 267 int avail = buff->size - buffStart; in netPipe_sendBuffers() 268 int len = socket_send(pipe->io->fd, buff->data + buffStart, avail); in netPipe_sendBuffers() 273 if (buffStart >= buff->size) { in netPipe_sendBuffers() 274 buff++; in netPipe_sendBuffers() 313 GoldfishPipeBuffer* buff = buffers; in netPipe_recvBuffers() local [all …]
|