/external/syslinux/core/lwip/src/include/lwip/ |
pbuf.h | 58 PBUF_RAM, /* pbuf data is stored in RAM */ 59 PBUF_ROM, /* pbuf data is stored in ROM */ 60 PBUF_REF, /* pbuf comes from the pbuf pool */ 61 PBUF_POOL /* pbuf payload refers to RAM */ 67 /** indicates this is a custom pbuf: pbuf_free and pbuf_header handle such a 68 a pbuf differently */ 70 /** indicates this pbuf is UDP multicast to be looped back */ 73 struct pbuf { struct 74 /** next pbuf in singly linked pbuf chain * 113 struct pbuf pbuf; member in struct:pbuf_custom [all...] |
snmp_asn1.h | 40 #include "lwip/pbuf.h" 77 err_t snmp_asn1_dec_type(struct pbuf *p, u16_t ofs, u8_t *type); 78 err_t snmp_asn1_dec_length(struct pbuf *p, u16_t ofs, u8_t *octets_used, u16_t *length); 79 err_t snmp_asn1_dec_u32t(struct pbuf *p, u16_t ofs, u16_t len, u32_t *value); 80 err_t snmp_asn1_dec_s32t(struct pbuf *p, u16_t ofs, u16_t len, s32_t *value); 81 err_t snmp_asn1_dec_oid(struct pbuf *p, u16_t ofs, u16_t len, struct snmp_obj_id *oid); 82 err_t snmp_asn1_dec_raw(struct pbuf *p, u16_t ofs, u16_t len, u16_t raw_len, u8_t *raw); 88 err_t snmp_asn1_enc_type(struct pbuf *p, u16_t ofs, u8_t type); 89 err_t snmp_asn1_enc_length(struct pbuf *p, u16_t ofs, u16_t length); 90 err_t snmp_asn1_enc_u32t(struct pbuf *p, u16_t ofs, u16_t octets_needed, u32_t value) [all...] |
raw.h | 39 #include "lwip/pbuf.h" 57 * If returning 1, the callback is responsible for freeing the pbuf 60 typedef u8_t (*raw_recv_fn)(void *arg, struct raw_pcb *pcb, struct pbuf *p, 85 err_t raw_sendto (struct raw_pcb *pcb, struct pbuf *p, ip_addr_t *ipaddr); 86 err_t raw_send (struct raw_pcb *pcb, struct pbuf *p); 89 u8_t raw_input (struct pbuf *p, struct netif *inp);
|
udp.h | 39 #include "lwip/pbuf.h" 75 * The callback is responsible for freeing the pbuf 78 * ATTENTION: Be aware that 'addr' points into the pbuf 'p' so freeing this pbuf 87 typedef void (*udp_recv_fn)(void *arg, struct udp_pcb *pcb, struct pbuf *p, 132 err_t udp_sendto_if (struct udp_pcb *pcb, struct pbuf *p, 135 err_t udp_sendto (struct udp_pcb *pcb, struct pbuf *p, 137 err_t udp_send (struct udp_pcb *pcb, struct pbuf *p); 140 err_t udp_sendto_if_chksum(struct udp_pcb *pcb, struct pbuf *p, 144 err_t udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p [all...] |
/external/syslinux/core/lwip/src/include/ipv4/lwip/ |
ip_frag.h | 38 #include "lwip/pbuf.h" 56 struct pbuf *p; 65 struct pbuf * ip_reass(struct pbuf *p); 70 /** A custom pbuf that holds a reference to another pbuf, which is freed 71 * when this custom pbuf is freed. This is used to create a custom PBUF_REF 72 * that points into the original pbuf. */ 76 /** pointer to the original pbuf that is referenced */ 77 struct pbuf *original [all...] |
inet_chksum.h | 37 #include "lwip/pbuf.h" 74 u16_t inet_chksum_pbuf(struct pbuf *p); 75 u16_t inet_chksum_pseudo(struct pbuf *p, 78 u16_t inet_chksum_pseudo_partial(struct pbuf *p,
|
icmp.h | 36 #include "lwip/pbuf.h" 101 void icmp_input(struct pbuf *p, struct netif *inp); 102 void icmp_dest_unreach(struct pbuf *p, enum icmp_dur_type t); 103 void icmp_time_exceeded(struct pbuf *p, enum icmp_te_type t);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
_codecsmodule.c | 236 Py_buffer pbuf;
local 243 &pbuf, &errors, &final))
245 consumed = pbuf.len;
247 decoded = PyUnicode_DecodeUTF7Stateful(pbuf.buf, pbuf.len, errors,
249 PyBuffer_Release(&pbuf);
259 Py_buffer pbuf;
local 266 &pbuf, &errors, &final))
268 consumed = pbuf.len;
270 decoded = PyUnicode_DecodeUTF8Stateful(pbuf.buf, pbuf.len, errors, 282 Py_buffer pbuf; local 305 Py_buffer pbuf; local 329 Py_buffer pbuf; local 361 Py_buffer pbuf; local 386 Py_buffer pbuf; local 409 Py_buffer pbuf; local 432 Py_buffer pbuf; local 463 Py_buffer pbuf; local 488 Py_buffer pbuf; local 505 Py_buffer pbuf; local 522 Py_buffer pbuf; local 539 Py_buffer pbuf; local 556 Py_buffer pbuf; local 578 Py_buffer pbuf; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
_codecsmodule.c | 236 Py_buffer pbuf;
local 243 &pbuf, &errors, &final))
245 consumed = pbuf.len;
247 decoded = PyUnicode_DecodeUTF7Stateful(pbuf.buf, pbuf.len, errors,
249 PyBuffer_Release(&pbuf);
259 Py_buffer pbuf;
local 266 &pbuf, &errors, &final))
268 consumed = pbuf.len;
270 decoded = PyUnicode_DecodeUTF8Stateful(pbuf.buf, pbuf.len, errors, 282 Py_buffer pbuf; local 305 Py_buffer pbuf; local 329 Py_buffer pbuf; local 361 Py_buffer pbuf; local 386 Py_buffer pbuf; local 409 Py_buffer pbuf; local 432 Py_buffer pbuf; local 463 Py_buffer pbuf; local 488 Py_buffer pbuf; local 505 Py_buffer pbuf; local 522 Py_buffer pbuf; local 539 Py_buffer pbuf; local 556 Py_buffer pbuf; local 578 Py_buffer pbuf; local [all...] |
/external/python/cpython2/Modules/ |
_codecsmodule.c | 236 Py_buffer pbuf; local 243 &pbuf, &errors, &final)) 245 consumed = pbuf.len; 247 decoded = PyUnicode_DecodeUTF7Stateful(pbuf.buf, pbuf.len, errors, 249 PyBuffer_Release(&pbuf); 259 Py_buffer pbuf; local 266 &pbuf, &errors, &final)) 268 consumed = pbuf.len; 270 decoded = PyUnicode_DecodeUTF8Stateful(pbuf.buf, pbuf.len, errors 282 Py_buffer pbuf; local 305 Py_buffer pbuf; local 329 Py_buffer pbuf; local 361 Py_buffer pbuf; local 386 Py_buffer pbuf; local 409 Py_buffer pbuf; local 432 Py_buffer pbuf; local 463 Py_buffer pbuf; local 488 Py_buffer pbuf; local 505 Py_buffer pbuf; local 522 Py_buffer pbuf; local 539 Py_buffer pbuf; local 556 Py_buffer pbuf; local 578 Py_buffer pbuf; local [all...] |
/external/mesa3d/src/glx/apple/ |
apple_glx_pbuffer.c | 74 struct apple_glx_pbuffer *pbuf = &d->types.pbuffer; local 79 cglerr = apple_cgl.set_pbuffer(ac->context_obj, pbuf->buffer_obj, 0, 0, 0); 87 apple_glapi_oglfw_viewport_scissor(0, 0, pbuf->width, pbuf->height); 99 struct apple_glx_pbuffer *pbuf = &d->types.pbuffer; local 106 apple_cgl.destroy_pbuffer(pbuf->buffer_obj); 107 XFreePixmap(dpy, pbuf->xid); 112 apple_glx_pbuffer_destroy(Display * dpy, GLXPbuffer pbuf) 114 return !apple_glx_drawable_destroy_by_type(dpy, pbuf, 125 struct apple_glx_pbuffer *pbuf = NULL local 265 struct apple_glx_pbuffer *pbuf; local [all...] |
/external/syslinux/core/lwip/src/core/ |
pbuf.c | 5 * Packets are built from the pbuf data structure. It supports dynamic 11 * list. This is called a "pbuf chain". 16 * So, a packet queue consists of one or more pbuf chains, each of 20 * The differences between a pbuf chain and a packet queue are very 23 * The last pbuf of a packet has a ->tot_len field that equals the 25 * pbuf of a packet has a ->next field other than NULL, more packets 28 * Therefore, looping through a pbuf of a single packet, has an 70 #include "lwip/pbuf.h" 82 #define SIZEOF_STRUCT_PBUF LWIP_MEM_ALIGN_SIZE(sizeof(struct pbuf)) 154 * Allocates a pbuf of the given type (possibly a chain for PBUF_POOL type) [all...] |
/external/libmtp/util/ |
mtp-probe.c | 65 char pbuf[FILENAME_MAX]; local 76 strcpy(pbuf, path); 77 pbuf[len++] = '/'; 80 strncpy(pbuf + len, "type", FILENAME_MAX - len); 81 pbuf[FILENAME_MAX - 1] = '\0'; /* Sentinel */ 83 fd = open(pbuf, O_RDONLY); 101 strncpy(pbuf + len, "direction", FILENAME_MAX - len); 102 pbuf[FILENAME_MAX - 1] = '\0'; /* Sentinel */ 104 fd = open(pbuf, O_RDONLY); 135 char pbuf[FILENAME_MAX] local [all...] |
/external/ltp/testcases/kernel/syscalls/open/ |
open09.c | 47 char pbuf[BUFSIZ]; local 61 ret = read(fildes, pbuf, 1); 73 ret = write(fildes, pbuf, 1);
|
/external/syslinux/core/lwip/src/netif/ppp/ |
vj.h | 151 extern u_int vj_compress_tcp (struct vjcompress *comp, struct pbuf *pb); 153 extern int vj_uncompress_uncomp(struct pbuf *nb, struct vjcompress *comp); 154 extern int vj_uncompress_tcp (struct pbuf **nb, struct vjcompress *comp);
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
ec_gains.cpp | 545 tmp = gmed_n (st->pbuf, 5); 593 tmp = gmed_n(st->pbuf, 5); 657 state->pbuf[i] = 1640; 697 state->pbuf[i] = 1640; 779 st->pbuf[i - 1] = st->pbuf[i]; 781 st->pbuf[4] = st->past_gain_pit; 837 st->pbuf[i - 1] = st->pbuf[i]; 839 st->pbuf[4] = st->past_gain_pit [all...] |
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
open_memstream.c | 31 char **pbuf; /* point to the stream */ member in struct:state 57 *st->pbuf = st->string = p; 114 open_memstream(char **pbuf, size_t *psize) 119 if (pbuf == NULL || psize == NULL) { 142 st->pbuf = pbuf; 145 *pbuf = st->string;
|
open_wmemstream.c | 32 wchar_t **pbuf; /* point to the stream */ member in struct:state 59 *st->pbuf = st->string = p; 124 open_wmemstream(wchar_t **pbuf, size_t *psize) 129 if (pbuf == NULL || psize == NULL) { 152 st->pbuf = pbuf; 156 *pbuf = st->string;
|
/external/ipsec-tools/src/racoon/ |
isakmp_newg.c | 89 vchar_t *pbuf = NULL; 92 if ((pbuf = isakmp_parse(msg)) == NULL) 95 for (pa = (struct isakmp_parse_t *)pbuf->v; 106 vfree(pbuf); 117 vfree(pbuf); 131 vfree(pbuf); 135 vfree(pbuf);
|
/external/syslinux/core/lwip/src/netif/ |
ethernetif.c | 52 #include "lwip/pbuf.h" 109 * contained in the pbuf that is passed to the function. This pbuf 124 low_level_output(struct netif *netif, struct pbuf *p) 127 struct pbuf *q; 136 /* Send the data from the pbuf to the interface, one pbuf at a 137 time. The size of the data in each pbuf is kept in the ->len 154 * Should allocate a pbuf and transfer the bytes of the incoming 155 * packet from the interface into the pbuf [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
dec_gain2_amr_wb.cpp | 156 /* next 5 pbuf[] */ 185 int16 *past_gain_pit, *past_gain_code, *past_qua_en, *gbuf, *pbuf, *prev_gc; local 196 pbuf = mem + 7; 219 tmp = median5(&pbuf[2]); 284 pbuf[i - 1] = pbuf[i]; 287 pbuf[4] = *past_gain_pit; 360 tmp1 = pbuf[1]; 365 pbuf[i - 1] = tmp1; 368 tmp1 = pbuf[i] [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
structseq.c | 245 char *endofbuf, *pbuf = buf;
local 257 strncpy(pbuf, typ->tp_name, len);
258 pbuf += len;
259 *pbuf++ = '(';
285 if ((pbuf+len) <= endofbuf) {
286 strcpy(pbuf, cname);
287 pbuf += strlen(cname);
288 *pbuf++ = '=';
289 strcpy(pbuf, crepr);
290 pbuf += strlen(crepr); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
structseq.c | 244 char *endofbuf, *pbuf = buf;
local 256 strncpy(pbuf, typ->tp_name, len);
257 pbuf += len;
258 *pbuf++ = '(';
284 if ((pbuf+len) <= endofbuf) {
285 strcpy(pbuf, cname);
286 pbuf += strlen(cname);
287 *pbuf++ = '=';
288 strcpy(pbuf, crepr);
289 pbuf += strlen(crepr); [all...] |
/external/python/cpython2/Objects/ |
structseq.c | 245 char *endofbuf, *pbuf = buf; local 257 strncpy(pbuf, typ->tp_name, len); 258 pbuf += len; 259 *pbuf++ = '('; 285 if ((pbuf+len) <= endofbuf) { 286 strcpy(pbuf, cname); 287 pbuf += strlen(cname); 288 *pbuf++ = '='; 289 strcpy(pbuf, crepr); 290 pbuf += strlen(crepr) [all...] |
/external/python/cpython3/Objects/ |
structseq.c | 171 char *endofbuf, *pbuf = buf; local 179 strncpy(pbuf, typ->tp_name, len); 180 pbuf += len; 181 *pbuf++ = '('; 205 if ((pbuf+len) <= endofbuf) { 206 strcpy(pbuf, cname); 207 pbuf += strlen(cname); 208 *pbuf++ = '='; 209 strcpy(pbuf, crepr); 210 pbuf += strlen(crepr) [all...] |