Home
last modified time | relevance | path

Searched refs:pent (Results 1 – 12 of 12) 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.c183 PTABLE_ENTRY *pent; in dos_open() local
309 pent = (PTABLE_ENTRY*)&sec[0x1BE]; in dos_open()
310 pent = scan_partition_table(pent, part->phys, &part->pno); in dos_open()
312 if(!pent) in dos_open()
327 fsec = (unsigned long)(pent->start_sec & 0x3F); in dos_open()
328 fhead = (unsigned long)pent->start_head; in dos_open()
329 fcyl = ((pent->start_sec >> 6) << 8) + pent->start_cyl; in dos_open()
332 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/ltrace/
Dexecute_program.c46 struct passwd *pent; in change_uid() local
53 if ((pent = getpwnam(options.user)) == NULL) { in change_uid()
57 run_uid = pent->pw_uid; in change_uid()
58 run_gid = pent->pw_gid; in change_uid()
/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.c52 struct protoent *pent = getprotobynumber(proto); in proto_to_name() local
53 if (pent) in proto_to_name()
54 return pent->p_name; in proto_to_name()
Dip6tables.c980 const struct protoent *pent = getprotobynumber(proto); in print_proto() local
981 if (pent) { in print_proto()
983 invertstr, pent->p_name); in print_proto()
Diptables.c938 const struct protoent *pent = getprotobynumber(proto); in print_proto() local
939 if (pent) { in print_proto()
940 printf("%s -p %s", invertstr, pent->p_name); in print_proto()
/external/strace/
Dstrace.c1666 struct passwd *pent; in init() local
1671 pent = getpwnam(username); in init()
1672 if (pent == NULL) { in init()
1675 run_uid = pent->pw_uid; in init()
1676 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.c1891 const struct protoent *pent; in xtables_parse_protocol() local
1904 pent = getprotobyname(s); in xtables_parse_protocol()
1905 if (pent != NULL) in xtables_parse_protocol()
1906 return pent->p_proto; in xtables_parse_protocol()
/external/hyphenation-patterns/fr/
Dhyph-fr.pat.txt821 2pent.