Home
last modified time | relevance | path

Searched refs:cursor (Results 1 – 25 of 98) sorted by relevance

1234

/titanic_50/usr/src/lib/efcode/engine/
H A Dinteractive.c436 find_next_word(char *cursor, char *eol) in find_next_word() argument
438 while (cursor < eol && *cursor != ' ') in find_next_word()
439 cursor++; in find_next_word()
440 while (cursor < eol && *cursor == ' ') in find_next_word()
441 cursor++; in find_next_word()
442 return (cursor); in find_next_word()
446 find_prev_word(char *buf, char *cursor) in find_prev_word() argument
450 if (cursor == buf) in find_prev_word()
451 return (cursor); in find_prev_word()
452 cursor--; in find_prev_word()
[all …]
/titanic_50/usr/src/cmd/svc/svccfg/
H A Dsvccfg_xml.c627 xmlNodePtr cursor; in lxml_get_value() local
629 for (cursor = value->xmlChildrenNode; cursor != NULL; in lxml_get_value()
630 cursor = cursor->next) { in lxml_get_value()
634 if (lxml_ignorable_block(cursor)) in lxml_get_value()
637 switch (lxml_xlate_element(cursor->name)) { in lxml_get_value()
639 if ((assigned_value = xmlGetProp(cursor, in lxml_get_value()
645 "\'%s\'\n"), cursor->name); in lxml_get_value()
726 xmlNodePtr cursor; in lxml_get_property() local
766 for (cursor = property->xmlChildrenNode; cursor != NULL; in lxml_get_property()
767 cursor = cursor->next) { in lxml_get_property()
[all …]
/titanic_50/usr/src/cmd/vi/port/
H A Dex_vops.c90 cursor = linebuf; in vUndo()
175 cursor = vUD1;
180 vnline(cursor);
186 vcursat(cursor);
211 if (cursor > linebuf && cursor >= strend(linebuf))
212 cursor = lastchr(linebuf, cursor);
263 savedot = dot; savedol = dol; savecursor = cursor;
296 dot = savedot; dol = savedol ; cursor = savecursor;
321 vUD1 = vUD2 = cursor; in vnoapp()
331 vmcurs = cursor; in vnoapp()
[all …]
H A Dex_vmain.c145 vrepaint(cursor);
281 vmoveto(dot, cursor, 0);
294 vrepaint(cursor);
330 vrepaint(cursor);
429 vnline(cursor);
443 vnline(cursor);
476 ncols[c - 'a'] = cursor;
559 cursor = strend(linebuf);
565 if (!*cursor && cursor > linebuf)
566 cursor--;
[all …]
H A Dex_vops2.c97 if (wcursor < cursor) in vdcMID()
98 cp = wcursor, wcursor = cursor, cursor = cp; in vdcMID()
99 vUD1 = vUA1 = vUA2 = cursor; vUD2 = wcursor; in vdcMID()
123 if (cursor == wcursor) { in takeout()
127 if (wcursor < cursor) { in takeout()
129 wcursor = cursor; in takeout()
130 cursor = cp; in takeout()
216 gcursor = cursor; in vappend()
250 vgotoCL(nqcolumn(lastchr(linebuf, cursor), genbuf)); in vappend()
261 vUA1 = vUA2 = cursor; in vappend()
[all …]
H A Dex_vops3.c90 wcursor = cursor;
105 if (cursor == wcursor)
191 (wdot != dot - 1 || cursor != linebuf)) {
379 for (cp = cursor; !any(*cp, "({[)}]");) { in lmatchp()
411 unsigned char *scurs = cursor; in lsmatch()
416 strcpy(cursor, genbuf); in lsmatch()
417 cursor = strend(linebuf); in lsmatch()
418 cursor = lastchr(linebuf, cursor); in lsmatch()
442 cursor = scurs; in lsmatch()
H A Dex_voper.c89 wcursor = cursor; in operate()
241 ocurs = cursor; in operate()
258 cursor = ocurs; in operate()
342 ocurs = cursor; in operate()
350 cursor = ocurs; in operate()
367 cursor++; in operate()
656 vmoving = 1, vmovcol = column(cursor); in operate()
705 vmoving = 1, vmovcol = column(cursor); in operate()
746 (d == '`' && wcursor != cursor))) in operate()
791 ocurs = cursor; in operate()
[all …]
H A Dex_subr.c339 ncols['z'-'a'+1] = cursor; in markpr()
1137 vrepaint(cursor);
1142 unsigned char *nextchr(cursor) in nextchr() argument
1143 unsigned char *cursor; in nextchr()
1148 length = mbtowc(&wchar, (char *)cursor, MULTI_BYTE_MAX);
1150 return(++cursor);
1151 return(cursor + length);
1154 unsigned char *lastchr(linebuf, cursor) in lastchr() argument
1155 unsigned char *linebuf, *cursor; in lastchr()
1160 if(cursor == linebuf)
[all …]
/titanic_50/usr/src/cmd/cron/
H A Dcrontab.c104 int cursor; variable
436 cursor = 0;
437 while (line[cursor] == ' ' || line[cursor] == '\t')
438 cursor++;
440 if (line[cursor] == '#' || line[cursor] == '\n')
443 if (strncmp(&line[cursor], ENV_TZ, strlen(ENV_TZ)) == 0) {
446 strncpy(buf, &line[cursor + strlen(ENV_TZ)],
455 fprintf(stderr, BAD_TZ, &line[cursor]);
458 } else if (strncmp(&line[cursor], ENV_SHELL,
462 strncpy(buf, &line[cursor + strlen(ENV_SHELL)],
[all …]
H A Dcron.c1117 static int cursor; /* cursor for the above line */ variable
1160 cursor = 0; in readcron()
1161 while (line[cursor] == ' ' || line[cursor] == '\t') in readcron()
1162 cursor++; in readcron()
1163 if (line[cursor] == '#' || line[cursor] == '\n') in readcron()
1166 if (strncmp(&line[cursor], ENV_TZ, in readcron()
1168 if ((tmp = strchr(&line[cursor], '\n')) != NULL) { in readcron()
1172 if (!isvalid_tz(&line[cursor + strlen(ENV_TZ)], NULL, in readcron()
1177 if (tz == NULL || strcmp(&line[cursor], get_obj(tz))) { in readcron()
1179 tz = create_shared_str(&line[cursor]); in readcron()
[all …]
/titanic_50/usr/src/cmd/sendmail/libsmdb/
H A Dsmdb2.c354 smdb2_cursor_close(cursor) in smdb2_cursor_close() argument
355 SMDB_CURSOR *cursor; in smdb2_cursor_close()
358 DBC *dbc = (DBC *) cursor->smdbc_impl;
361 free(cursor);
366 smdb2_cursor_del(cursor, flags) in smdb2_cursor_del() argument
367 SMDB_CURSOR *cursor; in smdb2_cursor_del()
370 DBC *dbc = (DBC *) cursor->smdbc_impl;
376 smdb2_cursor_get(cursor, key, value, flags) in smdb2_cursor_get() argument
377 SMDB_CURSOR *cursor; in smdb2_cursor_get()
384 DBC *dbc = (DBC *) cursor->smdbc_impl;
[all …]
H A Dsmdb1.c308 smdb1_cursor_close(cursor) in smdb1_cursor_close() argument
309 SMDB_CURSOR *cursor; in smdb1_cursor_close()
311 SMDB_DB1_CURSOR *db1_cursor = (SMDB_DB1_CURSOR *) cursor->smdbc_impl;
318 free(cursor);
324 smdb1_cursor_del(cursor, flags) in smdb1_cursor_del() argument
325 SMDB_CURSOR *cursor; in smdb1_cursor_del()
328 SMDB_DB1_CURSOR *db1_cursor = (SMDB_DB1_CURSOR *) cursor->smdbc_impl;
336 smdb1_cursor_get(cursor, key, value, flags) in smdb1_cursor_get() argument
337 SMDB_CURSOR *cursor; in smdb1_cursor_get()
344 SMDB_DB1_CURSOR *db1_cursor = (SMDB_DB1_CURSOR *) cursor->smdbc_impl;
[all …]
H A Dsmndbm.c281 smdbm_cursor_close(cursor) in smdbm_cursor_close() argument
282 SMDB_CURSOR *cursor; in smdbm_cursor_close()
284 SMDB_DBM_CURSOR *dbm_cursor = (SMDB_DBM_CURSOR *) cursor->smdbc_impl;
292 free(cursor);
298 smdbm_cursor_del(cursor, flags) in smdbm_cursor_del() argument
299 SMDB_CURSOR *cursor; in smdbm_cursor_del()
303 SMDB_DBM_CURSOR *dbm_cursor = (SMDB_DBM_CURSOR *) cursor->smdbc_impl;
325 smdbm_cursor_get(cursor, key, value, flags) in smdbm_cursor_get() argument
326 SMDB_CURSOR *cursor; in smdbm_cursor_get()
331 SMDB_DBM_CURSOR *dbm_cursor = (SMDB_DBM_CURSOR *) cursor->smdbc_impl;
[all …]
/titanic_50/usr/src/lib/libast/common/regex/
H A Dregcomp.c67 #define eat(p) do{if ((p)->token.push)(p)->token.push=0;else (p)->cursor+=(p)->token.len;}while (0)
119 unsigned char* cursor; /* curent point in re */ member
648 sp = (char*)env->cursor + env->token.len; in magic()
731 env->token.len = sp - (char*)env->cursor; in magic()
800 …if (env->type == KRE && *(env->cursor + env->token.len) == '-' && *(env->cursor + env->token.len +… in magic()
805 if (env->type == KRE && *(env->cursor + env->token.len) == '(') in magic()
868 sp = (char*)env->cursor + env->token.len; in magic()
892 env->cursor = (unsigned char*)sp; in magic()
917 if ((env->token.len = MBSIZE(env->cursor)) > 1) in token()
922 c = *env->cursor; in token()
[all …]
/titanic_50/usr/src/uts/common/io/nxge/npi/
H A Dnpi.c152 int cursor, i; in npi_trace_dump() local
161 cursor = rt->next_idx; in npi_trace_dump()
162 cursor = (cursor == 0) ? rt->last_idx : cursor - 1; in npi_trace_dump()
165 trace = &rt->buf[cursor]; in npi_trace_dump()
172 cursor = (cursor == 0) ? rt->last_idx : cursor - 1; in npi_trace_dump()
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_memory.c45 (krb5_context, krb5_ccache id , krb5_cc_cursor *cursor );
62 krb5_cc_cursor *cursor ,
76 (krb5_context, krb5_ccache id , krb5_cc_cursor *cursor );
299 krb5_cc_cursor *cursor) in krb5_mcc_start_seq_get() argument
311 *cursor = (krb5_cc_cursor) mcursor; in krb5_mcc_start_seq_get()
337 krb5_cc_cursor *cursor, krb5_creds *creds) in krb5_mcc_next_cred() argument
346 mcursor = (krb5_mcc_cursor) *cursor; in krb5_mcc_next_cred()
382 *cursor = (krb5_cc_cursor)mcursor->next; in krb5_mcc_next_cred()
414 krb5_mcc_end_seq_get(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor) in krb5_mcc_end_seq_get() argument
416 *cursor = 0L; in krb5_mcc_end_seq_get()
[all …]
H A Dccfns.c126 krb5_cc_cursor *cursor) in krb5_cc_start_seq_get() argument
128 return cache->ops->get_first(context, cache, cursor); in krb5_cc_start_seq_get()
133 krb5_cc_cursor *cursor, krb5_creds *creds) in krb5_cc_next_cred() argument
135 return cache->ops->get_next(context, cache, cursor, creds); in krb5_cc_next_cred()
140 krb5_cc_cursor *cursor) in krb5_cc_end_seq_get() argument
142 return cache->ops->end_get(context, cache, cursor); in krb5_cc_end_seq_get()
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dktfns.c79 krb5_kt_cursor *cursor) in krb5_kt_start_seq_get() argument
81 return krb5_x((keytab)->ops->start_seq_get,(context, keytab, cursor)); in krb5_kt_start_seq_get()
86 krb5_keytab_entry *entry, krb5_kt_cursor *cursor) in krb5_kt_next_entry() argument
88 return krb5_x((keytab)->ops->get_next,(context, keytab, entry, cursor)); in krb5_kt_next_entry()
93 krb5_kt_cursor *cursor) in krb5_kt_end_seq_get() argument
95 return krb5_x((keytab)->ops->end_get,(context, keytab, cursor)); in krb5_kt_end_seq_get()
H A Dkt_solaris.c277 krb5_kt_cursor cursor; in kt_remove_by_key() local
298 if ((code = krb5_kt_start_seq_get(ctx, kt, &cursor)) != 0) in kt_remove_by_key()
301 while ((code = krb5_kt_next_entry(ctx, kt, &entry, &cursor)) == 0) { in kt_remove_by_key()
311 code = krb5_kt_end_seq_get(ctx, kt, &cursor); in kt_remove_by_key()
323 code = krb5_kt_start_seq_get(ctx, kt, &cursor); in kt_remove_by_key()
338 code = krb5_kt_end_seq_get(ctx, kt, &cursor); in kt_remove_by_key()
423 krb5_kt_cursor cursor; in krb5_kt_ad_validate() local
447 if ((code = krb5_kt_start_seq_get(ctx, kt, &cursor)) != 0) in krb5_kt_ad_validate()
450 while ((code = krb5_kt_next_entry(ctx, kt, &entry, &cursor)) == 0) { in krb5_kt_ad_validate()
484 if ((code = krb5_kt_end_seq_get(ctx, kt, &cursor))) in krb5_kt_ad_validate()
/titanic_50/usr/src/lib/libsqlite/tool/
H A Dspace_used.tcl57 set cursor [btree_cursor $DB $rootpage 0]
58 set go [btree_first $cursor]
64 set payload [btree_payload_size $cursor]
66 set stat [btree_cursor_dump $cursor]
75 set go [btree_next $cursor]
77 btree_close_cursor $cursor
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dcopy_ccache.c15 krb5_cc_cursor cursor; local
44 code = krb5_cc_start_seq_get(context, k5creds->ccache, &cursor);
52 while (!code && !krb5_cc_next_cred(context, k5creds->ccache, &cursor, &creds))
54 krb5_cc_end_seq_get(context, k5creds->ccache, &cursor);
/titanic_50/usr/src/cmd/sendmail/include/libsmdb/
H A Dsmdb.h178 SMDB_CURSOR **cursor, unsigned int flags));
206 typedef int (*db_cursor_close_func) __P((SMDB_CURSOR *cursor));
220 typedef int (*db_cursor_del_func) __P((SMDB_CURSOR *cursor,
240 typedef int (*db_cursor_get_func) __P((SMDB_CURSOR *cursor,
268 typedef int (*db_cursor_put_func) __P((SMDB_CURSOR *cursor,
/titanic_50/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_cache.c223 smb_cache_iterinit(smb_cache_t *chandle, smb_cache_cursor_t *cursor) in smb_cache_iterinit() argument
225 cursor->cc_sequence = chandle->ch_sequence; in smb_cache_iterinit()
226 cursor->cc_next = NULL; in smb_cache_iterinit()
240 smb_cache_iterate(smb_cache_t *chandle, smb_cache_cursor_t *cursor, void *data) in smb_cache_iterate() argument
249 if (cursor->cc_sequence != chandle->ch_sequence) { in smb_cache_iterate()
254 if (cursor->cc_next == NULL) in smb_cache_iterate()
257 node = AVL_NEXT(&chandle->ch_cache, cursor->cc_next); in smb_cache_iterate()
262 cursor->cc_next = node; in smb_cache_iterate()
/titanic_50/usr/src/cmd/sendmail/aux/
H A Dpraliases.c242 SMDB_CURSOR *cursor = NULL; local
320 result = database->smdb_cursor(database, &cursor, 0);
329 while ((result = cursor->smdbc_get(cursor, &db_key, &db_value,
391 if (cursor != NULL)
392 (void) cursor->smdbc_close(cursor);
/titanic_50/usr/src/cmd/krb5/kadmin/kclient/
H A Dksetpw.c262 krb5_kt_cursor cursor; in kt_remove_entries() local
278 code = krb5_kt_start_seq_get(ctx, kt, &cursor); in kt_remove_entries()
284 while ((code = krb5_kt_next_entry(ctx, kt, &entry, &cursor)) == 0) { in kt_remove_entries()
287 code = krb5_kt_end_seq_get(ctx, kt, &cursor); in kt_remove_entries()
303 code = krb5_kt_start_seq_get(ctx, kt, &cursor); in kt_remove_entries()
319 if ((code = krb5_kt_end_seq_get(ctx, kt, &cursor))) { in kt_remove_entries()

1234