Searched defs:bufp (Results 1 - 25 of 55) sorted by relevance

123

/external/libselinux/src/
H A Denabled.c15 char *bufp; local
41 while ((bufp = fgets(buf, sizeof buf - 1, fp)) != NULL) {
48 if (!bufp)
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)
/external/qemu/distrib/libselinux/src/
H A Denabled.c15 char *bufp; local
41 while ((bufp = fgets(buf, sizeof buf - 1, fp)) != NULL) {
48 if (!bufp)
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)
/external/elfutils/0.153/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/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];
H A Df_string.c102 unsigned char *bufp; local
148 bufp=(unsigned char *)buf;
179 m=bufp[k+n];
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dbc-reserve.c52 static int bc_reserve_tobytes(yasm_bytecode *bc, unsigned char **bufp,
117 bc_reserve_tobytes(yasm_bytecode *bc, unsigned char **bufp, argument
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...]
H A Dbc-incbin.c60 static int bc_incbin_tobytes(yasm_bytecode *bc, unsigned char **bufp,
198 bc_incbin_tobytes(yasm_bytecode *bc, unsigned char **bufp, argument
235 if (fread(*bufp, 1, (size_t)bc->len, f) < (size_t)bc->len) {
243 *bufp += bc->len;
H A Dbc-org.c54 static int bc_org_tobytes(yasm_bytecode *bc, unsigned char **bufp,
123 bc_org_tobytes(yasm_bytecode *bc, unsigned char **bufp, argument
139 YASM_WRITE_8(*bufp, org->fill); /* XXX: handle more than 8 bit? */
/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];
H A Df_string.c102 unsigned char *bufp; local
148 bufp=(unsigned char *)buf;
179 m=bufp[k+n];
/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;
/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/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...]
/external/ltrace/
H A Dglob.c80 append(char **bufp, const char *str, size_t str_size, argument
88 char *nbuf = realloc(*bufp, nalloc);
92 *bufp = nbuf;
95 memcpy(*bufp + *sizep, str, str_size);
/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/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/dwarf2/
H A Ddwarf2-dbgfmt.c48 (yasm_bytecode *bc, unsigned char **bufp, unsigned char *bufstart, void *d,
250 dwarf2_head_bc_tobytes(yasm_bytecode *bc, unsigned char **bufp, argument
258 unsigned char *buf = *bufp;
303 *bufp = buf;
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/coff/
H A Dwin64-except.c50 (yasm_bytecode *bc, unsigned char **bufp, unsigned char *bufstart, void *d,
65 (yasm_bytecode *bc, unsigned char **bufp, unsigned char *bufstart, void *d,
281 win64_uwinfo_bc_tobytes(yasm_bytecode *bc, unsigned char **bufp, argument
287 unsigned char *buf = *bufp;
325 *bufp = buf;
462 win64_uwcode_bc_tobytes(yasm_bytecode *bc, unsigned char **bufp, argument
468 unsigned char *buf = *bufp;
491 *bufp = buf;
557 *bufp = buf;
/external/libpcap/
H A Ddlpisubs.c126 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
125 pcap_process_pkts(pcap_t *p, pcap_handler callback, u_char *user, int count, u_char *bufp, int len) argument
[all...]
H A Dpcap-libdlpi.c306 u_char *bufp; local
312 bufp = p->bp;
328 bufp = p->buffer + p->offset;
330 retv = dlpi_recv(pd->dlpi_hd, NULL, NULL, bufp,
350 return (pcap_process_pkts(p, callback, user, count, bufp, len));

Completed in 378 milliseconds

123