Home
last modified time | relevance | path

Searched refs:found (Results 1 – 25 of 948) sorted by relevance

12345678910>>...38

/illumos-gate/usr/src/test/libc-tests/tests/
H A Dmemchr.c72 const void *found; in memchr_basic() local
77 if ((found = memchr(memchr_buf, 'r', memchr_buflen)) != memchr_buf) { in memchr_basic()
79 "expected %p", found, memchr_buf); in memchr_basic()
83 if ((found = memrchr(memchr_buf, 'r', memchr_buflen)) != memchr_buf) { in memchr_basic()
85 "expected %p", found, memchr_buf); in memchr_basic()
92 if ((found = memchr(memchr_buf, 'r', memchr_buflen)) != memchr_buf) { in memchr_basic()
94 "expected %p", found, memchr_buf); in memchr_basic()
98 if ((found = memrchr(memchr_buf, 'r', memchr_buflen)) != targ) { in memchr_basic()
100 "expected %p", found, targ); in memchr_basic()
107 if ((found = memchr(memchr_buf, 'r', memchr_buflen)) != targ) { in memchr_basic()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfslogtab.c170 boolean_t found = B_FALSE; in logtab_findent() local
172 while (!found && (logtab_getent(fd, lepp) > 0)) { in logtab_findent()
173 found = B_TRUE; in logtab_findent()
175 found = strcmp(buffer, (*lepp)->le_buffer) == 0; in logtab_findent()
177 found = found && (strcmp(path, (*lepp)->le_path) == 0); in logtab_findent()
179 found = found && (strcmp(tag, (*lepp)->le_tag) == 0); in logtab_findent()
181 found = found && (state == (*lepp)->le_state); in logtab_findent()
182 if (!found) in logtab_findent()
186 return (found ? 0 : ENOENT); in logtab_findent()
214 boolean_t found; in logtab_rement() local
[all …]
/illumos-gate/usr/src/cmd/format/
H A Dcheckdev.c132 int found = -1; in getpartition() local
139 return (found); in getpartition()
147 return (found); in getpartition()
154 return (found); in getpartition()
161 return (found); in getpartition()
175 return (found); in getpartition()
195 int found = 0; in checkswap() local
220 found = -1; in checkswap()
229 found = -1; in checkswap()
239 if (found && option_f) { in checkswap()
[all …]
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/
H A Dcall_tree.pl42 my $found = 0;
48 if (%{$param_map{$link}}->{found} == $NOTFOUND) {
52 %{$param_map{$link}}->{found} = $NOTFOUND;
56 $found = recurse($l, $target);
57 if (!$found) {
64 return $found;
73 %{$param_map{$start_func}}->{found} = $NOTFOUND;
75 %{$param_map{$l}}->{found} = $NOTFOUND;
78 %{$param_map{$link}}->{found} = $UNKNOWN;
89 $param_map{$one} = {found => $UNKNOWN, links => []};
[all …]
H A Dtrace_params.pl25 my $found = 0;
28 $param_map{$link}->{found} = $FOUND;
32 if ($param_map{$link}->{found} == $FOUND) {
35 if ($param_map{$link}->{found} == $NOTFOUND) {
39 $param_map{$link}->{found} = $NOTFOUND;
41 $found = recurse($l, $target);
42 if ($found) {
43 $param_map{$link}->{found} = $FOUND;
68 $param_map{$one} = {found => $UNKNOWN, links => []};
90 if ($tmp->{found} == $FOUND) {
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_listutils.c69 boolean_t found; in lists_are_different() local
78 found = B_FALSE; in lists_are_different()
82 found = B_TRUE; in lists_are_different()
86 if (!found) in lists_are_different()
153 boolean_t found = B_FALSE; in l_difference() local
172 found = B_TRUE; in l_difference()
176 if (!found) { in l_difference()
179 found = B_FALSE; in l_difference()
269 boolean_t found; in l_union_in_a() local
280 found = B_FALSE; in l_union_in_a()
[all …]
/illumos-gate/usr/src/cmd/acct/lib/
H A Ddevtolin.c70 int found = 0; in devtolin() local
79 while ((!found) && (srch_dirs[dirno] != NULL)) { in devtolin()
85 found = srch_dir(device, srch_dirs[dirno], in devtolin()
96 if (!found) in devtolin()
97 found = srch_dir(device, dev_dir, 0, srch_dirs); in devtolin()
104 if (found) { in devtolin()
139 int found = 0; in srch_dir() local
166 while ((!found) && ((d = readdir(fdev)) != NULL)) { in srch_dir()
188 found = 1; in srch_dir()
195 found = srch_dir(device, file_name, depth+1, in srch_dir()
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dhwf_obj.c299 CK_BBOOL found; in hwf_object_check_required_attributes() local
301 found = template_attribute_find(tmpl, CKA_HW_FEATURE_TYPE, &attr); in hwf_object_check_required_attributes()
302 if (! found) { in hwf_object_check_required_attributes()
315 CK_BBOOL found; in clock_check_required_attributes() local
318 found = template_attribute_find(tmpl, CKA_VALUE, &attr); in clock_check_required_attributes()
319 if (! found) { in clock_check_required_attributes()
331 CK_BBOOL found; in counter_check_required_attributes() local
334 found = template_attribute_find(tmpl, CKA_VALUE, &attr); in counter_check_required_attributes()
335 if (! found) { in counter_check_required_attributes()
339 found = template_attribute_find(tmpl, CKA_HAS_RESET, &attr); in counter_check_required_attributes()
[all …]
H A Dcert.c308 CK_BBOOL found; in cert_check_required_attributes() local
314 found = template_attribute_find(tmpl, in cert_check_required_attributes()
316 if (found == FALSE) { in cert_check_required_attributes()
352 CK_BBOOL found; in cert_x509_check_required_attributes() local
354 found = template_attribute_find(tmpl, CKA_SUBJECT, &attr); in cert_x509_check_required_attributes()
355 if (! found) { in cert_x509_check_required_attributes()
358 found = template_attribute_find(tmpl, CKA_VALUE, &attr); in cert_x509_check_required_attributes()
359 if (! found) { in cert_x509_check_required_attributes()
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dmemchr.S32 / or NULL if not found in chars; doesn't stop at \0.
68 je .L4 / goto .L4 (found)
70 je .L5 / goto .L5 (found)
73 je .L6 / goto .L6 (found)
75 je .L7 / goto .L7 (found)
82 jz .L8 / goto .L8 (not found)
84 je .L4 / goto .L4 (found)
90 xorl %eax, %eax / not found
95 jz .L8 / goto .L8 (not found)
97 je .L4 / goto .L4 (found)
[all …]
/illumos-gate/usr/src/lib/libadm/common/
H A Ddevattr.c106 int found; /* TRUE if attribute found */ in devattr() local
116 found = FALSE; in devattr()
121 found = TRUE; in devattr()
127 found = TRUE; in devattr()
133 found = TRUE; in devattr()
139 found = TRUE; in devattr()
150 while (!found && (p)) { in devattr()
153 found = TRUE; in devattr()
163 if (found) { in devattr()
H A Ddevtab.c916 int found; /* TRUE if record found */ in _getdevrec() local
926 found = FALSE; in _getdevrec()
928 while (!found && (devrec = _getdevtabent())) { in _getdevrec()
931 if (strcmp(device, devrec->cdevice) == 0) found = TRUE; in _getdevrec()
933 if (strcmp(device, devrec->bdevice) == 0) found = TRUE; in _getdevrec()
935 if (strcmp(device, devrec->pathname) == 0) found = TRUE; in _getdevrec()
945 if (!found) { in _getdevrec()
961 while (!found && (devrec = _getdevtabent())) { in _getdevrec()
966 found = TRUE; in _getdevrec()
971 if (!found) _freedevtabent(devrec); in _getdevrec()
[all …]
H A Dckkeywd.c42 char *found; in match() local
47 found = NULL; in match()
50 if (found) in match()
52 found = set[i]; in match()
56 if (found) { in match()
57 (void) strcpy(strval, found); in match()
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dmemchr.S32 / or NULL if not found in chars; doesn't stop at \0.
71 je .L4 / goto .L4 (found)
73 je .L5 / goto .L5 (found)
76 je .L6 / goto .L6 (found)
78 je .L7 / goto .L7 (found)
85 jz .L8 / goto .L8 (not found)
87 je .L4 / goto .L4 (found)
93 xorl %eax, %eax / not found
99 jz .L8 / goto .L8 (not found)
101 je .L4 / goto .L4 (found)
[all …]
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaMechManager.c217 boolean_t found; in meta_mechManager_get_slots() local
230 found = find_mech_index(mech_support_info->mech, &index); in meta_mechManager_get_slots()
231 if (!found) { in meta_mechManager_get_slots()
285 boolean_t found; in meta_mechManager_update_mech() local
298 found = find_mech_index(mech, &index); in meta_mechManager_update_mech()
299 if (!found) { in meta_mechManager_update_mech()
339 boolean_t found; in meta_mechManager_update_slot() local
403 found = find_mech_index(slot_mechlist[mechnum], &index); in meta_mechManager_update_slot()
404 if (!found) { in meta_mechManager_update_slot()
505 boolean_t found; in meta_mechManager_allocmechs() local
[all …]
H A DmetaAttrManager.c114 boolean_t found; in get_master_attributes_by_template() local
116 found = get_template_ulong(CKA_CLASS, template, template_size, &class); in get_master_attributes_by_template()
117 if (!found) { in get_master_attributes_by_template()
123 found = get_template_ulong(CKA_CERTIFICATE_TYPE, in get_master_attributes_by_template()
127 found = get_template_ulong(CKA_HW_FEATURE_TYPE, in get_master_attributes_by_template()
134 found = get_template_ulong(CKA_KEY_TYPE, in get_master_attributes_by_template()
139 found = B_TRUE; in get_master_attributes_by_template()
146 if (!found) { in get_master_attributes_by_template()
626 boolean_t found = B_FALSE; in find_attribute() local
632 found = B_TRUE; in find_attribute()
[all …]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_zpool.c68 int found = 0; in inuse_zpool_common() local
76 return (found); in inuse_zpool_common()
87 return (found); in inuse_zpool_common()
99 found = 1; in inuse_zpool_common()
101 found = 1; in inuse_zpool_common()
104 found = 1; in inuse_zpool_common()
108 found = 1; in inuse_zpool_common()
111 if (found) { in inuse_zpool_common()
124 return (found); in inuse_zpool_common()
/illumos-gate/usr/src/cmd/users/
H A Dusers.c112 int found; member
124 int found; member
443 int found; /* FLAG: TRUE if login found */ in isamember() local
448 found = FALSE; in isamember()
449 for (pmem = membershead; !found && pmem; pmem = pmem->next) { in isamember()
450 if (strcmp(p, pmem->membername) == 0) found = TRUE; in isamember()
453 return (found); in isamember()
538 int found; /* FLAG, insertion point found */ in adddisp() local
545 found = FALSE; in adddisp()
546 while (!found && current) { in adddisp()
[all …]
/illumos-gate/usr/src/uts/sun4/vm/
H A Dsfmmu.c660 struct memlist *found; in ndata_alloc() local
670 if ((found = ndata_select_chunk(ndata, wanted, alignment)) == NULL) in ndata_alloc()
676 base = roundup(found->ml_address, alignment); in ndata_alloc()
678 ASSERT(end <= found->ml_address + found->ml_size); in ndata_alloc()
680 below = base - found->ml_address; in ndata_alloc()
681 above = found->ml_address + found->ml_size - end; in ndata_alloc()
688 found->ml_size = below - below % ecache_alignsize; in ndata_alloc()
695 if ((fnd_above->ml_next = found->ml_next) != NULL) in ndata_alloc()
696 found->ml_next->ml_prev = fnd_above; in ndata_alloc()
697 fnd_above->ml_prev = found; in ndata_alloc()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfgetr.c41 int found; local
55 found = 0;
64 found = 1;
68 found = 1;
73 while(!found)
105 found = 1;
121 …if(!found && (_Sfmaxr > 0 && un+n+1 >= _Sfmaxr || (f->flags&SF_STRING))) /* already exceed limit */
149 if(found && rc != 0 && (type&SF_STRING) )
159 rsrv->slen = found ? 0 : -un;
/illumos-gate/usr/src/lib/libproc/common/
H A DPexecname.c108 goto found; in Pfindexec()
136 goto found; in Pfindexec()
140 goto found; in Pfindexec()
156 goto found; in Pfindexec()
172 goto found; in Pfindexec()
176 goto found; in Pfindexec()
188 goto found; in Pfindexec()
192 goto found; in Pfindexec()
227 goto found; in Pfindexec()
234 found: in Pfindexec()
/illumos-gate/usr/src/lib/libsaveargs/amd64/
H A Dsaveargs.c260 uint8_t found = 0; in saveargs_has_args() local
285 found = 0; in saveargs_has_args()
298 found |= (1 << j); in saveargs_has_args()
300 if (found == ((1 << argc) - 1)) { in saveargs_has_args()
315 found = 0; in saveargs_has_args()
329 found |= (1 << (j - start_index)); in saveargs_has_args()
331 if (found == in saveargs_has_args()
345 found = 0; in saveargs_has_args()
360 found |= (1 << j); in saveargs_has_args()
362 if (found == in saveargs_has_args()
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Ddisp1.c801 RSTATUS *found = NULL; in s_inquire_request_rank() local
849 if (found) { in s_inquire_request_rank()
850 GetRequestFiles(found->request, files, sizeof (files)); in s_inquire_request_rank()
853 found->secure->req_id, in s_inquire_request_rank()
854 found->request->user, in s_inquire_request_rank()
856 found->secure->slabel, in s_inquire_request_rank()
857 found->secure->size, in s_inquire_request_rank()
858 found->secure->date, in s_inquire_request_rank()
859 found->request->outcome, in s_inquire_request_rank()
860 found->printer->printer->name, in s_inquire_request_rank()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dgenget.c86 register char **c, **found; in genget() local
92 found = 0; in genget()
99 if (found) in genget()
101 found = c; in genget()
103 return (found); in genget()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dcrypt.c112 static struct crypt_alg_s *getalgbyname(const char *algname, boolean_t *found);
150 boolean_t found; in crypt() local
181 alg = getalgbyname(algname, &found); in crypt()
182 if ((alg == NULL) || !found) { in crypt()
187 } else if (!found) { in crypt()
224 boolean_t found; in crypt_gensalt() local
249 alg = getalgbyname(algname, &found); in crypt_gensalt()
250 if (alg == NULL || !found) { in crypt_gensalt()
485 getalgbyname(const char *algname, boolean_t *found) in getalgbyname() argument
498 *found = B_FALSE; in getalgbyname()
[all …]

12345678910>>...38