Home
last modified time | relevance | path

Searched refs:bufp (Results 1 – 25 of 69) sorted by relevance

123

/external/elfutils/libcpu/
Di386_data.h127 d->bufp[(*d->bufcntp)++] = '%'; in data_prefix()
128 d->bufp[(*d->bufcntp)++] = ch; in data_prefix()
129 d->bufp[(*d->bufcntp)++] = 's'; in data_prefix()
130 d->bufp[(*d->bufcntp)++] = ':'; in data_prefix()
165 char *bufp = d->bufp; in general_mod$r_m() local
207 memcpy (&bufp[*bufcntp], tmpbuf, n + 1); in general_mod$r_m()
281 memcpy (&bufp[*bufcntp], tmpbuf, n + 1); in general_mod$r_m()
379 memcpy (&bufp[*bufcntp], tmpbuf, cp - tmpbuf); in general_mod$r_m()
400 char *buf = d->bufp + *bufcntp; in FCT_MOD$R_M()
431 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%xmm%" PRIxFAST8, in FCT_Mod$R_m()
[all …]
/external/libpcap/
Ddlpisubs.c122 int count, u_char *bufp, int len) in pcap_process_pkts() argument
136 ep = bufp + len; in pcap_process_pkts()
140 while (bufp < ep) { in pcap_process_pkts()
155 p->bp = bufp; in pcap_process_pkts()
156 p->cc = ep - bufp; in pcap_process_pkts()
161 if ((long)bufp & 3) { in pcap_process_pkts()
163 memcpy(sbp, bufp, sizeof(*sbp)); in pcap_process_pkts()
166 sbp = (struct sb_hdr *)bufp; in pcap_process_pkts()
168 pk = bufp + sizeof(*sbp); in pcap_process_pkts()
169 bufp += sbp->sbh_totlen; in pcap_process_pkts()
[all …]
Dpcap-libdlpi.c335 u_char *bufp; in pcap_read_libdlpi() local
341 bufp = p->bp; in pcap_read_libdlpi()
357 bufp = (u_char *)p->buffer + p->offset; in pcap_read_libdlpi()
359 retv = dlpi_recv(pd->dlpi_hd, NULL, NULL, bufp, in pcap_read_libdlpi()
379 return (pcap_process_pkts(p, callback, user, count, bufp, len)); in pcap_read_libdlpi()
/external/selinux/policycoreutils/sestatus/
Dsestatus.c92 char buf[255], *bufp; in load_checks() local
110 bufp = buf; in load_checks()
111 while (*bufp && isspace(*bufp)) { in load_checks()
112 bufp++; in load_checks()
116 if (*bufp == '#') in load_checks()
120 if (*bufp) { in load_checks()
121 if (!(*bufp)) in load_checks()
124 if (strncmp(bufp, PROCS, proclen) == 0) in load_checks()
126 else if (strncmp(bufp, FILES, filelen) == 0) in load_checks()
136 memcpy(pc[*npc], bufp, buf_len); in load_checks()
[all …]
/external/icu/icu4c/source/test/letest/
Dgendata.cpp102 le_int32 bufp = 0; in dumpLongs() local
107 if (i % 8 == 0 && bufp != 0) { in dumpLongs()
109 bufp = 0; in dumpLongs()
112 bufp += sprintf(&lineBuffer[bufp], "0x%8.8X, ", longs[i]); in dumpLongs()
115 if (bufp != 0) { in dumpLongs()
116 lineBuffer[bufp - 2] = '\0'; in dumpLongs()
125 le_int32 bufp = 0; in dumpFloats() local
130 if (i % 8 == 0 && bufp != 0) { in dumpFloats()
132 bufp = 0; in dumpFloats()
135 bufp += sprintf(&lineBuffer[bufp], "%f, ", floats[i]); in dumpFloats()
[all …]
/external/syslinux/com32/lib/sys/
Drawcon_read.c45 char *bufp = buf; in __rawcon_read() local
54 *bufp++ = hi; in __rawcon_read()
65 *bufp = getchar(&hi); in __rawcon_read()
66 if (!*bufp) in __rawcon_read()
69 bufp++; in __rawcon_read()
Dfileread.c60 char *bufp = buf; in __file_read() local
71 ncopy = pmapi_read_file(&fp->i.fd.handle, bufp, in __file_read()
86 memcpy(bufp, fp->i.datap, ncopy); in __file_read()
94 bufp += ncopy; in __file_read()
Dstdcon_write.c61 const char *bufp = buf; in __stdcon_write() local
67 if (*bufp == '\n') in __stdcon_write()
70 writechr(*bufp++); in __stdcon_write()
Drawcon_write.c44 const char *bufp = buf; in __rawcon_write() local
50 writechr(*bufp++); in __rawcon_write()
Dserial_write.c44 const char *bufp = buf; in __serial_write() local
53 write_serial(*bufp++); in __serial_write()
/external/autotest/client/tests/monotonic_time/src/
Dcpuset.c112 char *bufp = buf; in show_cpu_set() local
125 if ((n = show_range(bufp, len, sep, start, end)) < 0) in show_cpu_set()
128 bufp += n; in show_cpu_set()
136 if ((n = show_range(bufp, len, sep, start, end)) < 0) in show_cpu_set()
138 bufp += n; in show_cpu_set()
141 return bufp - buf; in show_cpu_set()
/external/selinux/policycoreutils/run_init/
Drun_init.c302 char buf[255], *bufp; local
322 bufp = buf;
323 while (*bufp && isspace(*bufp))
324 bufp++;
326 if (*bufp) {
327 *context = strdup(bufp);
/external/ppp/pppd/
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/syslinux/com32/menu/
Drefstr.c66 int vrsprintf(const char **bufp, const char *fmt, va_list ap) in vrsprintf() argument
76 *bufp = p = refstr_alloc(len); in vrsprintf()
83 int rsprintf(const char **bufp, const char *fmt, ...) in rsprintf() argument
89 rv = vrsprintf(bufp, fmt, ap); in rsprintf()
/external/syslinux/com32/elflink/ldlinux/
Drefstr.c67 int vrsprintf(const char **bufp, const char *fmt, va_list ap) in vrsprintf() argument
77 *bufp = p = refstr_alloc(len); in vrsprintf()
84 int rsprintf(const char **bufp, const char *fmt, ...) in rsprintf() argument
90 rv = vrsprintf(bufp, fmt, ap); in rsprintf()
/external/syslinux/libinstaller/
Dsyslxcom.c61 char *bufp = (char *)buf; in xpread() local
66 rv = pread(fd, bufp, count, offset); in xpread()
76 bufp += rv; in xpread()
88 const char *bufp = (const char *)buf; in xpwrite() local
93 rv = pwrite(fd, bufp, count, offset); in xpwrite()
103 bufp += rv; in xpwrite()
/external/valgrind/memcheck/tests/solaris/
Dscalar_modctl_modnvl.stderr.exp10 Syscall param modctl_modnvl_devlinksync_get(bufp) contains uninitialised byte(s)
32 Syscall param modctl_modnvl_devlinksync_get(bufp) contains uninitialised byte(s)
38 Syscall param modctl(bufp) points to unaddressable byte(s)
55 Syscall param modctl_modnvl_devlinksync_update(bufp) contains uninitialised byte(s)
74 Syscall param modctl_modnvl_devlinksync_update(bufp) contains uninitialised byte(s)
81 Syscall param modctl(bufp) points to unaddressable byte(s)
/external/curl/src/
Dtool_easysrc.c111 char *bufp; in easysrc_addf() local
114 bufp = curlx_mvaprintf(fmt, ap); in easysrc_addf()
116 if(! bufp) { in easysrc_addf()
120 ret = easysrc_add(plist, bufp); in easysrc_addf()
121 curl_free(bufp); in easysrc_addf()
Dtool_paramhlp.h28 ParameterError file2string(char **bufp, FILE *file);
30 ParameterError file2memory(char **bufp, size_t *size, FILE *file);
/external/elfutils/libasm/
Ddisasm_str.c63 GElf_Addr addr, const char *fmt, char **bufp, size_t len, in disasm_str() argument
66 struct buffer buffer = { .buf = *bufp, .len = len }; in disasm_str()
70 *bufp = buffer.buf; in disasm_str()
/external/c-ares/
Dares_mkquery.c89 int rd, unsigned char **bufp, int *buflenp) in ares_mkquery() argument
99 *bufp = NULL; in ares_mkquery()
186 *bufp = buf; in ares_mkquery()
/external/syslinux/mtools/
Dsyslinux.c66 char *bufp = (char *)buf; in xpread() local
71 rv = pread(fd, bufp, count, offset); in xpread()
81 bufp += rv; in xpread()
93 const char *bufp = (const char *)buf; in xpwrite() local
98 rv = pwrite(fd, bufp, count, offset); in xpwrite()
108 bufp += rv; in xpwrite()
/external/syslinux/gpxe/src/crypto/
Dcrandom.c43 u8 *bufp = buf; in get_random_bytes() local
53 *bufp++ = ( random() >> 16 ) & 0xFF; in get_random_bytes()
/external/syslinux/com32/lib/
Dvasprintf.c9 int vasprintf(char **bufp, const char *format, va_list ap) in vasprintf() argument
20 *bufp = p = malloc(bytes); in vasprintf()
Dasprintf.c9 int asprintf(char **bufp, const char *format, ...) in asprintf() argument
22 *bufp = p = malloc(bytes); in asprintf()

123