/illumos-gate/usr/src/tools/onbld/Checks/ |
H A D | HdrChk.py | 110 if self.lenient and re.search(r'^\s*//', line): 114 if not re.search(r'^\s*/\*', line): 117 while not re.search(r'\*/', line): 180 if lenient and line.startswith("#pragma ident") and IDENT.search(line): 187 match = re.search(r'^#ifndef\s([a-zA-Z0-9_]+)$', line) 206 if not re.search(r'^_.*%s[_]?$' % guardname, guard): 212 if not re.search(r'#define\s%s$' % guard, line): 227 not IDENT.search(line)): 247 match = re.search(r'^#include(.*)$', line) 253 if not lenient and not re.search(r'\s<.*>', [all …]
|
H A D | Comments.py | 107 if ignorere.search(com): 118 match = bugre.search(com) 130 match = bugnospcre.search(com) 164 if not re.search(r'^' + re.escape(synopsis) +
|
H A D | SpellCheck.py | 284 if entry[0].search(line): 287 if entry[0].search(line): 290 if entry[0].search(line):
|
H A D | WsCheck.py | 38 if re.search(r' \t', line): 41 if re.search(r'[ \t]$', line):
|
H A D | Copyright.py | 37 return re.search(r'Copyright (?!\[yyyy\])', line) 40 return re.search(r'Copyright.*\b%s\b' % time.strftime('%Y'), line)
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | main.c | 129 struct mansearch search; /* Search options. */ in main() local 186 memset(&search, 0, sizeof(struct mansearch)); in main() 187 search.outkey = "Nd"; in main() 191 search.argmode = ARG_NAME; in main() 193 search.argmode = ARG_EXPR; in main() 195 search.argmode = ARG_WORD; in main() 197 search.argmode = ARG_NAME; in main() 199 search.argmode = ARG_FILE; in main() 219 if (c == 'i' && search.argmode == ARG_EXPR) { in main() 234 search.argmode = ARG_WORD; in main() [all …]
|
H A D | mansearch.c | 84 mansearch(const struct mansearch *search, in mansearch() argument 100 if ((e = exprcomp(search, argc, argv, &argi)) == NULL) { in mansearch() 110 if (search->outkey != NULL) in mansearch() 112 if (0 == strcasecmp(search->outkey, in mansearch() 172 if (lstmatch(search->sec, page->sect) == 0 || in mansearch() 173 lstmatch(search->arch, page->arch) == 0 || in mansearch() 174 (search->argmode == ARG_NAME && in mansearch() 202 mpage->bits = search->firstmatch ? rp->bits : 0; in mansearch() 220 if (cur && search->firstmatch) in mansearch() 610 exprcomp(const struct mansearch *search, int argc, char *argv[], int *argi) in exprcomp() argument [all …]
|
/illumos-gate/usr/src/common/ficl/softcore/ |
H A D | softcore.fr | 191 \ When executed, new voc replaces top of search stack 193 does> @ search> drop >search ; 201 \ PREVIOUS drops the search order stack 202 : previous ( -- ) search> drop ; 210 \ previous ( pop HIDDEN off the search order ) 213 : hide hidden dup >search ficl-set-current ; 215 \ ALSO dups the search stack... 217 search> dup >search >search ; 219 \ FORTH drops the top of the search stack and pushes FORTH-WORDLIST 221 search> drop [all …]
|
H A D | marker.fr | 12 0 set-order \ clear search order 21 >search forget-wid ( wid-addr )
|
/illumos-gate/usr/src/test/crypto-tests/tests/digest/ |
H A D | parser_runner.c | 115 const char *search = "Len = "; in read_len() local 116 const size_t search_len = strlen(search); in read_len() 131 if (strncmp(ctx->pc_line_buf, search, search_len) != 0) { in read_len() 153 const char *search = "Msg = "; in read_msg() local 154 const size_t search_len = strlen(search); in read_msg() 160 if (strncmp(ctx->pc_line_buf, search, search_len) != 0) { in read_msg() 184 const char *search = "MD = "; in read_md() local 185 const size_t search_len = strlen(search); in read_md() 191 if (strncmp(ctx->pc_line_buf, search, search_len) != 0) { in read_md()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | mamake.c | 479 search(register Dict_t* dict, char* name, void* value) in search() function 606 if (!(r = (Rule_t*)search(state.rules, name, NiL))) in rule() 610 r->name = (char*)search(state.rules, name, (void*)r); in rule() 658 if ((s = (char*)search(state.vars, "PWD", NiL)) && !stat(s, &ts) && in view() 666 search(state.vars, "PWD", state.pwd); in view() 668 if ((s = (char*)search(state.vars, "VPATH", NiL)) && *s) in view() 799 v = (char*)search(state.vars, t, NiL); in substitute() 1145 …if (!state.shell && (!(state.shell = (char*)search(state.vars, "SHELL", NiL)) || !strcmp(state.she… in execute() 1215 if ((q = (Rule_t*)search(state.rules, t, NiL)) && q->path && !(q->flags & RULE_generated)) in run() 1303 if (!(p = (char*)search(state.vars, "PATH", NiL))) in path() [all …]
|
/illumos-gate/usr/src/cmd/oamuser/user/ |
H A D | homedir.c | 312 struct mnttab entry, search; in get_mnt_special() local 316 search.mnt_special = search.mnt_mntopts = search.mnt_time = NULL; in get_mnt_special() 317 search.mnt_mountp = mountp; in get_mnt_special() 318 search.mnt_fstype = fstype; in get_mnt_special() 321 if (getmntany(fp, &entry, &search) == 0) in get_mnt_special()
|
/illumos-gate/usr/src/lib/libipmi/common/ |
H A D | ipmi_entity.c | 72 ipmi_entity_t search; in ipmi_entity_add_assoc() local 74 search.ie_type = id; in ipmi_entity_add_assoc() 75 search.ie_instance = instance; in ipmi_entity_add_assoc() 77 if ((cp = ipmi_hash_lookup(ihp->ih_entities, &search)) == NULL) { in ipmi_entity_add_assoc() 197 ipmi_entity_t search; in ipmi_entity_visit() local 204 search.ie_type = id; in ipmi_entity_visit() 205 search.ie_instance = instance; in ipmi_entity_visit() 207 if ((eip = ipmi_hash_lookup(ihp->ih_entities, &search)) == NULL) { in ipmi_entity_visit() 651 ipmi_entity_t search; in ipmi_entity_lookup() local 657 search.ie_type = type; in ipmi_entity_lookup() [all …]
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | fdsync.c | 60 static mutex_t *search(const void *handle, int fd); 92 mp = search(handle, fd); in rpc_fd_lock() 111 mp = search(handle, fd); in rpc_fd_unlock() 155 search(const void *handle, int fd) in search() function
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | paths.c | 69 print_default_dirs(Lm_list *lml, Alist *alp, int search) in print_default_dirs() argument 76 if (search) in print_default_dirs() 82 if (search) { in print_default_dirs() 96 if (search) { in print_default_dirs() 114 int search; in get_dir_list() local 123 search = 1; in get_dir_list() 125 search = 0; in get_dir_list() 156 if (search) { in get_dir_list() 167 (search || DBG_ENABLED)) in get_dir_list() 204 if (search) in get_dir_list() [all …]
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | refer1.c | 74 *search++ = argv[1]; in main() 75 if (search-rdata > NSERCH) in main() 111 *search++ = getenv("REFER"); in main() 113 *search++ = "/usr/lib/refer/papers/Ind"; in main()
|
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr_discovery.c | 363 char *search = NULL; in update_config() local 394 search = malloc(strlen(cookie->context_attr) + in update_config() 397 if (!search) { in update_config() 401 (void) sprintf(search, "(%s=%s)", cookie->context_attr, context); in update_config() 413 search, foreach_server, cookie); in update_config() 428 if (search) free(search); in update_config()
|
/illumos-gate/usr/src/cmd/fm/schemes/zfs/ |
H A D | scheme.c | 92 find_vdev_iter(nvlist_t *nv, uint64_t search) in find_vdev_iter() argument 101 if (search == guid) in find_vdev_iter() 108 if ((ret = find_vdev_iter(child[c], search)) != 0) in find_vdev_iter() 116 if ((ret = find_vdev_iter(child[c], search)) != 0) in find_vdev_iter() 124 if ((ret = find_vdev_iter(child[c], search)) != 0) in find_vdev_iter()
|
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | memchr.S | 64 bz .prepword ! yup, prepare for word-wise search 65 and %o1, 0xff, %o1 ! search only for this one byte 74 bz .prepword2 ! yup, prepare for word-wise search 83 bz .prepword3 ! yup, prepare for word-wise search
|
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | memchr.S | 64 bz %ncc, .prepword ! yup, prepare for word-wise search 65 and %o1, 0xff, %o1 ! search only for this one byte 74 bz %ncc, .prepword2 ! yup, prepare for word-wise search 83 bz %ncc, .prepword3 ! yup, prepare for word-wise search
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | myfopen.c | 58 static NODE *search(); 75 search(FILE *fp) in search() function 145 cur = search(iop); in my_fclose()
|
/illumos-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | audit.c | 104 conv_la_search(uint_t search, Conv_la_search_buf_t *la_search_buf) in conv_la_search() argument 118 if (search == 0) in conv_la_search() 122 conv_arg.oflags = conv_arg.rflags = search; in conv_la_search()
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | libs.c | 112 uint_t search; in Dbg_libs_path() local 119 search = orig & in Dbg_libs_path() 122 switch (search) { in Dbg_libs_path()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libproc/ |
H A D | libproc.c | 181 uintptr_t search; in pr_addr2map() local 190 search = argv[0].a_un.a_val; in pr_addr2map() 192 search = mdb_strtoull(argv[0].a_un.a_str); in pr_addr2map() 218 mdb_warn("no corresponding map for %p\n", search); in pr_addr2map()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa_misc.c | 566 static spa_t search; /* spa_t is large; don't allocate on stack */ in spa_lookup() local 573 (void) strlcpy(search.spa_name, name, sizeof (search.spa_name)); in spa_lookup() 579 cp = strpbrk(search.spa_name, "/@#"); in spa_lookup() 583 spa = avl_find(&spa_namespace_avl, &search, &where); in spa_lookup() 970 spa_aux_t search; in spa_aux_add() local 973 search.aux_guid = vd->vdev_guid; in spa_aux_add() 974 if ((aux = avl_find(avl, &search, &where)) != NULL) { in spa_aux_add() 987 spa_aux_t search; in spa_aux_remove() local 991 search.aux_guid = vd->vdev_guid; in spa_aux_remove() 992 aux = avl_find(avl, &search, &where); in spa_aux_remove() [all …]
|