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

12

/external/syslinux/gpxe/src/crypto/
H A Dcrandom.c43 u8 *bufp = buf; local
53 *bufp++ = ( random() >> 16 ) & 0xFF;
/external/syslinux/com32/lib/sys/
H A Drawcon_write.c44 const char *bufp = buf; local
50 writechr(*bufp++);
H A Dserial_write.c44 const char *bufp = buf; local
53 write_serial(*bufp++);
H A Dfileread.c60 char *bufp = buf; local
71 ncopy = pmapi_read_file(&fp->i.fd.handle, bufp,
86 memcpy(bufp, fp->i.datap, ncopy);
94 bufp += ncopy;
H A Drawcon_read.c45 char *bufp = buf; local
54 *bufp++ = hi;
65 *bufp = getchar(&hi);
66 if (!*bufp)
69 bufp++;
H A Dstdcon_read.c44 char *bufp = buf; local
52 ch = *bufp++ = *fp->i.datap++;
H A Dstdcon_write.c61 const char *bufp = buf; local
67 if (*bufp == '\n')
70 writechr(*bufp++);
H A Dxserial_write.c51 const char *bufp = buf; local
65 unsigned char ch = *bufp++;
H A Dansicon_write.c183 const unsigned char *bufp = buf; local
192 __ansi_putchar(&ti, *bufp++);
H A Dvesacon_write.c167 const unsigned char *bufp = buf; local
177 __ansi_putchar(&ti, *bufp++);
/external/syslinux/com32/lib/
H A Dvasprintf.c9 int vasprintf(char **bufp, const char *format, va_list ap) argument
20 *bufp = p = malloc(bytes);
H A Dasprintf.c9 int asprintf(char **bufp, const char *format, ...) argument
22 *bufp = p = malloc(bytes);
/external/c-ares/
H A Dares_mkquery.c89 int rd, unsigned char **bufp, int *buflenp)
99 *bufp = NULL;
186 *bufp = buf;
88 ares_mkquery(const char *name, int dnsclass, int type, unsigned short id, int rd, unsigned char **bufp, int *buflenp) argument
/external/elfutils/libasm/
H A Ddisasm_str.c63 GElf_Addr addr, const char *fmt, char **bufp, size_t len,
66 struct buffer buffer = { .buf = *bufp, .len = len };
70 *bufp = buffer.buf;
62 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/syslinux/com32/elflink/ldlinux/
H A Drefstr.c67 int vrsprintf(const char **bufp, const char *fmt, va_list ap) argument
77 *bufp = p = refstr_alloc(len);
84 int rsprintf(const char **bufp, const char *fmt, ...) argument
90 rv = vrsprintf(bufp, fmt, ap);
/external/syslinux/com32/menu/
H A Drefstr.c66 int vrsprintf(const char **bufp, const char *fmt, va_list ap) argument
76 *bufp = p = refstr_alloc(len);
83 int rsprintf(const char **bufp, const char *fmt, ...) argument
89 rv = vrsprintf(bufp, fmt, ap);
/external/autotest/client/tests/monotonic_time/src/
H A Dcpuset.c112 char *bufp = buf; local
125 if ((n = show_range(bufp, len, sep, start, end)) < 0)
128 bufp += n;
136 if ((n = show_range(bufp, len, sep, start, end)) < 0)
138 bufp += n;
141 return bufp - buf;
/external/syslinux/com32/gpllib/disk/
H A Dread.c81 char *bufp = data; local
141 memcpy(bufp, buf, sectors * SECTOR);
/external/curl/src/
H A Dtool_easysrc.c111 char *bufp; local
114 bufp = curlx_mvaprintf(fmt, ap);
116 if(! bufp) {
120 ret = easysrc_add(plist, bufp);
121 curl_free(bufp);
/external/libpcap/
H A Ddlpisubs.c122 int count, u_char *bufp, int len)
136 ep = bufp + len;
140 while (bufp < ep) {
155 p->bp = bufp;
156 p->cc = ep - bufp;
161 if ((long)bufp & 3) {
163 memcpy(sbp, bufp, sizeof(*sbp));
166 sbp = (struct sb_hdr *)bufp;
168 pk = bufp + sizeof(*sbp);
169 bufp
121 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.c318 u_char *bufp; local
324 bufp = p->bp;
340 bufp = p->buffer + p->offset;
342 retv = dlpi_recv(pd->dlpi_hd, NULL, NULL, bufp,
362 return (pcap_process_pkts(p, callback, user, count, bufp, len));
/external/ltp/testcases/kernel/fs/dmapi/
H A Devent.c58 void LogEventMsgs(void *bufp) argument
61 dm_eventmsg_t *em = (dm_eventmsg_t *) bufp;
77 dm_eventmsg_t *GetSyncEventMsg(void *bufp) argument
79 dm_eventmsg_t *em = (dm_eventmsg_t *) bufp;
92 int GetNumEventMsg(void *bufp) argument
94 dm_eventmsg_t *em = (dm_eventmsg_t *) bufp;
178 * TEST : dm_get_events - invalid bufp
1555 DMLOG_PRINT(DMLVL_DEBUG, "%s(invalid bufp)\n", szFuncName);
/external/selinux/policycoreutils/run_init/
H A 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/syslinux/libinstaller/
H A Dsyslxcom.c61 char *bufp = (char *)buf; local
66 rv = pread(fd, bufp, count, offset);
76 bufp += rv;
88 const char *bufp = (const char *)buf; local
93 rv = pwrite(fd, bufp, count, offset);
103 bufp += rv;
/external/openssh/
H A Dsshbuf-getput-basic.c376 sshbuf_froms(struct sshbuf *buf, struct sshbuf **bufp) argument
383 if (buf == NULL || bufp == NULL)
385 *bufp = NULL;
395 *bufp = ret;

Completed in 1794 milliseconds

12