Searched refs:cursor (Results 1 - 25 of 76) sorted by relevance

1234

/illumos-gate/usr/src/lib/efcode/engine/
H A Dinteractive.c436 find_next_word(char *cursor, char *eol) argument
438 while (cursor < eol && *cursor != ' ')
439 cursor++;
440 while (cursor < eol && *cursor == ' ')
441 cursor++;
442 return (cursor);
446 find_prev_word(char *buf, char *cursor) argument
450 if (cursor
501 char *p, *cursor, *eol, *tp, *cp; local
[all...]
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_xml.c627 xmlNodePtr cursor; local
629 for (cursor = value->xmlChildrenNode; cursor != NULL;
630 cursor = cursor->next) {
634 if (lxml_ignorable_block(cursor))
637 switch (lxml_xlate_element(cursor->name)) {
639 if ((assigned_value = xmlGetProp(cursor,
645 "\'%s\'\n"), cursor->name);
726 xmlNodePtr cursor; local
838 xmlNodePtr cursor; local
964 xmlNodePtr cursor; local
1003 xmlNodePtr cursor; local
1063 xmlNodePtr cursor; local
1153 xmlNodePtr cursor; local
1398 xmlNode *cursor; local
1478 xmlNodePtr cursor; local
1544 xmlNodePtr cursor; local
1576 xmlNodePtr cursor; local
1670 xmlNodePtr cursor; local
1750 xmlNodePtr cursor; local
1789 lxml_get_cardinality_attribute(entity_t *service, xmlNodePtr cursor, const char *attr_name, const char *prop_name, uint64_t *value, property_t **propp) argument
1847 lxml_get_tm_cardinality(entity_t *service, pgroup_t *pg, xmlNodePtr cursor) argument
2052 xmlNodePtr cursor; local
2179 xmlNodePtr cursor; local
2204 lxml_get_prop_pattern_attributes(pgroup_t *pg, xmlNodePtr cursor) argument
2433 xmlNodePtr cursor; local
2521 xmlNodePtr cursor; local
2581 xmlNodePtr cursor; local
2640 xmlNodePtr cursor; local
2699 xmlNodePtr cursor; local
2844 lxml_get_pg_pattern_attributes(pgroup_t *pg, xmlNodePtr cursor) argument
2961 xmlNodePtr cursor; local
3119 xmlNodePtr cursor; local
3213 xmlNodePtr cursor; local
3414 xmlNodePtr cursor; local
3589 xmlNodePtr cursor; local
3670 xmlNodePtr cursor; local
[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)
82 dword = cursor->current[0];
90 __in tlv_cursor_t *cursor)
94 if (tlv_tag(cursor) == TLV_TAG_END)
97 dword = cursor->current[1];
105 __in tlv_cursor_t *cursor)
107 if (tlv_tag(cursor) == TLV_TAG_END)
110 return ((uint8_t *)(&cursor->current[2]));
115 __in tlv_cursor_t *cursor)
77 tlv_tag( __in tlv_cursor_t *cursor) argument
89 tlv_length( __in tlv_cursor_t *cursor) argument
104 tlv_value( __in tlv_cursor_t *cursor) argument
114 tlv_item( __in tlv_cursor_t *cursor) argument
132 tlv_next_item_ptr( __in tlv_cursor_t *cursor) argument
143 tlv_advance( __inout tlv_cursor_t *cursor) argument
177 tlv_rewind( __in tlv_cursor_t *cursor) argument
196 tlv_find( __inout tlv_cursor_t *cursor, __in uint32_t tag) argument
213 tlv_validate_state( __inout tlv_cursor_t *cursor) argument
259 tlv_init_cursor( __out tlv_cursor_t *cursor, __in uint32_t *block, __in uint32_t *limit, __in uint32_t *current) argument
275 tlv_init_cursor_from_size( __out tlv_cursor_t *cursor, __in_bcount(size) uint8_t *block, __in size_t size) argument
288 tlv_init_cursor_at_offset( __out tlv_cursor_t *cursor, __in_bcount(size) uint8_t *block, __in size_t size, __in size_t offset) argument
303 tlv_require_end( __inout tlv_cursor_t *cursor) argument
327 tlv_block_length_used( __inout tlv_cursor_t *cursor) argument
350 tlv_last_segment_end( __in tlv_cursor_t *cursor) argument
377 tlv_write( __in tlv_cursor_t *cursor, __in uint32_t tag, __in_bcount(size) uint8_t *data, __in size_t size) argument
398 tlv_insert( __inout tlv_cursor_t *cursor, __in uint32_t tag, __in_bcount(size) uint8_t *data, __in size_t size) argument
453 tlv_delete( __inout tlv_cursor_t *cursor) argument
497 tlv_modify( __inout tlv_cursor_t *cursor, __in uint32_t tag, __in_bcount(size) uint8_t *data, __in size_t size) argument
587 tlv_cursor_t *cursor; local
608 tlv_update_partition_len_and_cks( __in tlv_cursor_t *cursor) argument
665 tlv_cursor_t cursor; local
767 tlv_cursor_t cursor; local
852 tlv_cursor_t cursor; local
898 tlv_cursor_t cursor; local
934 tlv_cursor_t cursor; local
973 tlv_cursor_t cursor; local
1018 tlv_cursor_t cursor; local
1054 tlv_cursor_t cursor; local
1082 tlv_cursor_t cursor; local
1124 tlv_cursor_t cursor; local
1254 tlv_cursor_t cursor; local
1392 tlv_cursor_t cursor; local
1525 tlv_cursor_t cursor; local
[all...]
/illumos-gate/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]);
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dktfns.c79 krb5_kt_cursor *cursor)
81 return krb5_x((keytab)->ops->start_seq_get,(context, keytab, cursor));
86 krb5_keytab_entry *entry, krb5_kt_cursor *cursor)
88 return krb5_x((keytab)->ops->get_next,(context, keytab, entry, cursor));
93 krb5_kt_cursor *cursor)
95 return krb5_x((keytab)->ops->end_get,(context, keytab, cursor));
78 krb5_kt_start_seq_get(krb5_context context, krb5_keytab keytab, krb5_kt_cursor *cursor) argument
85 krb5_kt_next_entry(krb5_context context, krb5_keytab keytab, krb5_keytab_entry *entry, krb5_kt_cursor *cursor) argument
92 krb5_kt_end_seq_get(krb5_context context, krb5_keytab keytab, krb5_kt_cursor *cursor) argument
H A Dkt_solaris.c277 krb5_kt_cursor cursor; local
298 if ((code = krb5_kt_start_seq_get(ctx, kt, &cursor)) != 0)
301 while ((code = krb5_kt_next_entry(ctx, kt, &entry, &cursor)) == 0) {
311 code = krb5_kt_end_seq_get(ctx, kt, &cursor);
323 code = krb5_kt_start_seq_get(ctx, kt, &cursor);
338 code = krb5_kt_end_seq_get(ctx, kt, &cursor);
423 krb5_kt_cursor cursor; local
447 if ((code = krb5_kt_start_seq_get(ctx, kt, &cursor)) != 0)
450 while ((code = krb5_kt_next_entry(ctx, kt, &entry, &cursor)) == 0) {
484 if ((code = krb5_kt_end_seq_get(ctx, kt, &cursor)))
[all...]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_vops.c90 cursor = linebuf;
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
[all...]
H A Dex_vmain.c105 * and the cursor at the position cursor. You should do
145 vrepaint(cursor);
281 vmoveto(dot, cursor, 0);
294 vrepaint(cursor);
330 vrepaint(cursor);
373 * one should simply move the cursor.
429 vnline(cursor);
443 vnline(cursor);
476 ncols[c - 'a'] = cursor;
[all...]
H A Dex_vops2.c97 if (wcursor < cursor)
98 cp = wcursor, wcursor = cursor, cursor = cp;
99 vUD1 = vUA1 = vUA2 = cursor; vUD2 = wcursor;
102 * cursor column correctly when we've moved off the initial line
123 if (cursor == wcursor) {
127 if (wcursor < cursor) {
129 wcursor = cursor;
130 cursor = cp;
210 * we retype the line to the left of the cursor s
[all...]
H A Dex_vops3.c90 wcursor = cursor;
105 if (cursor == wcursor)
191 (wdot != dot - 1 || cursor != linebuf)) {
379 for (cp = cursor; !any(*cp, "({[)}]");) {
411 unsigned char *scurs = cursor;
416 strcpy(cursor, genbuf);
417 cursor = strend(linebuf);
418 cursor = lastchr(linebuf, cursor);
442 cursor
[all...]
H A Dex_voper.c89 wcursor = cursor;
156 * r Replace character under cursor with single following
241 ocurs = cursor;
258 cursor = ocurs;
338 * first such after cursor on this line.
342 ocurs = cursor;
350 cursor = ocurs;
367 cursor++;
448 * F Find single character before cursor in current line.
457 * f Find single character following cursor i
[all...]
/illumos-gate/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);
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi.c152 int cursor, i; local
161 cursor = rt->next_idx;
162 cursor = (cursor == 0) ? rt->last_idx : cursor - 1;
165 trace = &rt->buf[cursor];
172 cursor = (cursor == 0) ? rt->last_idx : cursor - 1;
/illumos-gate/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
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dccfns.c126 krb5_cc_cursor *cursor)
128 return cache->ops->get_first(context, cache, cursor);
133 krb5_cc_cursor *cursor, krb5_creds *creds)
135 return cache->ops->get_next(context, cache, cursor, creds);
140 krb5_cc_cursor *cursor)
142 return cache->ops->end_get(context, cache, cursor);
125 krb5_cc_start_seq_get(krb5_context context, krb5_ccache cache, krb5_cc_cursor *cursor) argument
132 krb5_cc_next_cred(krb5_context context, krb5_ccache cache, krb5_cc_cursor *cursor, krb5_creds *creds) argument
139 krb5_cc_end_seq_get(krb5_context context, krb5_ccache cache, krb5_cc_cursor *cursor) argument
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)
311 *cursor = (krb5_cc_cursor) mcursor;
317 * cursor is a krb5_cc_cursor originally obtained from
321 * cursor, creds
330 * The cursor is updated for the next call to krb5_mcc_next_cred.
337 krb5_cc_cursor *cursor, krb5_creds *creds)
346 mcursor = (krb5_mcc_cursor) *cursor;
298 krb5_mcc_start_seq_get(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor) argument
336 krb5_mcc_next_cred(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor, krb5_creds *creds) argument
414 krb5_mcc_end_seq_get(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor) argument
685 krb5_mcc_ptcursor_new( krb5_context context, krb5_cc_ptcursor *cursor) argument
722 krb5_mcc_ptcursor_next( krb5_context context, krb5_cc_ptcursor cursor, krb5_ccache *ccache) argument
757 krb5_mcc_ptcursor_free( krb5_context context, krb5_cc_ptcursor *cursor) argument
[all...]
/illumos-gate/usr/src/cmd/sendmail/libsmdb/
H A Dsmdb2.c170 ** SMDB_CURSOR_GET_FLAGS_TO_DB2 -- Translates smdb cursor get flags to db2
354 smdb2_cursor_close(cursor)
355 SMDB_CURSOR *cursor;
358 DBC *dbc = (DBC *) cursor->smdbc_impl;
361 free(cursor);
366 smdb2_cursor_del(cursor, flags)
367 SMDB_CURSOR *cursor;
370 DBC *dbc = (DBC *) cursor->smdbc_impl;
376 smdb2_cursor_get(cursor, key, value, flags)
377 SMDB_CURSOR *cursor;
[all...]
H A Dsmdb1.c308 smdb1_cursor_close(cursor)
309 SMDB_CURSOR *cursor;
311 SMDB_DB1_CURSOR *db1_cursor = (SMDB_DB1_CURSOR *) cursor->smdbc_impl;
318 free(cursor);
324 smdb1_cursor_del(cursor, flags)
325 SMDB_CURSOR *cursor;
328 SMDB_DB1_CURSOR *db1_cursor = (SMDB_DB1_CURSOR *) cursor->smdbc_impl;
336 smdb1_cursor_get(cursor, key, value, flags)
337 SMDB_CURSOR *cursor;
344 SMDB_DB1_CURSOR *db1_cursor = (SMDB_DB1_CURSOR *) cursor
[all...]
H A Dsmndbm.c281 smdbm_cursor_close(cursor)
282 SMDB_CURSOR *cursor;
284 SMDB_DBM_CURSOR *dbm_cursor = (SMDB_DBM_CURSOR *) cursor->smdbc_impl;
292 free(cursor);
298 smdbm_cursor_del(cursor, flags)
299 SMDB_CURSOR *cursor;
303 SMDB_DBM_CURSOR *dbm_cursor = (SMDB_DBM_CURSOR *) cursor->smdbc_impl;
325 smdbm_cursor_get(cursor, key, value, flags)
326 SMDB_CURSOR *cursor;
331 SMDB_DBM_CURSOR *dbm_cursor = (SMDB_DBM_CURSOR *) cursor
[all...]
/illumos-gate/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 in struct:Cenv_s
648 sp = (char*)env->cursor + env->token.len;
731 env->token.len = sp - (char*)env->cursor;
800 if (env->type == KRE && *(env->cursor + env->token.len) == '-' && *(env->cursor + env->token.len + 1) == '(')
805 if (env->type == KRE && *(env->cursor + env->token.len) == '(')
868 sp = (char*)env->cursor + env->token.len;
892 env->cursor = (unsigned char*)sp;
917 if ((env->token.len = MBSIZE(env->cursor)) >
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_cache.c220 * Initializes the given cursor for iterating the cache
223 smb_cache_iterinit(smb_cache_t *chandle, smb_cache_cursor_t *cursor) argument
225 cursor->cc_sequence = chandle->ch_sequence;
226 cursor->cc_next = NULL;
230 * Iterate the cache using the given cursor.
240 smb_cache_iterate(smb_cache_t *chandle, smb_cache_cursor_t *cursor, void *data) argument
249 if (cursor->cc_sequence != chandle->ch_sequence) {
254 if (cursor->cc_next == NULL)
257 node = AVL_NEXT(&chandle->ch_cache, cursor->cc_next);
262 cursor
[all...]
/illumos-gate/usr/src/cmd/sendmail/include/libsmdb/
H A Dsmdb.h165 ** DB_CURSOR -- Obtain a cursor for sequential access
169 ** cursor -- The address of a cursor pointer.
178 SMDB_CURSOR **cursor, unsigned int flags));
196 ** DB_CURSOR_CLOSE -- Close a cursor
199 ** cursor -- The cursor to close.
206 typedef int (*db_cursor_close_func) __P((SMDB_CURSOR *cursor));
209 ** DB_CURSOR_DEL -- Delete the key/value pair of this cursor
212 ** cursor
[all...]
/illumos-gate/usr/src/cmd/sendmail/aux/
H A Dpraliases.c242 SMDB_CURSOR *cursor = NULL; local
320 result = database->smdb_cursor(database, &cursor, 0);
324 "praliases: %s: set cursor: %s\n", db_name,
329 while ((result = cursor->smdbc_get(cursor, &db_key, &db_value,
355 "praliases: %s: get value at cursor: %s\n",
391 if (cursor != NULL)
392 (void) cursor->smdbc_close(cursor);
H A Dmakemap.c103 SMDB_CURSOR *cursor; local
362 errno = database->smdb_cursor(database, &cursor, 0);
367 "%s: cannot make cursor for type %s map %s\n",
377 errno = cursor->smdbc_get(cursor, &db_key, &db_val,
391 (void) cursor->smdbc_close(cursor);
/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/
H A Dksetpw.c262 krb5_kt_cursor cursor; local
278 code = krb5_kt_start_seq_get(ctx, kt, &cursor);
284 while ((code = krb5_kt_next_entry(ctx, kt, &entry, &cursor)) == 0) {
287 code = krb5_kt_end_seq_get(ctx, kt, &cursor);
303 code = krb5_kt_start_seq_get(ctx, kt, &cursor);
319 if ((code = krb5_kt_end_seq_get(ctx, kt, &cursor))) {

Completed in 108 milliseconds

1234