/illumos-gate/usr/src/tools/smatch/src/ |
H A D | token_store.c | 56 if (!cursor) in find_line() 61 if (!cursor->prev) in find_line() 63 cursor = cursor->prev; in find_line() 67 if (!cursor->next) in find_line() 71 cursor = cursor->next; in find_line() 100 if (!cursor) { in store_token() 109 cursor->prev->next = cursor; in store_token() 110 cursor = cursor->prev; in store_token() 122 cursor->next->prev = cursor; in store_token() 123 cursor = cursor->next; in store_token() [all …]
|
/illumos-gate/usr/src/cmd/svc/svccfg/ |
H A D | svccfg_xml.c | 631 cursor = cursor->next) { in lxml_get_value() 768 cursor = cursor->next) { in lxml_get_property() 858 cursor = cursor->next) { in lxml_get_pgroup() 972 cursor = cursor->next) { in lxml_get_method_environment() 1023 cursor = cursor->next) { in lxml_get_method_context() 1112 cursor = cursor->next) { in lxml_get_exec_method() 1191 cursor = cursor->next) { in lxml_get_dependency() 1414 cursor = cursor->next) { in lxml_get_restarter() 1492 cursor = cursor->next) { in lxml_get_type() 1551 cursor = cursor->next) { in lxml_get_event() [all …]
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | ef10_nvram.c | 151 if (cursor->current == cursor->end) { in tlv_advance() 159 cursor->current = tlv_next_item_ptr(cursor); in tlv_advance() 182 cursor->current = cursor->block; in tlv_rewind() 219 if (cursor->current < cursor->block) { in tlv_validate_state() 223 if (cursor->current > cursor->limit) { in tlv_validate_state() 230 if (cursor->current > (cursor->limit - 2)) { in tlv_validate_state() 237 if (tlv_next_item_ptr(cursor) > (cursor->limit - 1)) { in tlv_validate_state() 314 cursor->end = cursor->current; in tlv_require_end() 429 (void) memmove(cursor->current + delta, cursor->current, in tlv_insert() 870 *startp = byte_offset(cursor.current, cursor.block); in ef10_nvram_buffer_find_item_start() [all …]
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | parse.c | 77 int cursor = *cursorp; in next_field() local 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() 133 cursor++; in next_field() 152 if (line[cursor] == '/') { in next_field() 153 cursor++; in next_field() 187 if (line[cursor] != ',') in next_field() 190 cursor++; in next_field() [all …]
|
H A D | crontab.c | 109 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() 475 fprintf(stderr, BAD_TZ, &line[cursor]); in copycron() 478 } else if (strncmp(&line[cursor], ENV_SHELL, in copycron() 494 } else if (strncmp(&line[cursor], ENV_HOME, in copycron() 506 fprintf(stderr, BAD_HOME, &line[cursor], in copycron() 526 &line[cursor], strerror(errno)); in copycron() [all …]
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_vops.c | 175 cursor = vUD1; 211 if (cursor > linebuf && cursor >= strend(linebuf)) 212 cursor = lastchr(linebuf, cursor); 464 cp = cursor; in vdelete() 471 cursor = cp; in vdelete() 525 *cursor = 0; in vchange() 658 if (*cursor == 0 && cursor > linebuf) in vchange() 659 cursor = lastchr(linebuf, cursor); in vchange() 676 cp = cursor; in vchange() 696 cursor = cp; in vchange() [all …]
|
H A D | ex_vmain.c | 143 vrepaint(cursor); 427 vnline(cursor); 441 vnline(cursor); 563 if (!*cursor && cursor > linebuf) 564 cursor--; 598 if (*cursor) { 708 if (*cursor) { 720 cursor++; 914 cursor = nextchr(cursor); 922 cursor = 0; [all …]
|
H A D | ex_vops2.c | 97 if (wcursor < cursor) in vdcMID() 98 cp = wcursor, wcursor = cursor, cursor = cp; in vdcMID() 129 wcursor = cursor; in takeout() 130 cursor = cp; in takeout() 216 gcursor = cursor; in vappend() 526 vUA2 = cursor; in vappend() 687 cursor = linebuf; in vappend() 726 cursor = lastchr(linebuf, cursor); in vappend() 737 ++cursor; in vappend() 745 wcursor = cursor; in vappend() [all …]
|
H A D | ex_vops3.c | 90 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 D | ex_voper.c | 89 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() 747 (d == '`' && wcursor != cursor))) in operate() 792 ocurs = cursor; in operate() 811 addr = address(cursor); in operate() 822 cursor = ocurs; in operate() [all …]
|
/illumos-gate/usr/src/uts/i86pc/boot/ |
H A D | boot_fb.c | 154 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() 448 if (fb_info.cursor.pos.x == 0 && fb_info.cursor.pos.y == 0) { in boot_fb_init() 464 fb_info.cursor.pos.x = 0; in boot_fb_init() 465 fb_info.cursor.pos.y = 0; in boot_fb_init() 470 if (fb_info.cursor.pos.x == 0 && fb_info.cursor.pos.y == 0) { in boot_fb_init() [all …]
|
H A D | boot_vga.c | 108 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 D | smdb2.c | 354 smdb2_cursor_close(cursor) in smdb2_cursor_close() argument 355 SMDB_CURSOR *cursor; in smdb2_cursor_close() 361 free(cursor); 366 smdb2_cursor_del(cursor, flags) in smdb2_cursor_del() argument 367 SMDB_CURSOR *cursor; in smdb2_cursor_del() 377 SMDB_CURSOR *cursor; in smdb2_cursor_get() 403 SMDB_CURSOR *cursor; in smdb2_cursor_put() 422 smdb2_cursor(database, cursor, flags) in smdb2_cursor() argument 424 SMDB_CURSOR **cursor; 440 if (*cursor == NULL) [all …]
|
H A D | smdb1.c | 308 smdb1_cursor_close(cursor) in smdb1_cursor_close() argument 309 SMDB_CURSOR *cursor; in smdb1_cursor_close() 318 free(cursor); 324 smdb1_cursor_del(cursor, flags) in smdb1_cursor_del() argument 325 SMDB_CURSOR *cursor; in smdb1_cursor_del() 336 smdb1_cursor_get(cursor, key, value, flags) in smdb1_cursor_get() argument 337 SMDB_CURSOR *cursor; in smdb1_cursor_get() 367 SMDB_CURSOR *cursor; in smdb1_cursor_put() 388 smdb1_cursor(database, cursor, flags) in smdb1_cursor() argument 390 SMDB_CURSOR **cursor; [all …]
|
H A D | smndbm.c | 279 smdbm_cursor_close(cursor) in smdbm_cursor_close() argument 280 SMDB_CURSOR *cursor; in smdbm_cursor_close() 290 free(cursor); 296 smdbm_cursor_del(cursor, flags) in smdbm_cursor_del() argument 297 SMDB_CURSOR *cursor; in smdbm_cursor_del() 323 smdbm_cursor_get(cursor, key, value, flags) in smdbm_cursor_get() argument 324 SMDB_CURSOR *cursor; in smdbm_cursor_get() 385 SMDB_CURSOR *cursor; in smdbm_cursor_put() 427 smdbm_cursor(database, cursor, flags) in smdbm_cursor() argument 429 SMDB_CURSOR **cursor; [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/ |
H A D | regcomp.c | 947 env->cursor++; in token() 1197 env->cursor++; in bra() 1204 …cursor == 0 || *(env->cursor + 1) == 0 || *env->cursor == env->terminator || *(env->cursor + 1) ==… in bra() 1206 begin = env->cursor + MBSIZE(env->cursor); in bra() 1217 env->cursor += (w = MBSIZE(env->cursor)); in bra() 1315 if (env->cursor == start && (c = *(env->cursor + 1))) in bra() 1485 env->cursor += (w = MBSIZE(env->cursor)); in bra() 1570 …if (env->cursor == start && (c = *(env->cursor + 1)) && *(env->cursor + 2) == ':' && *(env->cursor… in bra() 2017 env->cursor++; in chr() 2030 c = chresc((char*)env->cursor - 1, (char**)&env->cursor); in chr() [all …]
|
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi.c | 150 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 D | cc_memory.c | 62 krb5_cc_cursor *cursor , 416 *cursor = 0L; in krb5_mcc_end_seq_get() 687 krb5_cc_ptcursor *cursor) in krb5_mcc_ptcursor_new() argument 693 *cursor = NULL; in krb5_mcc_ptcursor_new() 717 *cursor = n; in krb5_mcc_ptcursor_new() 724 krb5_cc_ptcursor cursor, in krb5_mcc_ptcursor_next() argument 731 cdata = cursor->data; in krb5_mcc_ptcursor_next() 761 if (*cursor == NULL) in krb5_mcc_ptcursor_free() 764 free((*cursor)->data); in krb5_mcc_ptcursor_free() 765 free(*cursor); in krb5_mcc_ptcursor_free() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | ktfns.c | 79 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 D | kt_solaris.c | 277 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/lib/libsqlite/tool/ |
H A D | space_used.tcl | 54 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/uts/common/fs/zfs/ |
H A D | zcp_iter.c | 51 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 188 lua_pushnumber(state, cursor); in zcp_snapshots_iter() 255 uint64_t cursor = lua_tonumber(state, lua_upvalueindex(2)); in zcp_children_iter() local [all …]
|
/illumos-gate/usr/src/boot/forth/ |
H A D | screen.4th | 32 \ 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 D | smdb.py | 37 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 …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | copy_ccache.c | 15 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);
|