/external/elfutils/tests/ |
test-nlist.c | 42 int cnt; local 52 for (cnt = 0; nl[cnt].n_name != NULL; ++cnt) 62 cnt, nl[cnt].n_name, 63 cnt, nl[cnt].n_value, 64 cnt, nl[cnt].n_scnum [all...] |
asm-tst2.c | 64 size_t cnt; local 155 for (cnt = 1; cnt < 3; ++cnt) 161 scn = elf_getscn (elf, cnt); 164 printf ("cannot get section %Zd: %s\n", cnt, elf_errmsg (-1)); 173 cnt, elf_errmsg (-1)); 179 scnnames[cnt]) != 0) 181 printf ("section %Zd's name differs: %s vs %s\n", cnt, 183 scnnames[cnt]); [all...] |
asm-tst9.c | 84 size_t cnt; local 112 for (cnt = 0; cnt < ninput; ++cnt) 114 if (asm_adduleb128 (scn, input[cnt]) != 0) 117 (uint32_t) input[cnt], asm_errmsg (-1)); 121 if (asm_addsleb128 (scn, input[cnt]) != 0) 124 input[cnt], asm_errmsg (-1)); 128 if (asm_adduleb128 (scn, -input[cnt]) != 0) 131 (uint32_t) -input[cnt], asm_errmsg (-1)) [all...] |
asm-tst1.c | 65 size_t cnt; local 139 for (cnt = 1; cnt < 4; ++cnt) 145 scn = elf_getscn (elf, cnt); 148 printf ("cannot get section %Zd: %s\n", cnt, elf_errmsg (-1)); 157 cnt, elf_errmsg (-1)); 163 scnnames[cnt]) != 0) 165 printf ("section %Zd's name differs: %s vs %s\n", cnt, 167 scnnames[cnt]); [all...] |
asm-tst4.c | 32 size_t cnt; local 44 for (cnt = 0; cnt < 66000; ++cnt) 50 snprintf (buf, sizeof (buf), ".data.%Zu", cnt); 63 if (asm_adduint32 (scn, cnt) != 0)
|
asm-tst6.c | 32 size_t cnt; local 43 for (cnt = 0; cnt < 22000; ++cnt) 50 snprintf (buf, sizeof (buf), ".grp%Zu", cnt); 54 printf ("cannot section group %Zu: %s\n", cnt, asm_errmsg (-1)); 64 cnt, asm_errmsg (-1)); 70 snprintf (buf, sizeof (buf), "%Zu", cnt); 81 if (asm_adduint32 (scn, cnt) != 0) 93 cnt, asm_errmsg (-1)) [all...] |
asm-tst7.c | 29 size_t cnt; local 81 for (cnt = 1; 1; ++cnt) 87 scn = elf_getscn (elf, cnt); 90 printf ("cannot get section %Zd: %s\n", cnt, elf_errmsg (-1)); 99 cnt, elf_errmsg (-1)); 107 for (cnt = 1; cnt< (shdr->sh_size 109 ++cnt) 114 if (cnt > 1 [all...] |
get-files.c | 25 int cnt; local 27 for (cnt = 1; cnt < argc; ++cnt) 29 int fd = open (argv[cnt], O_RDONLY); 34 printf ("%s not usable\n", argv[cnt]); 57 printf ("%s: cannot get CU die\n", argv[cnt]); 66 printf ("%s: cannot get files\n", argv[cnt]);
|
msg_tst.c | 79 size_t cnt; local 86 for (cnt = 1; cnt < ELF_E_NUM; ++cnt) 88 const char *str = elf_errmsg (libelf_msgs[cnt].id); 90 if (strcmp (str, libelf_msgs[cnt].expected) != 0) 93 cnt, libelf_msgs[cnt].expected, str);
|
sectiondump.c | 37 int cnt; local 58 for (cnt = 2; cnt < argc; ++cnt) 59 if (handle_section (elf, elf_getscn (elf, atoi (argv[cnt]))) != 0) 61 error (EXIT_FAILURE, 0, "while processing section %d: %s", cnt, 142 size_t cnt; local 144 for (cnt = 0; cnt < size; cnt += 16 164 size_t cnt; local [all...] |
/frameworks/base/media/libstagefright/codecs/aacdec/ |
getfill.cpp | 122 RETURNING (cnt) 124 IF ( cnt == (1<<LEN_F_CNT)-1 ) 132 cnt += esc_cnt - 1; 136 pInputStream->usedBits += cnt * LEN_BYTE; 212 Int cnt; local 219 cnt = get9_n_lessbits( 223 if (cnt == (1 << LEN_F_CNT) - 1) /* if (cnt == 15) */ 229 cnt += esc_cnt - 1; 236 * for (i=0; i<cnt; i++ [all...] |
sbr_extract_extended_data.cpp | 153 Int32 cnt; local 155 cnt = buf_getbits(hBitBuf, SI_SBR_EXTENSION_SIZE_BITS); 156 if (cnt == (1 << SI_SBR_EXTENSION_SIZE_BITS) - 1) 158 cnt += buf_getbits(hBitBuf, SI_SBR_EXTENSION_ESC_COUNT_BITS); 161 nBitsLeft = (cnt << 3); 204 cnt = nBitsLeft >> 3; /* number of remaining bytes */ 206 for (i = 0; i < cnt; i++) 211 nBitsLeft -= (cnt << 3);
|
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
runptests.c | 47 size_t cnt; local 50 for (cnt = 0; cnt < sizeof (tests) / sizeof (tests[0]); ++cnt) 51 if (tests[cnt].str == NULL) 53 printf ("\n%s\n%.*s\n", tests[cnt].reg, 54 (int) strlen (tests[cnt].reg), 57 else if (tests[cnt].reg == NULL) 58 printf ("!!! %s\n", tests[cnt].str); 65 printf ("regexp: \"%s\", string: \"%s\" -> ", tests[cnt].reg [all...] |
/external/elfutils/libdw/ |
dwarf_getarange_addr.c | 30 for (size_t cnt = 0; cnt < aranges->naranges; ++cnt) 31 if (aranges->info[cnt].addr <= addr 32 && addr < aranges->info[cnt].addr + aranges->info[cnt].length) 33 return &aranges->info[cnt];
|
dwarf_getpubnames.c | 31 size_t cnt = 0; local 41 if (cnt >= allocated) 67 mem[cnt].set_start = readp + 2 + 2 * len_bytes - startp; 68 mem[cnt].address_len = len_bytes; 69 if (mem[cnt].set_start >= dbg->sectiondata[IDX_debug_pubnames]->d_size) 84 mem[cnt].cu_offset = read_4ubyte_unaligned (dbg, readp + 2); 86 mem[cnt].cu_offset = read_8ubyte_unaligned (dbg, readp + 2); 91 assert (mem[cnt].cu_offset + 3 95 + mem[cnt].cu_offset); 97 mem[cnt].cu_header_size = 23 [all...] |
/external/elfutils/libelf/ |
elf32_getshdr.c | 63 size_t cnt; local 114 for (cnt = 0; cnt < shnum; ++cnt) 116 CONVERT_TO (shdr[cnt].sh_name, notcvt[cnt].sh_name); 117 CONVERT_TO (shdr[cnt].sh_type, notcvt[cnt].sh_type); 118 CONVERT_TO (shdr[cnt].sh_flags, notcvt[cnt].sh_flags) [all...] |
elf32_getphdr.c | 95 size_t cnt; local 127 for (cnt = 0; cnt < phnum; ++cnt) 129 CONVERT_TO (phdr[cnt].p_type, notcvt[cnt].p_type); 130 CONVERT_TO (phdr[cnt].p_offset, notcvt[cnt].p_offset); 131 CONVERT_TO (phdr[cnt].p_vaddr, notcvt[cnt].p_vaddr) 170 size_t cnt; local [all...] |
/external/elfutils/libebl/ |
mips_symbol.c | 97 size_t cnt; local 99 for (cnt = 0; cnt < nsegments; ++cnt) 100 if (type == mips_segments[cnt].type) 101 return mips_segments[cnt].str; 158 size_t cnt; local 160 for (cnt = 0; cnt < nsections; ++cnt) 190 size_t cnt; local 258 size_t cnt; local [all...] |
eblobjnote.c | 71 size_t cnt; local 72 for (cnt = 0; cnt < descsz / 4 - 1; ++cnt) 74 if (cnt != 0) 76 printf ("%" PRIu32, tag->version[cnt]);
|
/cts/tools/dasm/src/java_cup/ |
parse_reduce_table.java | 60 int cnt; local 66 cnt = 0; 79 cnt++; 80 if (cnt == 3) 83 cnt = 0; 88 if (cnt != 0) result += "\n";
|
/external/qemu/ |
host-utils.h | 60 int cnt = 0; 63 cnt += 16; 67 cnt += 8; 71 cnt += 4; 75 cnt += 2; 79 cnt++; 83 cnt++; 85 return cnt; 102 int cnt = 0; 105 cnt += 32 [all...] |
/external/e2fsprogs/intl/ |
finddomain.c | 94 int cnt; local 102 for (cnt = 0; retval->successor[cnt] != NULL; ++cnt) 104 if (retval->successor[cnt]->decided == 0) 105 _nl_load_domain (retval->successor[cnt], domainbinding); 107 if (retval->successor[cnt]->data != NULL) 110 return cnt >= 0 ? retval : NULL; 155 int cnt; local 156 for (cnt = 0; retval->successor[cnt] != NULL; ++cnt [all...] |
/external/elfutils/src/ |
strip.c | 393 size_t cnt; local 489 for (cnt = 0; cnt < ehdr->e_phnum; ++cnt) 494 phdr = gelf_getphdr (elf, cnt, &phdr_mem); 496 || unlikely (gelf_update_phdr (newelf, cnt, phdr) == 0)) 515 for (cnt = 0; cnt < ehdr->e_phnum; ++cnt) 520 phdr = gelf_getphdr (elf, cnt, &phdr_mem) [all...] |
/bionic/linker/ |
linker_environ.c | 108 size_t cnt = 0; local 110 while (envstr[cnt] == name[cnt] && name[cnt] != '\0') 111 cnt++; 113 if (name[cnt] == '\0' && envstr[cnt] == '=') 114 return envstr + cnt + 1;
|
/external/libvpx/vp8/common/ |
findnearmv.c | 31 int cnt[4], 41 int *cntx = cnt; 46 cnt[0] = cnt[1] = cnt[2] = cnt[3] = 0; 80 cnt[CNT_INTRA] += 2; 102 cnt[CNT_INTRA] += 1; 106 if (cnt[CNT_SPLITMV]) 110 cnt[CNT_NEAREST] += 1 [all...] |