Home
last modified time | relevance | path

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

12345

/illumos-gate/usr/src/tools/smatch/src/
H A Dtoken_store.c52 static struct line *cursor; variable
56 if (!cursor) in find_line()
58 if (pos.line == cursor->pos.line) in find_line()
60 if (pos.line < cursor->pos.line) { in find_line()
61 if (!cursor->prev) in find_line()
63 cursor = cursor->prev; in find_line()
67 if (!cursor->next) in find_line()
69 if (pos.line < cursor->next->pos.line) in find_line()
71 cursor = cursor->next; in find_line()
100 if (!cursor) { in store_token()
[all …]
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_xml.c628 xmlNodePtr cursor; in lxml_get_value() local
630 for (cursor = value->xmlChildrenNode; cursor != NULL; in lxml_get_value()
631 cursor = cursor->next) { in lxml_get_value()
635 if (lxml_ignorable_block(cursor)) in lxml_get_value()
638 switch (lxml_xlate_element(cursor->name)) { in lxml_get_value()
640 if ((assigned_value = xmlGetProp(cursor, in lxml_get_value()
646 "\'%s\'\n"), cursor->name); in lxml_get_value()
727 xmlNodePtr cursor; in lxml_get_property() local
767 for (cursor = property->xmlChildrenNode; cursor != NULL; in lxml_get_property()
768 cursor = cursor->next) { in lxml_get_property()
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_nvram.c66 __inout tlv_cursor_t *cursor);
78 __in tlv_cursor_t *cursor) in tlv_tag() argument
82 dword = cursor->current[0]; in tlv_tag()
90 __in tlv_cursor_t *cursor) in tlv_length() argument
94 if (tlv_tag(cursor) == TLV_TAG_END) in tlv_length()
97 dword = cursor->current[1]; in tlv_length()
105 __in tlv_cursor_t *cursor) in tlv_value() argument
107 if (tlv_tag(cursor) == TLV_TAG_END) in tlv_value()
110 return ((uint8_t *)(&cursor->current[2])); in tlv_value()
115 __in tlv_cursor_t *cursor) in tlv_item() argument
[all …]
/illumos-gate/usr/src/cmd/cron/
H A Dparse.c52 (x) = (x) * 10 + (line[cursor] - '0'); \
57 } while (isdigit(line[++cursor]))
77 int cursor = *cursorp; in next_field() local
85 while (ISSPACE(line[cursor])) in next_field()
86 cursor++; in next_field()
88 if (line[cursor] == '\0') { in next_field()
96 if (line[cursor] == '*') { in next_field()
97 cursor++; in next_field()
100 if (ISSPACE(line[cursor])) { in next_field()
111 if (line[cursor] != '/') { in next_field()
[all …]
H A Dcrontab.c109 int cursor; variable
456 cursor = 0; in copycron()
457 while (line[cursor] == ' ' || line[cursor] == '\t') in copycron()
458 cursor++; in copycron()
460 if (line[cursor] == '#' || line[cursor] == '\n') in copycron()
463 if (strncmp(&line[cursor], ENV_TZ, strlen(ENV_TZ)) == 0) { in copycron()
466 (void) strncpy(buf, &line[cursor + strlen(ENV_TZ)], in copycron()
475 fprintf(stderr, BAD_TZ, &line[cursor]); in copycron()
478 } else if (strncmp(&line[cursor], ENV_SHELL, in copycron()
482 (void) strncpy(buf, &line[cursor + strlen(ENV_SHELL)], in copycron()
[all …]
/illumos-gate/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.c143 vrepaint(cursor);
279 vmoveto(dot, cursor, 0);
292 vrepaint(cursor);
328 vrepaint(cursor);
427 vnline(cursor);
441 vnline(cursor);
474 ncols[c - 'a'] = cursor;
557 cursor = strend(linebuf);
563 if (!*cursor && cursor > linebuf)
564 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()
657 vmoving = 1, vmovcol = column(cursor); in operate()
706 vmoving = 1, vmovcol = column(cursor); in operate()
747 (d == '`' && wcursor != cursor))) in operate()
792 ocurs = cursor; in operate()
[all …]
/illumos-gate/usr/src/uts/i86pc/boot/
H A Dboot_fb.c154 fb_info.cursor.origin.x = xbi_fb->cursor.origin.x; in xbi_fb_init()
155 fb_info.cursor.origin.y = xbi_fb->cursor.origin.y; in xbi_fb_init()
156 fb_info.cursor.pos.x = xbi_fb->cursor.pos.x; in xbi_fb_init()
157 fb_info.cursor.pos.y = xbi_fb->cursor.pos.y; in xbi_fb_init()
158 fb_info.cursor.visible = xbi_fb->cursor.visible; in xbi_fb_init()
439 if (fb_info.cursor.pos.x != 0 || fb_info.cursor.pos.y != 0) { in boot_fb_init()
440 fb_info.cursor.origin.x = window.x + in boot_fb_init()
441 fb_info.cursor.pos.x * boot_fb_font.vf_width; in boot_fb_init()
442 fb_info.cursor.origin.y = window.y + in boot_fb_init()
443 fb_info.cursor.pos.y * boot_fb_font.vf_height; in boot_fb_init()
[all …]
H A Dboot_vga.c108 fb_info.cursor.visible = B_FALSE; in boot_vga_init()
120 if (fb_info.cursor.pos.x == 0 && fb_info.cursor.pos.y == 0) in boot_vga_init()
122 vga_setpos(fb_info.cursor.pos.y, fb_info.cursor.pos.x); in boot_vga_init()
149 if (fb_info.cursor.visible == visible) in vga_cursor_display()
202 x = fb_info.cursor.pos.x; in vga_eraseline()
203 y = fb_info.cursor.pos.y; in vga_eraseline()
213 x = fb_info.cursor.pos.x; in vga_shiftline()
214 y = fb_info.cursor.pos.y; in vga_shiftline()
304 fb_info.cursor.pos.y = row; in vga_setpos()
305 fb_info.cursor.pos.x = col; in vga_setpos()
/illumos-gate/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.c279 smdbm_cursor_close(cursor) in smdbm_cursor_close() argument
280 SMDB_CURSOR *cursor; in smdbm_cursor_close()
282 SMDB_DBM_CURSOR *dbm_cursor = (SMDB_DBM_CURSOR *) cursor->smdbc_impl;
290 free(cursor);
296 smdbm_cursor_del(cursor, flags) in smdbm_cursor_del() argument
297 SMDB_CURSOR *cursor; in smdbm_cursor_del()
301 SMDB_DBM_CURSOR *dbm_cursor = (SMDB_DBM_CURSOR *) cursor->smdbc_impl;
323 smdbm_cursor_get(cursor, key, value, flags) in smdbm_cursor_get() argument
324 SMDB_CURSOR *cursor; in smdbm_cursor_get()
329 SMDB_DBM_CURSOR *dbm_cursor = (SMDB_DBM_CURSOR *) cursor->smdbc_impl;
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/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
657 sp = (char*)env->cursor + env->token.len; in magic()
740 env->token.len = sp - (char*)env->cursor; in magic()
809 …if (env->type == KRE && *(env->cursor + env->token.len) == '-' && *(env->cursor + env->token.len +… in magic()
814 if (env->type == KRE && *(env->cursor + env->token.len) == '(') in magic()
877 sp = (char*)env->cursor + env->token.len; in magic()
901 env->cursor = (unsigned char*)sp; in magic()
926 if ((env->token.len = MBSIZE(env->cursor)) > 1) in token()
931 c = *env->cursor; in token()
[all …]
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi.c150 int cursor, i; in npi_trace_dump() local
159 cursor = rt->next_idx; in npi_trace_dump()
160 cursor = (cursor == 0) ? rt->last_idx : cursor - 1; in npi_trace_dump()
163 trace = &rt->buf[cursor]; in npi_trace_dump()
170 cursor = (cursor == 0) ? rt->last_idx : cursor - 1; in npi_trace_dump()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzcp_iter.c51 uint64_t cursor = lua_tonumber(state, lua_upvalueindex(2)); in zcp_clones_iter() local
72 dsl_dataset_phys(ds)->ds_next_clones_obj, cursor); in zcp_clones_iter()
86 cursor = zap_cursor_serialize(&zc); in zcp_clones_iter()
99 lua_pushnumber(state, cursor); in zcp_clones_iter()
126 uint64_t dsobj, cursor; in zcp_clones_list() local
136 cursor = 0; in zcp_clones_list()
147 lua_pushnumber(state, cursor); in zcp_clones_list()
158 uint64_t cursor = lua_tonumber(state, lua_upvalueindex(2)); in zcp_snapshots_iter() local
178 sizeof (snapname) - (p - snapname), p, NULL, &cursor, NULL); in zcp_snapshots_iter()
188 lua_pushnumber(state, cursor); in zcp_snapshots_iter()
[all …]
/illumos-gate/usr/src/lib/libsqlite/tool/
H A Dspace_used.tcl54 set cursor [btree_cursor $DB $rootpage 0]
55 set go [btree_first $cursor]
61 set payload [btree_payload_size $cursor]
63 set stat [btree_cursor_dump $cursor]
72 set go [btree_next $cursor]
74 btree_close_cursor $cursor
/illumos-gate/usr/src/boot/forth/
H A Dscreen.4th32 \ Home cursor ( Esc-[H )
41 \ move cursor to x rows, y cols (1-based coords) ( Esc-[%d;%dH )
79 \ Place the cursor at the bottom left of the screen
82 \ set cursor invisible or normal (civis/cnorm)
83 : cursor-invisible ( -- ) [char] l ;
84 : cursor-normal ( -- ) [char] h ;
85 : cursor-set ( cursor-mode -- ) escc [char] ? emit 25 .# emit ;
/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/
H A Dsmdb.py37 cur = con.cursor()
353 cur = con.cursor()
386 cur = con.cursor()
404 cur = con.cursor()
413 cur = con.cursor()
427 cur = con.cursor()
457 cur = con.cursor()
470 cur = con.cursor()
482 cur = con.cursor()
494 cur = con.cursor()
[all …]

12345