Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/apr-util/ldap/
H A Dapr_ldap_option.c417 switch (ents[i].type) { in option_set_cert()
419 cert7db = ents[i].path; in option_set_cert()
422 secmod = ents[i].path; in option_set_cert()
425 key3db = ents[i].path; in option_set_cert()
428 nickname = ents[i].path; in option_set_cert()
429 password = ents[i].password; in option_set_cert()
511 switch (ents[i].type) { in option_set_cert()
585 switch (ents[i].type) { in option_set_cert()
588 (void *)ents[i].path); in option_set_cert()
593 (void *)ents[i].path); in option_set_cert()
[all …]
/freebsd-13.1/tests/sys/fs/fusefs/
H A Dreaddir.cc76 vector<struct dirent> ents(2); in TEST_F() local
81 ents[0].d_fileno = 2; in TEST_F()
82 ents[0].d_off = 2000; in TEST_F()
84 ents[0].d_type = DT_DIR; in TEST_F()
85 strncpy(ents[0].d_name, dotdot, ents[0].d_namlen); in TEST_F()
86 ents[1].d_fileno = 3; in TEST_F()
87 ents[1].d_off = 3000; in TEST_F()
88 ents[1].d_namlen = sizeof(dot); in TEST_F()
89 ents[1].d_type = DT_DIR; in TEST_F()
90 strncpy(ents[1].d_name, dot, ents[1].d_namlen); in TEST_F()
[all …]
H A Dutils.hh196 std::vector<struct dirent> &ents);
H A Dutils.cc409 std::vector<struct dirent> &ents) in expect_readdir() argument
426 for (const auto& it: ents) { in expect_readdir()
/freebsd-13.1/contrib/apr/encoding/
H A Dapr_escape.c669 const char *ents; in apr_unescape_entity() local
730 for (ents = entlist[j]; *ents != '\0'; ents += i) { in apr_unescape_entity()
731 if (strncmp(s + 1, ents, j) == 0) { in apr_unescape_entity()
736 if (*ents == '\0') { in apr_unescape_entity()
740 *d = ENCODE_TO_ASCII(((const unsigned char *) ents)[j]); in apr_unescape_entity()
785 for (ents = entlist[j]; *ents != '\0'; ents += i) { in apr_unescape_entity()
786 if (strncmp(s + 1, ents, j) == 0) { in apr_unescape_entity()
791 if (*ents == '\0') { in apr_unescape_entity()
/freebsd-13.1/usr.bin/mkimg/
H A Dgpt.c132 u_int ents; in gpt_tblsz() local
134 ents = secsz / sizeof(struct gpt_ent); in gpt_tblsz()
135 return ((nparts + ents - 1) / ents); in gpt_tblsz()
/freebsd-13.1/tools/LibraryReport/
H A DLibraryReport.tcl141 set ents [glob -nocomplain "$dir/*"];
154 foreach f $ents {
165 foreach f $ents {
/freebsd-13.1/usr.sbin/pmcstudy/
H A Dpmcstudy.c202 struct cpu_entry *ents; member
1967 the_cpu.ents = sandy_bridge; in set_sandybridge()
1976 the_cpu.ents = ivy_bridge; in set_ivybridge()
1986 the_cpu.ents = haswell; in set_haswell()
1996 the_cpu.ents = broadwell; in set_broadwell()
2008 expression = the_cpu.ents[i].func; in set_expression()
2009 command = the_cpu.ents[i].command; in set_expression()
2010 threshold = the_cpu.ents[i].thresh; in set_expression()
2013 the_cpu.ents[i].name, in set_expression()
2556 (*the_cpu.explain)(the_cpu.ents[i].name); in explain_all()
[all …]
/freebsd-13.1/sbin/devmatch/
H A Ddevmatch.c241 int ival, len, ents, i, notme, mask, bit, v, found; in search_hints() local
277 ents = getint(&ptr); in search_hints()
280 val1, val2, ents, lastmod); in search_hints()
292 for (i = 0; i < ents; i++) { in search_hints()
/freebsd-13.1/sys/kern/
H A Dkern_fail.c975 parse_fail_point(struct fail_point_setting *ents, char *p) in parse_fail_point() argument
984 p = parse_term(ents, p); in parse_fail_point()
991 (p = parse_term(ents, p+2)) == NULL || in parse_fail_point()
1002 parse_term(struct fail_point_setting *ents, char *p) in parse_term() argument
1006 ent = fail_point_entry_new(ents); in parse_term()
/freebsd-13.1/contrib/sendmail/src/
H A Dudb.c903 int ents = 0; local
934 if (ents >= MAXUDBENT)
964 ents++;
975 ents++;
1087 ents++;
/freebsd-13.1/sys/cam/nvme/
H A Dnvme_da.c1079 int ents; in ndastart() local
1091 ents = min(nitems(trim->dsm), nda_max_trim_entries); in ndastart()
1092 ents = max(ents, 1); in ndastart()
1094 dsm_end = dsm_range + ents; in ndastart()
/freebsd-13.1/crypto/openssh/
H A Dsftp-client.c684 u_int count, id, i, expected_id, ents = 0; in do_lsreaddir() local
711 ents = 0; in do_lsreaddir()
790 *dir = xreallocarray(*dir, ents + 2, sizeof(**dir)); in do_lsreaddir()
791 (*dir)[ents] = xcalloc(1, sizeof(***dir)); in do_lsreaddir()
792 (*dir)[ents]->filename = xstrdup(filename); in do_lsreaddir()
793 (*dir)[ents]->longname = xstrdup(longname); in do_lsreaddir()
794 memcpy(&(*dir)[ents]->a, &a, sizeof(a)); in do_lsreaddir()
795 (*dir)[++ents] = NULL; in do_lsreaddir()
/freebsd-13.1/stand/common/
H A Dmodule.c1410 int ival, len, ents, i, notme, mask, bit, v, found; in devmatch_search_hints() local
1446 ents = getint(&ptr); in devmatch_search_hints()
1449 val1, val2, ents, lastmod); in devmatch_search_hints()
1461 for (i = 0; i < ents; i++) { in devmatch_search_hints()
/freebsd-13.1/contrib/lib9p/pytest/
H A Dp9conn.py1644 ents = self.decode_readdir_dirents(bstring)
1645 if len(ents) == 0:
1647 dirents.extend(ents)
1648 offset = ents[-1].offset
/freebsd-13.1/sys/dev/sound/pci/hda/
H A Dhdaa.c1384 int i, j, max, ents, entnum; in hdaa_widget_connection_parse() local
1393 ents = HDA_PARAM_CONN_LIST_LENGTH_LIST_LENGTH(res); in hdaa_widget_connection_parse()
1395 if (ents < 1) in hdaa_widget_connection_parse()
1408 for (i = 0; i < ents; i += entnum) { in hdaa_widget_connection_parse()
1414 if (w->nconns < ents) in hdaa_widget_connection_parse()
1420 ents, w->nconns, res); in hdaa_widget_connection_parse()