Searched refs:bufp (Results 1 - 25 of 60) sorted by relevance

123

/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/elf/
H A Delf-x86-amd64.c72 elf_x86_amd64_write_symtab_entry(unsigned char *bufp, argument
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) argument
96 YASM_WRITE_32_L(bufp, shea
111 elf_x86_amd64_write_secthead_rel(unsigned char *bufp, elf_secthead *shead, elf_section_index symtab_idx, elf_section_index sindex) argument
194 elf_x86_amd64_write_reloc(unsigned char *bufp, elf_reloc_entry *reloc, unsigned int r_type, unsigned int r_sym) argument
214 unsigned char *bufp = *bufpp; local
[all...]
H A Delf-x86-x86.c77 elf_x86_x86_write_symtab_entry(unsigned char *bufp, argument
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) argument
102 YASM_WRITE_32_L(bufp, shea
118 elf_x86_x86_write_secthead_rel(unsigned char *bufp, elf_secthead *shead, elf_section_index symtab_idx, elf_section_index sindex) argument
190 elf_x86_x86_write_reloc(unsigned char *bufp, elf_reloc_entry *reloc, unsigned int r_type, unsigned int r_sym) argument
203 unsigned char *bufp = *bufpp; local
[all...]
H A Delf-machine.h48 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/
H A DSDL_win32_main.c81 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
275 char *bufp, *appname; local
337 wchar_t *bufp; local
340 char *bufp; local
[all...]
/external/elfutils/libcpu/
H A Di386_data.h124 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
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...]
/external/elfutils/libasm/
H A Ddisasm_str.c60 GElf_Addr addr, const char *fmt, char **bufp, size_t len,
63 struct buffer buffer = { .buf = *bufp, .len = len };
67 *bufp = buffer.buf;
59 disasm_str(DisasmCtx_t *ctx, const uint8_t **startp, const uint8_t *end, GElf_Addr addr, const char *fmt, char **bufp, size_t len, void *symcbarg) argument
/external/chromium_org/third_party/icu/source/test/letest/
H A Dgendata.cpp68 le_int32 bufp = 0; local
73 if (i % 8 == 0 && bufp != 0) {
75 bufp = 0;
78 bufp += sprintf(&lineBuffer[bufp], "0x%8.8X, ", longs[i]);
81 if (bufp != 0) {
82 lineBuffer[bufp - 2] = '\0';
91 le_int32 bufp = 0; local
96 if (i % 8 == 0 && bufp != 0) {
98 bufp
[all...]
/external/icu4c/test/letest/
H A Dgendata.cpp68 le_int32 bufp = 0; local
73 if (i % 8 == 0 && bufp != 0) {
75 bufp = 0;
78 bufp += sprintf(&lineBuffer[bufp], "0x%8.8X, ", longs[i]);
81 if (bufp != 0) {
82 lineBuffer[bufp - 2] = '\0';
91 le_int32 bufp = 0; local
96 if (i % 8 == 0 && bufp != 0) {
98 bufp
[all...]
/external/libselinux/src/
H A Dinit.c33 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)
H A Denabled.c15 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/
H A Dlc3bbc.c45 static int lc3b_bc_insn_tobytes(yasm_bytecode *bc, unsigned char **bufp,
168 lc3b_bc_insn_tobytes(yasm_bytecode *bc, unsigned char **bufp, argument
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,
[all...]
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/
H A Df_enum.c104 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];
H A Df_int.c108 unsigned char *bufp; local
148 bufp=(unsigned char *)buf;
152 if ((bufp[0] == '0') && (buf[1] == '0'))
154 bufp+=2;
186 m=bufp[k+n];
/external/openssl/crypto/asn1/
H A Df_enum.c104 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];
H A Df_int.c108 unsigned char *bufp; local
148 bufp=(unsigned char *)buf;
152 if ((bufp[0] == '0') && (buf[1] == '0'))
154 bufp+=2;
186 m=bufp[k+n];
/external/qemu/distrib/sdl-1.2.15/src/main/macos/
H A DSDL_main.c82 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
[all...]
/external/libppp/src/
H A Dvjcomp.c117 u_char *bufp; local
128 bufp = MBUF_CTOP(bp);
129 len = sl_uncompress_tcp(&bufp, len, type, &ipcp->vj.cslc, &ipcp->vj.slstat,
147 bufp = work + MAX_HDR;
148 bp = mbuf_Read(bp, bufp, rlen);
149 len = sl_uncompress_tcp(&bufp, olen, type, &ipcp->vj.cslc, &ipcp->vj.slstat,
158 bp = m_prepend(bp, bufp, len, 0);
H A Dpred.c181 u_char bufp[MAX_MTU + 2]; local
187 cp = bufp;
193 fcs = hdlc_Fcs(bufp, 2 + orglen);
196 len = compress(state, bufp + 2, wp, orglen);
204 memcpy(wp, bufp + 2, orglen);
223 u_char *bufp; local
229 pp = bufp = MBUF_CTOP(wp);
262 fcs = hdlc_Fcs(bufp, wp->m_len = pp - bufp);
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/
H A Dx86bc.c45 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, argument
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) argument
803 YASM_WRITE_8(*bufp, opcod
807 x86_bc_insn_tobytes(yasm_bytecode *bc, unsigned char **bufp, unsigned char *bufstart, void *d, yasm_output_value_func output_value, yasm_output_reloc_func output_reloc) argument
909 x86_bc_jmp_tobytes(yasm_bytecode *bc, unsigned char **bufp, unsigned char *bufstart, void *d, yasm_output_value_func output_value, yasm_output_reloc_func output_reloc) argument
996 x86_bc_jmpfar_tobytes(yasm_bytecode *bc, unsigned char **bufp, unsigned char *bufstart, void *d, yasm_output_value_func output_value, yasm_output_reloc_func output_reloc) argument
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dbc-align.c60 static int bc_align_tobytes(yasm_bytecode *bc, unsigned char **bufp,
167 bc_align_tobytes(yasm_bytecode *bc, unsigned char **bufp, argument
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
[all...]
/external/ppp/pppd/
H A Dcbcp.c369 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/
H A DSDL_string.c384 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/chromium_org/third_party/openssl/openssl/crypto/
H A Dmem_dbg.c667 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
[all...]
/external/openssl/crypto/
H A Dmem_dbg.c667 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
[all...]
/external/srec/srec/crec/
H A Dsrec_debug.c28 char *bufp = &buf[0]; local
35 bufp += sprintf(bufp, "%d,", awtoken->word);
38 if (bufp > &buf[0]) *(bufp - 1) = 0;

Completed in 593 milliseconds

123