/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/elf/ |
elf-x86-amd64.c | 72 elf_x86_amd64_write_symtab_entry(unsigned char *bufp, 77 YASM_WRITE_32_L(bufp, entry->name ? entry->name->index : 0); 78 YASM_WRITE_8(bufp, ELF64_ST_INFO(entry->bind, entry->type)); 79 YASM_WRITE_8(bufp, ELF64_ST_OTHER(entry->vis)); 85 YASM_WRITE_16_L(bufp, shead->index); 87 YASM_WRITE_16_L(bufp, entry->index); 89 YASM_WRITE_64I_L(bufp, value_intn); 90 YASM_WRITE_64I_L(bufp, size_intn); 94 elf_x86_amd64_write_secthead(unsigned char *bufp, elf_secthead *shead) 96 YASM_WRITE_32_L(bufp, shead->name ? shead->name->index : 0) 214 unsigned char *bufp = *bufpp; local [all...] |
elf-x86-x86.c | 77 elf_x86_x86_write_symtab_entry(unsigned char *bufp, 82 YASM_WRITE_32_L(bufp, entry->name ? entry->name->index : 0); 83 YASM_WRITE_32I_L(bufp, value_intn); 84 YASM_WRITE_32I_L(bufp, size_intn); 86 YASM_WRITE_8(bufp, ELF32_ST_INFO(entry->bind, entry->type)); 87 YASM_WRITE_8(bufp, ELF32_ST_OTHER(entry->vis)); 93 YASM_WRITE_16_L(bufp, shead->index); 95 YASM_WRITE_16_L(bufp, entry->index); 100 elf_x86_x86_write_secthead(unsigned char *bufp, elf_secthead *shead) 102 YASM_WRITE_32_L(bufp, shead->name ? shead->name->index : 0) 203 unsigned char *bufp = *bufpp; local [all...] |
elf-machine.h | 48 typedef void(*func_write_symtab_entry)(unsigned char *bufp, 52 typedef void(*func_write_secthead)(unsigned char *bufp, elf_secthead *shead); 53 typedef void(*func_write_secthead_rel)(unsigned char *bufp, 62 typedef void(*func_write_reloc)(unsigned char *bufp,
|
/external/qemu/distrib/sdl-1.2.15/src/main/win32/ |
SDL_win32_main.c | 81 char *bufp; local 86 for ( bufp = cmdline; *bufp; ) { 88 while ( isspace(*bufp) ) { 89 ++bufp; 92 if ( *bufp == '"' ) { 93 ++bufp; 94 if ( *bufp ) { 96 argv[argc] = bufp; 101 while ( *bufp && ( *bufp != '"' || (lastp && *lastp == '\\') ) ) 275 char *bufp, *appname; local 337 wchar_t *bufp; local 340 char *bufp; local [all...] |
/ndk/sources/host-tools/sed-4.2.1/lib/ |
regex.c | 38 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \ 39 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop) 40 # define re_match(bufp, string, size, pos, regs) \ 41 __re_match (bufp, string, size, pos, regs) 42 # define re_search(bufp, string, size, startpos, range, regs) \ 43 __re_search (bufp, string, size, startpos, range, regs) 44 # define re_compile_pattern(pattern, length, bufp) \ 45 __re_compile_pattern (pattern, length, bufp) 47 # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \ 48 __re_search_2 (bufp, st1, s1, st2, s2, startpos, range, regs, stop [all...] |
/system/core/include/cutils/ |
open_memstream.h | 28 FILE* open_memstream(char** bufp, size_t* sizep);
|
/external/elfutils/0.153/libcpu/ |
i386_data.h | 124 d->bufp[(*d->bufcntp)++] = '%'; 125 d->bufp[(*d->bufcntp)++] = ch; 126 d->bufp[(*d->bufcntp)++] = 's'; 127 d->bufp[(*d->bufcntp)++] = ':'; 162 char *bufp = d->bufp; local 204 memcpy (&bufp[*bufcntp], tmpbuf, n + 1); 278 memcpy (&bufp[*bufcntp], tmpbuf, n + 1); 376 memcpy (&bufp[*bufcntp], tmpbuf, cp - tmpbuf); 397 char *buf = d->bufp + *bufcntp 505 char *bufp = d->bufp; local 532 char *bufp = d->bufp; local 943 char *bufp = d->bufp; local 1022 char *bufp = d->bufp; local 1090 char *bufp = d->bufp; local 1359 char *bufp = d->bufp; local 1382 char *bufp = d->bufp; local [all...] |
/system/core/libcutils/ |
open_memstream.c | 28 * - The values at "*bufp" and "*sizep" should be considered read-only, 38 * - After fclose(), the caller must eventually free(*bufp). 68 char** bufp; /* pointer to buffer pointer */ member in struct:__anon84444 106 stream->bufp, *stream->bufp, newSize)); 107 char* newBuf = (char*) realloc(*stream->bufp, newSize); 111 *stream->bufp = newBuf; 134 memset(*stream->bufp + stream->eof, '\0', 139 memcpy(*stream->bufp + stream->offset, buf, size); 150 *(*stream->bufp + stream->offset), stream->offset)) [all...] |
/external/elfutils/0.153/libasm/ |
disasm_str.c | 60 GElf_Addr addr, const char *fmt, char **bufp, size_t len, 63 struct buffer buffer = { .buf = *bufp, .len = len }; 67 *bufp = buffer.buf;
|
/external/libpcap/ |
dlpisubs.c | 126 int count, u_char *bufp, int len) 140 ep = bufp + len; 144 while (bufp < ep) { 159 p->bp = bufp; 160 p->cc = ep - bufp; 165 if ((long)bufp & 3) { 167 memcpy(sbp, bufp, sizeof(*sbp)); 170 sbp = (struct sb_hdr *)bufp; 172 pk = bufp + sizeof(*sbp); 173 bufp += sbp->sbh_totlen [all...] |
/external/libselinux/src/ |
init.c | 33 char *bufp; local 56 while ((bufp = fgets(buf, sizeof buf - 1, fp)) != NULL) { 74 while ((bufp = fgets(buf, sizeof buf - 1, fp)) != NULL) { 90 if (bufp)
|
enabled.c | 15 char *bufp; local 41 while ((bufp = fgets(buf, sizeof buf - 1, fp)) != NULL) { 48 if (!bufp)
|
/external/qemu/distrib/libselinux/src/ |
init.c | 33 char *bufp; local 56 while ((bufp = fgets(buf, sizeof buf - 1, fp)) != NULL) { 74 while ((bufp = fgets(buf, sizeof buf - 1, fp)) != NULL) { 90 if (bufp)
|
enabled.c | 15 char *bufp; local 41 while ((bufp = fgets(buf, sizeof buf - 1, fp)) != NULL) { 48 if (!bufp)
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/lc3b/ |
lc3bbc.c | 45 static int lc3b_bc_insn_tobytes(yasm_bytecode *bc, unsigned char **bufp, 168 lc3b_bc_insn_tobytes(yasm_bytecode *bc, unsigned char **bufp, 175 unsigned long buf_off = (unsigned long)(*bufp - bufstart); 178 YASM_SAVE_16_L(*bufp, insn->opcode); 186 if (output_value(&insn->imm, *bufp, 2, buf_off, bc, 1, d)) 192 if (output_value(&insn->imm, *bufp, 2, buf_off, bc, 1, d)) 197 if (output_value(&insn->imm, *bufp, 2, buf_off, bc, 1, d)) 203 if (output_value(&insn->imm, *bufp, 2, buf_off, bc, 1, d)) 208 if (output_value(&insn->imm, *bufp, 2, buf_off, bc, 1, d)) 225 if (output_value(&insn->imm, *bufp, 2, buf_off, bc, 1, d) [all...] |
/external/openssl/crypto/asn1/ |
f_enum.c | 104 unsigned char *bufp; local 135 bufp=(unsigned char *)buf; 139 if ((bufp[0] == '0') && (buf[1] == '0')) 141 bufp+=2; 174 m=bufp[k+n];
|
/external/qemu/distrib/sdl-1.2.15/src/main/macos/ |
SDL_main.c | 82 char *bufp; local 86 for ( bufp = cmdline; *bufp; ) { 88 while ( SDL_isspace(*bufp) ) { 89 ++bufp; 92 if ( *bufp == '"' ) { 93 ++bufp; 94 if ( *bufp ) { 96 argv[argc] = bufp; 101 while ( *bufp && (*bufp != '"') ) [all...] |
/bootable/recovery/mtdutils/ |
mounts.c | 63 const char *bufp; local 114 bufp = buf; 124 matches = sscanf(bufp, "%63s %63s %63s %127s", 140 printf("matches was %d on <<%.40s>>\n", matches, bufp); 145 while (nbytes > 0 && *bufp != '\n') { 146 bufp++; 150 bufp++;
|
/external/chromium_org/third_party/icu/source/test/letest/ |
gendata.cpp | 100 le_int32 bufp = 0; local 105 if (i % 8 == 0 && bufp != 0) { 107 bufp = 0; 110 bufp += sprintf(&lineBuffer[bufp], "0x%8.8X, ", longs[i]); 113 if (bufp != 0) { 114 lineBuffer[bufp - 2] = '\0'; 123 le_int32 bufp = 0; local 128 if (i % 8 == 0 && bufp != 0) { 130 bufp = 0 [all...] |
/external/icu/icu4c/source/test/letest/ |
gendata.cpp | 100 le_int32 bufp = 0; local 105 if (i % 8 == 0 && bufp != 0) { 107 bufp = 0; 110 bufp += sprintf(&lineBuffer[bufp], "0x%8.8X, ", longs[i]); 113 if (bufp != 0) { 114 lineBuffer[bufp - 2] = '\0'; 123 le_int32 bufp = 0; local 128 if (i % 8 == 0 && bufp != 0) { 130 bufp = 0 [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/ |
x86bc.c | 45 static int x86_bc_insn_tobytes(yasm_bytecode *bc, unsigned char **bufp, 58 static int x86_bc_jmp_tobytes(yasm_bytecode *bc, unsigned char **bufp, 70 (yasm_bytecode *bc, unsigned char **bufp, unsigned char *bufstart, void *d, 783 x86_common_tobytes(const x86_common *common, unsigned char **bufp, 787 YASM_WRITE_8(*bufp, (unsigned char)segreg); 789 YASM_WRITE_8(*bufp, 0x67); 793 YASM_WRITE_8(*bufp, 0x66); 795 YASM_WRITE_8(*bufp, common->lockrep_pre); 799 x86_opcode_tobytes(const x86_opcode *opcode, unsigned char **bufp) 803 YASM_WRITE_8(*bufp, opcode->opcode[i]) [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
bc-align.c | 60 static int bc_align_tobytes(yasm_bytecode *bc, unsigned char **bufp, 167 bc_align_tobytes(yasm_bytecode *bc, unsigned char **bufp, 197 memset(*bufp, (int)v, len); 198 *bufp += len; 211 memcpy(*bufp, align->code_fill[maxlen], maxlen); 212 *bufp += maxlen; 222 memcpy(*bufp, align->code_fill[len], len); 223 *bufp += len; 226 memset(*bufp, 0, len); 227 *bufp += len [all...] |
/external/ppp/pppd/ |
cbcp.c | 369 u_char *bufp = buf; local 388 PUTCHAR(CB_CONF_USER, bufp); 390 PUTCHAR(len , bufp); 391 PUTCHAR(5, bufp); /* delay */ 392 PUTCHAR(1, bufp); 393 BCOPY(us->us_number, bufp, slen + 1); 400 PUTCHAR(CB_CONF_ADMIN, bufp); 402 PUTCHAR(len, bufp); 403 PUTCHAR(5, bufp); /* delay */ 410 PUTCHAR(CB_CONF_NO, bufp); [all...] |
/external/qemu/distrib/sdl-1.2.15/src/stdlib/ |
SDL_string.c | 384 char *bufp = string; local 385 while ( *bufp ) { 386 *bufp = SDL_toupper((unsigned char) *bufp); 387 ++bufp; 396 char *bufp = string; local 397 while ( *bufp ) { 398 *bufp = SDL_tolower((unsigned char) *bufp); 399 ++bufp; 421 const char *bufp = string + SDL_strlen(string) - 1; local 459 char *bufp = string; local 489 char *bufp = string; local 557 char *bufp = string; local 587 char *bufp = string; local [all...] |
/external/openssl/crypto/ |
mem_dbg.c | 667 char *bufp = buf; local 673 #define BUF_REMAIN (sizeof buf - (size_t)(bufp - buf)) 682 BIO_snprintf(bufp, BUF_REMAIN, "[%02d:%02d:%02d] ", 684 bufp += strlen(bufp); 687 BIO_snprintf(bufp, BUF_REMAIN, "%5lu file=%s, line=%d, ", 689 bufp += strlen(bufp); 693 BIO_snprintf(bufp, BUF_REMAIN, "thread=%lu, ", 695 bufp += strlen(bufp) [all...] |