/external/valgrind/none/tests/s390x/ |
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 | 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_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.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_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 | 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 …]
|
/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/syslinux/com32/lua/src/ |
D | lzio.h | 29 #define luaZ_initbuffer(L, buff) ((buff)->buffer = NULL, (buff)->buffsize = 0) argument 31 #define luaZ_buffer(buff) ((buff)->buffer) argument 32 #define luaZ_sizebuffer(buff) ((buff)->buffsize) argument 33 #define luaZ_bufflen(buff) ((buff)->n) argument 35 #define luaZ_resetbuffer(buff) ((buff)->n = 0) argument 38 #define luaZ_resizebuffer(L, buff, size) \ argument 39 (luaM_reallocvector(L, (buff)->buffer, (buff)->buffsize, size, char), \ 40 (buff)->buffsize = size) 42 #define luaZ_freebuffer(L, buff) luaZ_resizebuffer(L, buff, 0) argument 45 LUAI_FUNC char *luaZ_openspace (lua_State *L, Mbuffer *buff, size_t n);
|
/external/llvm/test/Transforms/LoadStoreVectorizer/X86/ |
D | preserve-order64.ll | 9 ; (load into buff.val and store to buff.p) preserve their order. 16 ; CHECK: %buff.val = load i8 18 define void @preserve_order_64(%struct.buffer_t* noalias %buff) #0 { 20 %tmp1 = getelementptr inbounds %struct.buffer_t, %struct.buffer_t* %buff, i64 0, i32 1 21 %buff.p = load i8*, i8** %tmp1, align 8 22 %buff.val = load i8, i8* %buff.p, align 8 23 store i8 0, i8* %buff.p, align 8 24 %tmp0 = getelementptr inbounds %struct.buffer_t, %struct.buffer_t* %buff, i64 0, i32 0 25 %buff.int = load i64, i64* %tmp0, align 8 33 ; CHECK: %buff.val = load i8 [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_printf.cc | 33 static int AppendChar(char **buff, const char *buff_end, char c) { in AppendChar() argument 34 if (*buff < buff_end) { in AppendChar() 35 **buff = c; in AppendChar() 36 (*buff)++; in AppendChar() 44 static int AppendNumber(char **buff, const char *buff_end, u64 absolute_value, in AppendNumber() argument 56 result += AppendChar(buff, buff_end, '-'); in AppendNumber() 74 result += AppendChar(buff, buff_end, c); in AppendNumber() 76 if (negative && !pad_with_zero) result += AppendChar(buff, buff_end, '-'); in AppendNumber() 79 result += AppendChar(buff, buff_end, (digit < 10) ? '0' + digit in AppendNumber() 85 static int AppendUnsigned(char **buff, const char *buff_end, u64 num, u8 base, in AppendUnsigned() argument [all …]
|
/external/ltp/testcases/kernel/io/disktest/ |
D | dump.c | 42 char buff[10]; in format_str() local 56 sprintf(buff, "%08lX", (long)TotalBytes); in format_str() 57 strncat(obuff, buff, (obuff_siz - 1) - strlen(obuff)); in format_str() 63 sprintf(buff, "%02X ", *(ibuff + i)); in format_str() 64 strncat(obuff, buff, (obuff_siz - 1) - strlen(obuff)); in format_str() 75 sprintf(buff, "%c", in format_str() 77 strncat(obuff, buff, (obuff_siz - 1) - strlen(obuff)); in format_str() 86 char buff[10]; in format_raw() local 99 sprintf(buff, "%08lX ", (long)TotalBytes); in format_raw() 100 strncat(obuff, buff, (obuff_siz - 1) - strlen(obuff)); in format_raw() [all …]
|
/external/f2fs-tools/tools/sg_write_buffer/ |
D | sg_lib.c | 153 char buff[CMD_NAME_LEN]; in sg_print_command() local 155 sg_get_command_name(command, 0, CMD_NAME_LEN, buff); in sg_print_command() 156 buff[CMD_NAME_LEN - 1] = '\0'; in sg_print_command() 158 pr2ws("%s [", buff); in sg_print_command() 169 sg_get_scsi_status_str(int scsi_status, int buff_len, char * buff) in sg_get_scsi_status_str() argument 174 if ((NULL == buff) || (buff_len < 1)) in sg_get_scsi_status_str() 177 buff[0] = '\0'; in sg_get_scsi_status_str() 198 scnpr(buff, buff_len, "Unknown status [0x%x]", scsi_status); in sg_get_scsi_status_str() 200 scnpr(buff, buff_len, "%s", ccp); in sg_get_scsi_status_str() 206 char buff[128]; in sg_print_scsi_status() local [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/util/ |
D | UriEncoderTest.java | 32 ByteBuffer buff = ByteBuffer.allocate(10); in testDecode() local 33 buff.put((byte) 0x34); in testDecode() 34 buff.put((byte) 0x35); in testDecode() 35 buff.flip(); in testDecode() 36 assertEquals("45", UriEncoder.decode(buff)); in testDecode() 40 ByteBuffer buff = ByteBuffer.allocate(10); in testFailDecode() local 41 buff.put((byte) 0x34); in testFailDecode() 42 buff.put((byte) 0xC1); in testFailDecode() 43 buff.flip(); in testFailDecode() 45 UriEncoder.decode(buff); in testFailDecode()
|
/external/python/cpython2/Python/ |
D | dynload_beos.c | 190 char buff[256]; /* hate hard-coded string sizes... */ in _PyImport_GetDynLoadFunc() local 197 PyOS_snprintf( buff, sizeof(buff), in _PyImport_GetDynLoadFunc() 201 PyOS_snprintf( buff, sizeof(buff), in _PyImport_GetDynLoadFunc() 205 PyErr_SetString( PyExc_ImportError, buff ); in _PyImport_GetDynLoadFunc() 218 char buff[256]; /* hate hard-coded string sizes... */ in _PyImport_GetDynLoadFunc() local 226 PyOS_snprintf( buff, sizeof(buff), in _PyImport_GetDynLoadFunc() 231 PyOS_snprintf( buff, sizeof(buff), in _PyImport_GetDynLoadFunc() 236 PyOS_snprintf( buff, sizeof(buff), in _PyImport_GetDynLoadFunc() 244 PyErr_SetString( PyExc_ImportError, buff ); in _PyImport_GetDynLoadFunc()
|
/external/ImageMagick/coders/ |
D | meta.c | 1143 *buff, in ReadMETAImage() local 1188 buff=AcquireImage((ImageInfo *) NULL,exception); in ReadMETAImage() 1189 if (buff == (Image *) NULL) in ReadMETAImage() 1194 buff=DestroyImage(buff); in ReadMETAImage() 1197 AttachBlob(buff->blob,blob,length); in ReadMETAImage() 1200 length=(size_t) parse8BIM(image, buff); in ReadMETAImage() 1202 (void) WriteBlobByte(buff,0x0); in ReadMETAImage() 1206 length=(size_t) parse8BIMW(image, buff); in ReadMETAImage() 1208 (void) WriteBlobByte(buff,0x0); in ReadMETAImage() 1211 CopyBlob(image,buff); in ReadMETAImage() [all …]
|
/external/ltp/testcases/kernel/syscalls/adjtimex/ |
D | adjtimex02.c | 113 static struct timex buff; variable 130 &buff, setup2, NULL, EINVAL}, { 131 &buff, setup3, NULL, EINVAL}, { 132 &buff, setup4, NULL, EINVAL}, { 133 &buff, setup5, NULL, EINVAL}, { 134 &buff, setup6, cleanup6, EPERM} 166 buff = tim_save; in main() 167 buff.modes = SET_MODE; in main() 235 buff.tick = 900000 / hz - 1; in setup2() 241 buff.tick = 1100000 / hz + 1; in setup3() [all …]
|
/external/libedit/src/ |
D | chartype.c | 210 static Char *buff = NULL; in ct_visual_string() local 218 if (!buff) { in ct_visual_string() 220 buff = el_malloc(buffsize * sizeof(*buff)); in ct_visual_string() 222 dst = buff; in ct_visual_string() 224 used = ct_visual_char(dst, buffsize - (size_t)(dst - buff), *s); in ct_visual_string() 226 used = dst - buff; in ct_visual_string() 228 p = el_realloc(buff, buffsize * sizeof(*buff)); in ct_visual_string() 231 buff = p; in ct_visual_string() 232 dst = buff + used; in ct_visual_string() 239 if (dst >= (buff + buffsize)) { /* sigh */ in ct_visual_string() [all …]
|