Home
last modified time | relevance | path

Searched refs:first (Results 1 – 25 of 732) sorted by relevance

12345678910>>...30

/titanic_50/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_llist.c104 DAPL_LLIST_ENTRY *first; in dapl_llist_add_head() local
111 first = *head; in dapl_llist_add_head()
112 entry->flink = first; in dapl_llist_add_head()
113 entry->blink = first->blink; in dapl_llist_add_head()
114 first->blink->flink = entry; in dapl_llist_add_head()
115 first->blink = entry; in dapl_llist_add_head()
191 DAPL_LLIST_ENTRY *first; in dapl_llist_remove_head() local
194 first = *head; in dapl_llist_remove_head()
195 *head = first->flink; in dapl_llist_remove_head()
197 first->flink->blink = first->blink; in dapl_llist_remove_head()
[all …]
/titanic_50/usr/src/lib/libast/common/comp/
H A Dbasename.c35 register char *first, *last; in basename() local
36 for(first=last=pathname; *last; last++); in basename()
38 if(last>first) in basename()
39 while(*--last=='/' && last > first); in basename()
40 if(last==first && *last=='/') in basename()
43 if(*first=='/') in basename()
49 for(first=last++;first>pathname && *first!='/';first--); in basename()
50 if(*first=='/') in basename()
51 first++; in basename()
54 return(first); in basename()
/titanic_50/usr/src/lib/libcmd/common/
H A Dbasename.c64 register char *first, *last; in namebase() local
66 for(first=last=pathname; *last; last++); in namebase()
68 if(last>first) in namebase()
69 while(*--last=='/' && last > first); in namebase()
70 if(last==first && *last=='/') in namebase()
73 if(*first=='/') in namebase()
79 for(first=last++;first>pathname && *first!='/';first--); in namebase()
80 if(*first=='/') in namebase()
81 first++; in namebase()
83 if(suffix && (n=strlen(suffix)) && n<(last-first)) in namebase()
[all …]
H A Dfold.c91 register char *cp, *first; in fold() local
110 first = cp; in fold()
116 while((cp-first) > (width-col)) in fold()
119 col = last_space - first; in fold()
122 sfwrite(out,first,col); in fold()
123 first += col; in fold()
126 if(cp>first+1 || (n!=T_NL && n!=T_BS)) in fold()
139 if((cp+(--col)-first)>0) in fold()
143 n = (TABSIZE-1) - (cp+col-1-first)&(TABSIZE-1); in fold()
145 if((cp-first) > (width-col)) in fold()
[all …]
/titanic_50/usr/src/lib/libresolv2/common/isc/
H A Dev_waits.c66 wl->first = new; in evWaitFor()
82 evWait *first; in evDo() local
89 first = wl->first; in evDo()
90 INSIST(first != NULL); in evDo()
93 ctx->waitDone.last->next = first; in evDo()
95 ctx->waitDone.first = first; in evDo()
116 for (prev = NULL, this = wl->first; in evUnwait()
124 wl->first = this->next; in evUnwait()
127 if (wl->first == NULL) in evUnwait()
135 for (prev = NULL, this = ctx->waitDone.first; in evUnwait()
[all …]
/titanic_50/usr/src/cmd/dtrace/test/tst/common/types/
H A Dtst.relenum.d47 first, enumerator
52 /zero >= one || second <= first || zero == second/
56 printf("null = %d; first = %d; second = %d", null, first, second);
61 /second < one || two > second || null == first/
65 printf("null = %d; first = %d; second = %d", null, first, second);
70 /first < two && second > one && one != two && zero != first/
/titanic_50/usr/src/cmd/mandoc/
H A Deqn_html.c48 if (NULL == bp->first) in eqn_box()
50 if (EQN_LIST != bp->first->type) { in eqn_box()
51 eqn_box(p, bp->first); in eqn_box()
54 if (NULL == (parent = bp->first->first)) in eqn_box()
57 if (NULL == (child = parent->first)) in eqn_box()
64 parent = bp->first->first; in eqn_box()
67 child = parent->first; in eqn_box()
81 eqn_box(p, child->first); in eqn_box()
131 if (bp->first != NULL && bp->first->type == EQN_LIST) in eqn_box()
158 eqn_box(p, bp->first); in eqn_box()
H A Dtbl.c114 while (rp->first != NULL) { in tbl_free()
115 cp = rp->first; in tbl_free()
116 rp->first = cp->next; in tbl_free()
124 while (sp->first != NULL) { in tbl_free()
125 dp = sp->first; in tbl_free()
126 sp->first = dp->next; in tbl_free()
175 while (sp != NULL && sp->first == NULL) in tbl_end()
/titanic_50/usr/src/tools/cscope-fast/
H A Dscanner.l63 int first; /* buffer index for first char of symbol */ variable
130 first = strlen(yytext);
152 last = first;
185 last = first;
278 last = first;
287 last = first;
365 first = yyleng - 1;
366 while (isalnum(yytext[first]) || yytext[first] == '_') {
367 --first;
369 ++first;
[all …]
H A Dcrossref.c72 int first; /* index of first character in text */ member
110 length = last - first; in crossref()
114 last = first + 8; in crossref()
124 strncmp(yytext + first, yytext + in crossref()
125 symbol[i].first, length) == 0 && in crossref()
128 first = yyleng; in crossref()
174 symbol[symbols].first = first; in savesymbol()
176 symbol[symbols].length = last - first; in savesymbol()
178 first = yyleng; in savesymbol()
222 else if (symput < symbols && i == symbol[symput].first) { in putcrossref()
[all …]
/titanic_50/usr/src/lib/libsqlite/src/
H A Dhash.c41 new->first = 0; in sqliteHashInit()
55 elem = pH->first; in sqliteHashClear()
56 pH->first = 0; in sqliteHashClear()
181 for(elem=pH->first, pH->first=0; elem; elem = next_elem){ in rehash()
189 else pH->first = elem; in rehash()
192 elem->next = pH->first; in rehash()
193 if( pH->first ) pH->first->prev = elem; in rehash()
195 pH->first = elem; in rehash()
241 pH->first = elem->next; in removeElementGivenHash()
347 else { pH->first = new_elem; } in sqliteHashInsert()
[all …]
/titanic_50/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap_seq.c47 ap_suspend_check(apd_t *a, int cmd, int first, int last, int *suspend) in ap_suspend_check() argument
61 for (check = 0, c = first; c <= last; c++) in ap_suspend_check()
91 ap_seq_get(apd_t *a, int cmd, int *first, int *last) in ap_seq_get() argument
204 *first = f; in ap_seq_get()
208 rs, os, cmd, (void *)first, (void *)last, f, l); in ap_seq_get()
218 ap_seq_exec(apd_t *a, int cmd, int first, int last) in ap_seq_exec() argument
245 rc = ap_platopts_check(a, first, last); in ap_seq_exec()
251 for (c = first; c <= last; c++) { in ap_seq_exec()
274 first + 1, last, &suspend); in ap_seq_exec()
415 int first, last; in ap_cmd_seq() local
[all …]
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Derror_map.h31 struct gsserrmap__element *first; member
36 head->first = NULL; in gsserrmap_init()
44 for (e = head->first; e; e = e_next) { in gsserrmap_destroy()
52 head->first = NULL; in gsserrmap_destroy()
59 for (e = head->first; e; e = e->next) in gsserrmap__find_node()
109 e->next = head->first; in gsserrmap_replace_or_insert()
110 head->first = e; in gsserrmap_replace_or_insert()
/titanic_50/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_set.c67 g_set_elt first; in g_set_entry_add() local
69 if ((first = (struct _g_set_elt *) MALLOC(sizeof(struct _g_set_elt))) == NULL) in g_set_entry_add()
72 first->key = key; in g_set_entry_add()
73 first->value = value; in g_set_entry_add()
74 first->next = *s; in g_set_entry_add()
76 *s = first; in g_set_entry_add()
/titanic_50/usr/src/lib/nsswitch/files/common/
H A Dfiles_common.c265 char *first; local
277 for (first = instr; isspace(*first); first++) {
280 if (*first == '\0') {
293 linelen = last - first + 1;
294 if (first != instr) {
295 instr = first;
396 char *cp, *first, *last; in _nss_files_XY_hash() local
544 first = cp;
547 if (cp > first && *(cp - 1) == '\\') {
548 memmove(first + 2, first, cp - first - 1);
[all …]
/titanic_50/usr/src/uts/common/fs/zfs/
H A Dvdev_queue.c488 zio_t *first, *last, *aio, *dio, *mandatory, *nio; in vdev_queue_aggregate() local
498 first = last = zio; in vdev_queue_aggregate()
516 mandatory = (first->io_flags & ZIO_FLAG_OPTIONAL) ? NULL : first; in vdev_queue_aggregate()
522 while ((dio = AVL_PREV(t, first)) != NULL && in vdev_queue_aggregate()
525 IO_GAP(dio, first) <= maxgap) { in vdev_queue_aggregate()
526 first = dio; in vdev_queue_aggregate()
527 if (mandatory == NULL && !(first->io_flags & ZIO_FLAG_OPTIONAL)) in vdev_queue_aggregate()
528 mandatory = first; in vdev_queue_aggregate()
534 while ((first->io_flags & ZIO_FLAG_OPTIONAL) && first != last) { in vdev_queue_aggregate()
535 first = AVL_NEXT(t, first); in vdev_queue_aggregate()
[all …]
/titanic_50/usr/src/cmd/krb5/kwarn/
H A Dkwarnd_clnt_stubs.c55 boolean_t first = TRUE; in kwarn_add_warning() local
87 if (ret == RPC_TIMEDOUT && first) { in kwarn_add_warning()
89 first = FALSE; in kwarn_add_warning()
106 boolean_t first = TRUE; in kwarn_del_warning() local
137 if (ret == RPC_TIMEDOUT && first) { in kwarn_del_warning()
139 first = FALSE; in kwarn_del_warning()
/titanic_50/usr/src/lib/libcurses/screen/
H A Dnewkey.c91 short *first = &(cur_term->_first_macro); in newkey() local
94 (*first * sizeof (_KEY_MAP *))); in newkey()
95 (void) memcpy((char *) &(keys[*first + 1]), in newkey()
96 (char *) &(prev_keys[*first]), in newkey()
97 ((*numkeys - *first) * sizeof (_KEY_MAP *))); in newkey()
98 keys[(*first)++] = key_info; in newkey()
/titanic_50/usr/src/lib/libc/sparc/gen/
H A Dstrcpy.s54 ! first checking the alignment of its source pointer. And,
74 stb %o1, [%o2] ! store first byte
82 srl %o1, 8, %o4 ! %o4<7:0> = first byte
83 tst %o4 ! first byte zero ?
85 stb %o4, [%o2] ! store first byte
111 srl %o1, 24, %o3 ! %o3<7:0> = first byte
112 andcc %o1, %o4, %g0 ! first byte zero?
114 stb %o3, [%o2 - 4] ! store first byte
143 srl %o1, 24, %g1 ! %g1<7:0> = first byte
144 stb %g1, [%o2 - 4] ! store first byte; half-word aligned now
[all …]
/titanic_50/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DStatistic.java290 Date first = start, last = end; in getSnapshotForInterval() local
298 if (first == null) in getSnapshotForInterval()
299 first = s.getStart(); in getSnapshotForInterval()
311 return (new DoubleStatistic(new Double(total / count), first, in getSnapshotForInterval()
378 Date first = start, last = end; in getSnapshotForInterval() local
385 if (first == null) in getSnapshotForInterval()
386 first = s.getStart(); in getSnapshotForInterval()
398 return (new LongStatistic(new Long(total / count), first, in getSnapshotForInterval()
465 Date first = start, last = end; in getSnapshotForInterval() local
473 if (first == null) in getSnapshotForInterval()
[all …]
/titanic_50/usr/src/lib/nsswitch/user/common/
H A Duser_common.c195 char *first; local
207 for (first = instr; isspace(*first); first++) {
210 if (*first == '\0') {
223 linelen = last - first + 1;
224 if (first != instr) {
225 instr = first;
/titanic_50/usr/src/lib/libbc/libc/gen/common/
H A Dclock.c40 static long first; variable
49 if (first == 0L) in clock()
50 first = TIMES(buffer); in clock()
51 return ((TIMES(buffer) - first) * (1000000L/HZ)); in clock()
/titanic_50/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwscrl.c71 int first; in wscrl() local
88 first = __m_cc_first(w, row + n, in wscrl()
90 save = w->_line[row + n][first]; in wscrl()
92 first, row + n, first); in wscrl()
93 w->_line[row + n][first] = save; in wscrl()
/titanic_50/usr/src/cmd/sendmail/src/
H A Dtrace.c73 unsigned int first, last; local
88 first = i;
113 if (first >= tTsize)
114 first = tTsize - 1;
119 while (first <= last)
120 tTvect[first++] = (unsigned char) i;
/titanic_50/usr/src/cmd/nscd/
H A Dnscd_getentctx.c320 c = base->first; in _nscd_free_getent_ctx_base()
416 if (base->first == NULL) { in _nscd_get_getent_ctx()
427 base->first = _nscd_create_getent_ctx(params); in _nscd_get_getent_ctx()
428 if (base->first != NULL) in _nscd_get_getent_ctx()
442 (me, "got a new getent ctx %p\n", base->first); in _nscd_get_getent_ctx()
446 assert(base->first != NULL); in _nscd_get_getent_ctx()
448 c = base->first; in _nscd_get_getent_ctx()
449 base->first = c->next; in _nscd_get_getent_ctx()
506 if (base->first != NULL) { in _nscd_put_getent_ctx()
507 gnctx->next = base->first; in _nscd_put_getent_ctx()
[all …]

12345678910>>...30