Home
last modified time | relevance | path

Searched refs:pent (Results 1 – 16 of 16) sorted by relevance

/external/tcpdump/
Dprint-cnfp.c161 struct protoent *pent; in cnfp_v1_print() local
213 pent = getprotobynumber(nr->proto); in cnfp_v1_print()
214 if (!pent || ndo->ndo_nflag) in cnfp_v1_print()
217 ND_PRINT((ndo, "%s ", pent->p_name)); in cnfp_v1_print()
220 if (pent && pent->p_proto == IPPROTO_TCP) { in cnfp_v1_print()
251 struct protoent *pent; in cnfp_v5_print() local
310 pent = getprotobynumber(nr->proto); in cnfp_v5_print()
311 if (!pent || ndo->ndo_nflag) in cnfp_v5_print()
314 ND_PRINT((ndo, "%s ", pent->p_name)); in cnfp_v5_print()
317 if (pent && pent->p_proto == IPPROTO_TCP) { in cnfp_v5_print()
[all …]
/external/e2fsprogs/lib/ext2fs/
Ddosio.c185 PTABLE_ENTRY *pent; in dos_open() local
311 pent = (PTABLE_ENTRY*)&sec[0x1BE]; in dos_open()
312 pent = scan_partition_table(pent, part->phys, &part->pno); in dos_open()
314 if(!pent) in dos_open()
329 fsec = (unsigned long)(pent->start_sec & 0x3F); in dos_open()
330 fhead = (unsigned long)pent->start_head; in dos_open()
331 fcyl = ((pent->start_sec >> 6) << 8) + pent->start_cyl; in dos_open()
334 part->len = pent->size; in dos_open()
/external/iptables/extensions/
Dlibip6t_ipv6header.c70 const struct protoent *pent = getprotobynumber(proto); in proto_to_name() local
71 if (pent) in proto_to_name()
72 return pent->p_name; in proto_to_name()
86 const struct protoent *pent; in name_to_proto() local
88 if ((pent = getprotobyname(s))) in name_to_proto()
89 proto = pent->p_proto; in name_to_proto()
/external/f2fs-tools/tools/
Df2fs_io_parse.c164 struct pid_ent *pent; in handle_tp_pid() local
166 pent = calloc(1, sizeof(struct pid_ent)); in handle_tp_pid()
167 assert(pent); in handle_tp_pid()
170 pent->pid = atoh(ptr); in handle_tp_pid()
173 strcpy(pent->name, ptr); in handle_tp_pid()
175 LIST_INSERT_HEAD(&pid_info, pent, ptr); in handle_tp_pid()
/external/iptables/iptables/
Dxshared.c55 struct protoent *pent = getprotobynumber(proto); in proto_to_name() local
56 if (pent) in proto_to_name()
57 return pent->p_name; in proto_to_name()
Dnft-shared.c371 const struct protoent *pent = getprotobynumber(proto); in print_proto() local
376 if (pent) { in print_proto()
377 printf("-p %s ", pent->p_name); in print_proto()
713 const struct protoent *pent = getprotobynumber(proto); in save_firewall_details() local
718 if (pent) in save_firewall_details()
719 printf("-p %s ", pent->p_name); in save_firewall_details()
Dnft-ipv6.c415 const struct protoent *pent = in nft_ipv6_xlate() local
419 if (!xlate_find_match(cs, pent->p_name)) { in nft_ipv6_xlate()
426 pent ? pent->p_name : protonum); in nft_ipv6_xlate()
Dnft-ipv4.c458 const struct protoent *pent = in nft_ipv4_xlate() local
462 if (!xlate_find_match(cs, pent->p_name)) { in nft_ipv4_xlate()
469 pent ? pent->p_name : protonum); in nft_ipv4_xlate()
Dip6tables.c1017 const struct protoent *pent = getprotobynumber(proto); in print_proto() local
1018 if (pent) { in print_proto()
1020 invertstr, pent->p_name); in print_proto()
Diptables.c974 const struct protoent *pent = getprotobynumber(proto); in print_proto() local
975 if (pent) { in print_proto()
976 printf("%s -p %s", invertstr, pent->p_name); in print_proto()
/external/strace/
Dstrace.c1799 struct passwd *pent; in init() local
1804 pent = getpwnam(username); in init()
1805 if (pent == NULL) { in init()
1808 run_uid = pent->pw_uid; in init()
1809 run_gid = pent->pw_gid; in init()
/external/libdrm/
Dxf86drm.c2767 struct dirent *pent, *ent; in drmGetMinorNameForFD() local
2799 pent = malloc(offsetof(struct dirent, d_name) + name_max + 1); in drmGetMinorNameForFD()
2800 if (pent == NULL) in drmGetMinorNameForFD()
2803 while (readdir_r(sysdir, pent, &ent) == 0 && ent != NULL) { in drmGetMinorNameForFD()
2808 free(pent); in drmGetMinorNameForFD()
2815 free(pent); in drmGetMinorNameForFD()
/external/iptables/libxtables/
Dxtables.c1914 const struct protoent *pent; in xtables_parse_protocol() local
1927 pent = getprotobyname(s); in xtables_parse_protocol()
1928 if (pent != NULL) in xtables_parse_protocol()
1929 return pent->p_proto; in xtables_parse_protocol()
/external/openssh/
Dmonitor.c556 struct mon_table **pent) in monitor_read() argument
613 if (pent != NULL) in monitor_read()
614 *pent = ent; in monitor_read()
/external/hyphenation-patterns/fr/
Dhyph-fr.pat.txt821 2pent.
/external/jline/src/src/test/resources/jline/example/
Denglish.gz