HomeSort by relevance Sort by last modified time
    Searched refs:lenp (Results 1 - 25 of 65) sorted by null

1 2 3

  /device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
fgetln.c 63 fgetln(FILE *fp, size_t *lenp)
68 cp = __fgetstr(fp, lenp, '\n');
fgetstr.c 98 __fgetstr(FILE *fp, size_t *lenp, int sep)
105 _DIAGASSERT(lenp != NULL);
113 *lenp = 0;
128 *lenp = len = p - fp->_p;
175 *lenp = len;
182 *lenp = 0; /* ??? */
  /external/elfutils/libdw/
dwarf_getstring.c 39 dwarf_getstring (Dwarf *dbg, Dwarf_Off offset, size_t *lenp)
59 if (lenp != NULL)
60 *lenp = endp - result;
  /device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
map_v4v6.c 112 _map_v4v6_hostent(struct hostent *hp, char **bpp, int *lenp)
123 if (*lenp < (i + IN6ADDRSZ)) {
129 *lenp -= i;
133 *lenp -= IN6ADDRSZ;
  /device/linaro/bootloader/arm-trusted-firmware/lib/libfdt/
fdt_ro.c 273 int *lenp)
279 if (lenp)
280 *lenp = err;
286 if (lenp)
287 *lenp = fdt32_to_cpu(prop->len);
295 int namelen, int *lenp)
302 if (!(prop = fdt_get_property_by_offset(fdt, offset, lenp))) {
311 if (lenp)
312 *lenp = offset;
318 const char *name, int *lenp)
    [all...]
fdt.c 96 const fdt32_t *tagp, *lenp; local
120 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp));
121 if (!lenp)
125 + fdt32_to_cpu(*lenp);
  /external/dtc/libfdt/
fdt_ro.c 273 int *lenp)
279 if (lenp)
280 *lenp = err;
286 if (lenp)
287 *lenp = fdt32_to_cpu(prop->len);
295 int namelen, int *lenp)
302 if (!(prop = fdt_get_property_by_offset(fdt, offset, lenp))) {
311 if (lenp)
312 *lenp = offset;
318 const char *name, int *lenp)
    [all...]
libfdt.h 430 * @lenp: pointer to an integer variable (will be overwritten) or NULL
433 * device tree node at structure block offset nodeoffset. If lenp is
435 * pointed to by lenp.
439 * If lenp is non-NULL, *lenp contains the length of that name
442 * if lenp is non-NULL *lenp contains an error code (<0):
449 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
523 * @lenp: pointer to an integer variable (will be overwritten) or NULL
527 * offset. If lenp is non-NULL, the length of the property value i
    [all...]
fdt.c 96 const fdt32_t *tagp, *lenp; local
120 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp));
121 if (!lenp)
125 + fdt32_to_cpu(*lenp);
  /bionic/libc/upstream-openbsd/lib/libc/stdio/
fgetln.c 64 fgetln(FILE *fp, size_t *lenp)
87 *lenp = len = p - fp->_p;
135 *lenp = len;
142 *lenp = 0;
  /device/linaro/bootloader/arm-trusted-firmware/include/lib/libfdt/
libfdt.h 419 * @lenp: pointer to an integer variable (will be overwritten) or NULL
422 * device tree node at structure block offset nodeoffset. If lenp is
424 * pointed to by lenp.
428 * If lenp is non-NULL, *lenp contains the length of that name
431 * if lenp is non-NULL *lenp contains an error code (<0):
438 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
512 * @lenp: pointer to an integer variable (will be overwritten) or NULL
516 * offset. If lenp is non-NULL, the length of the property value i
    [all...]
  /device/linaro/bootloader/edk2/EmbeddedPkg/Library/FdtLib/
fdt_ro.c 241 int *lenp)
247 if (lenp)
248 *lenp = err;
254 if (lenp)
255 *lenp = fdt32_to_cpu(prop->len);
263 int namelen, int *lenp)
270 prop = fdt_get_property_by_offset(fdt, offset, lenp);
280 if (lenp)
281 *lenp = offset;
287 const char *name, int *lenp)
    [all...]
fdt.c 95 const fdt32_t *tagp, *lenp; local
119 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp));
120 if (!lenp)
124 + fdt32_to_cpu(*lenp);
  /device/linaro/bootloader/edk2/EmbeddedPkg/Include/
libfdt.h 348 * @lenp: pointer to an integer variable (will be overwritten) or NULL
351 * device tree node at structure block offset nodeoffset. If lenp is
353 * pointed to by lenp.
357 * If lenp is non-NULL, *lenp contains the length of that name (>=0)
359 * if lenp is non-NULL *lenp contains an error code (<0):
365 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
412 * @lenp: pointer to an integer variable (will be overwritten) or NULL
416 * offset. If lenp is non-NULL, the length of the property value is
    [all...]
  /system/core/toolbox/upstream-netbsd/usr.bin/grep/
file.c 141 grep_fgetln(struct file *f, size_t *lenp)
155 *lenp = 0;
166 *lenp = len;
195 *lenp = len;
199 *lenp = 0;
  /external/dtc/
util.c 81 int lenp = strlen(path); local
87 len = lenp + lenn + 2;
88 if ((lenp > 0) && (path[lenp-1] == '/')) {
94 memcpy(str, path, lenp);
96 str[lenp] = '/';
97 lenp++;
99 memcpy(str+lenp, name, lenn+1);
  /external/libpcap/
pcap-win32.c 298 pcap_oid_get_request_win32(pcap_t *p, bpf_u_int32 oid, void *data, size_t *lenp)
305 * It should be big enough to hold "*lenp" bytes of data; it
310 oid_data_arg = malloc(sizeof (PACKET_OID_DATA) + *lenp);
321 oid_data_arg->Length = (ULONG)(*lenp); /* XXX - check for ridiculously large value? */
333 *lenp = oid_data_arg->Length;
338 memcpy(data, oid_data_arg->Data, *lenp);
345 size_t *lenp)
352 * It should be big enough to hold "*lenp" bytes of data; it
357 oid_data_arg = malloc(sizeof (PACKET_OID_DATA) + *lenp);
365 oid_data_arg->Length = (ULONG)(*lenp); /* XXX - check for ridiculously large value? *
    [all...]
savefile.c 171 size_t *lenp _U_)
180 size_t *lenp _U_)
  /external/ipsec-tools/src/racoon/
gssapi.c 275 gssapi_get_itoken(struct ph1handle *iph1, int *lenp)
333 if (lenp)
334 *lenp = itoken->length;
346 gssapi_get_rtoken(struct ph1handle *iph1, int *lenp)
394 if (lenp)
395 *lenp = itoken->length;
  /external/iptables/extensions/
libxt_bpf.c 79 static void bpf_parse_string(struct sock_filter *pc, __u16 *lenp, __u16 len_max,
121 *lenp = len;
  /device/linaro/bootloader/arm-trusted-firmware/lib/stdlib/
subr_prf.c 194 ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper)
204 if (lenp)
205 *lenp = p - nbuf;
  /toolchain/binutils/binutils-2.27/bfd/
hash.c 431 bfd_hash_hash (const char *string, unsigned int *lenp)
449 if (lenp != NULL)
450 *lenp = len;
  /external/ppp/pppd/
ccp.c 689 ccp_addci(f, p, lenp)
692 int *lenp;
800 *lenp = p - p0;
1069 ccp_reqci(f, p, lenp, dont_nak)
1072 int *lenp;
1087 len = *lenp;
    [all...]
lcp.c 707 lcp_addci(f, ucp, lenp)
710 int *lenp;
779 if (ucp - start_ucp != *lenp) {
    [all...]
  /external/elfutils/src/
ar.c 852 write_member (struct armem *memb, off_t *startp, off_t *lenp, Elf *elf,
872 if (*startp != -1 && !changed_header && *startp + *lenp == memb->old_off)
875 *lenp += (memb->next != NULL
881 if (*startp != -1 && copy_content (elf, newfd, *startp, *lenp))
885 *lenp = (memb->next != NULL ? memb->next->off : end_off) - memb->off;
896 assert ((size_t) *lenp >= sizeof (struct ar_hdr));
897 *lenp -= sizeof (struct ar_hdr);
    [all...]

Completed in 727 milliseconds

1 2 3