/osnet-11/usr/src/lib/libdll/common/ |
H A D | dllerror.c | 28 Dllstate_t state; variable 40 if (state.error) 42 state.error = retain; 43 return state.errorbuf; 48 state.error = retain; 49 sfsprintf(state.errorbuf, sizeof(state.errorbuf), "%s", s);
|
H A D | dllcheck.c | 43 state.error = 1; 44 sfsprintf(state.errorbuf, sizeof(state.errorbuf), "plugin_version() not found"); 45 errorf("dll", NiL, 1, "%s: %s", path, state.errorbuf); 63 state.error = 0; 78 state.error = 1; 79 sfsprintf(state.errorbuf, sizeof(state.errorbuf), "plugin version %lu older than caller %lu", v, ver); 80 errorf("dll", NiL, 1, "%s: %s", path, state.errorbuf);
|
H A D | dlllib.h | 26 #define state _dll_state macro 34 extern Dllstate_t state;
|
/osnet-11/usr/src/lib/libast/common/comp/ |
H A D | re_comp.c | 39 } state; variable in typeref:struct:__anon1126 48 if (state.valid) 54 if (state.valid) 56 state.valid = 0; 57 regfree(&state.re); 59 if (!(r = regcomp(&state.re, pattern, REG_LENIENT|REG_NOSUB|REG_NULL))) 61 state.valid = 1; 65 regerror(r, &state.re, state.error, sizeof(state [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/gfxmenu/ |
H A D | gui_util.c | 36 struct find_by_id_state *state; local 39 state = (struct find_by_id_state *) userdata; 41 if (id && grub_strcmp (id, state->match_id) == 0) 42 state->match_callback (component, state->match_userdata); 50 state); 60 struct find_by_id_state state; local 61 state.match_id = id; 62 state.match_callback = cb; 63 state 77 struct iterate_recursively_state *state; local 97 struct iterate_recursively_state state; local [all...] |
/osnet-11/usr/src/lib/libast/common/regex/ |
H A D | regalloc.c | 33 state.disc.re_flags = flags; 34 state.disc.re_resizef = resize; 35 state.disc.re_resizehandle = handle;
|
/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | deflate.c | 65 static void z_decomp_free __P((void *state)); 66 static int z_decomp_init __P((void *state, u_char *options, int opt_len, 68 static void z_incomp __P((void *state, u_char *dmsg, int len)); 69 static int z_decompress __P((void *state, u_char *cmp, int inlen, 71 static void z_decomp_reset __P((void *state)); 72 static void z_comp_stats __P((void *state, struct compstat *stats)); 113 struct deflate_state *state = (struct deflate_state *) arg; local 116 *stats = state->stats; 135 struct deflate_state *state; local 147 state 168 struct deflate_state *state = (struct deflate_state *) arg; local 180 struct deflate_state *state = (struct deflate_state *) arg; local 204 struct deflate_state *state = (struct deflate_state *) arg; local 232 struct deflate_state *state = (struct deflate_state *) arg; local 304 struct deflate_state *state = (struct deflate_state *) arg; local [all...] |
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | cp.c | 157 typedef struct State_s /* program state */ 171 int postsiz; /* state.path post index */ 172 int presiz; /* state.path pre index */ 176 int suflen; /* strlen(state.suffix) */ 186 #define INITSTATE pathsiz /* (re)init state before this */ 187 int pathsiz; /* state.path buffer size */ 191 char* opname; /* state.op message string */ 206 preserve(State_t* state, const char* path, struct stat* ns, struct stat* os) argument 210 if ((state->preserve & PRESERVE_TIME) && tmxtouch(path, tmxgetatime(os), tmxgetmtime(os), TMX_NOTIME, 0)) 212 if (state 236 visit(State_t* state, register FTSENT* ent) argument 688 State_t* state; local [all...] |
H A D | vmstate.c | 28 "[+NAME?vmstate - list the calling process vmalloc region state]" 30 "calling process \bvmalloc\b(3) state for all regions.]" 71 register State_t* state = (State_t*)handle; local 75 *pn = state->vs.extent; 77 *pn = integralof(state->vm); 79 *pn = state->vs.n_seg; 81 *pn = state->vs.s_busy; 83 *pn = state->vs.n_busy; 85 *pn = state->vs.m_busy; 89 if (state 136 State_t* state = (State_t*)handle; local 152 State_t state; local [all...] |
H A D | cksum.c | 119 typedef struct State_s /* program state */ 178 pr(State_t* state, Sfio_t* op, Sfio_t* ip, char* file, int perm, struct stat* st, Sfio_t* check) argument 188 state->oldsum = state->sum; 190 verify(state, p, file, check); 191 state->sum = state->oldsum; 192 if (state->warn && !sfeof(ip)) 196 suminit(state->sum); 197 if (state 258 verify(State_t* state, register char* s, char* check, Sfio_t* rp) argument 406 list(State_t* state, register Sfio_t* lp) argument 452 State_t state; local [all...] |
H A D | grep.c | 142 typedef struct State_s /* program state */ 180 addre(State_s *state, List_t* p, char* s) argument 188 if (state->label) 201 if (state->words) 205 if (!(state->options & REG_AUGMENTED)) 209 if (!(state->options & REG_AUGMENTED)) 217 if (c = regcomp(&x->re, s, state->options|REG_MULTIPLE)) 224 if (state->number || state->before || state 238 addstring(State_s *state, List_t* p, char* s) argument 253 compile(State_s *state) argument 324 State_s *state; member in struct:__anon1489 332 State_s *state = r_x->state; local 353 execute(State_s *state, Sfio_t* input, char* name) argument 638 State_s state; local [all...] |
H A D | od.c | 313 aform(State_t* state, Format_t* fp, Sfio_t* op, unsigned char* u) argument 334 bform(State_t* state, Format_t* fp, Sfio_t* op, unsigned char* u) argument 340 cform(State_t* state, Format_t* fp, Sfio_t* op, unsigned char* u) argument 349 if (state->mb) 351 state->mb--; 371 if ((w = mbnchar(u, state->eob - u)) > 0 && (i = u - v) > 1 && !iswprint(w)) 373 state->mb = i - 1; 424 Cform(State_t* state, Format_t* fp, Sfio_t* op, unsigned char* u) argument 433 if (state->mb) 435 state 486 mform(State_t* state, Format_t* fp, Sfio_t* op, unsigned char* u) argument 520 Oform(State_t* state, Format_t* fp, Sfio_t* op, unsigned char* u) argument 658 form_int8(State_t* state, Format_t* fp, Sfio_t* op, unsigned char* u) argument 664 form_int16(State_t* state, Format_t* fp, Sfio_t* op, unsigned char* u) argument 670 form_int32(State_t* state, Format_t* fp, Sfio_t* op, unsigned char* u) argument 676 form_intmax(State_t* state, Format_t* fp, Sfio_t* op, unsigned char* u) argument 682 form_uint8(State_t* state, Format_t* fp, Sfio_t* op, unsigned char* u) argument 688 form_uint16(State_t* state, Format_t* fp, Sfio_t* op, unsigned char* u) argument 694 form_uint32(State_t* state, Format_t* fp, Sfio_t* op, unsigned char* u) argument 700 form_uintmax(State_t* state, Format_t* fp, Sfio_t* op, unsigned char* u) argument 706 form_float(State_t* state, Format_t* fp, Sfio_t* op, unsigned char* u) argument 715 form_double(State_t* state, Format_t* fp, Sfio_t* op, unsigned char* u) argument 726 form_long_double(State_t* state, Format_t* fp, Sfio_t* op, unsigned char* u) argument 741 format(State_t* state, register char* t) argument 935 init(State_t* state, char*** p) argument 1011 block(State_t* state, Sfio_t* op, char* bp, char* ep, intmax_t base) argument 1099 od(State_t* state, char** files) argument 1310 State_t state; local [all...] |
H A D | ls.c | 251 #define VISIBLE(f) ((f)->level<=0||(!state.ignore||!strmatch((f)->name,state.ignore))&&(!(state.lsflags&LS_NOBACKUP)||(f)->name[(f)->namelen-1]!='~')&&((state.lsflags&LS_ALL)||(f)->name[0]!='.'||(state.lsflags&LS_MOST)&&((f)->name[1]&&(f)->name[1]!='.'||(f)->name[2]))) 294 #define BLOCKS(st) ((state.blocksize==LS_BLOCKSIZE)?iblocks(st):(state.blocksize>LS_BLOCKSIZE)?(iblocks(st)+state.blocksize/LS_BLOCKSIZE-1)/(state.blocksize/LS_BLOCKSIZE):iblocks(st)*(LS_BLOCKSIZE/state 397 static State_t state; variable [all...] |
H A D | rm.c | 82 typedef struct State_s /* program state */ 105 rm(State_t* state, register FTSENT* ent) argument 114 if (!state->force) 117 else if (state->fs3d && iview(ent->fts_statp)) 123 if (state->unconditional) 134 else if (!state->force) 147 if (!state->force) 153 if (!state->recursive) 161 if (state->unconditional && (ent->fts_statp->st_mode & S_IRWXU) != S_IRWXU) 183 if (state 331 State_t state; local [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/lib/xzembed/ |
H A D | xz_lzma2.h | 55 * Maximum number of position states. A position state is the lowest pb 92 /* The lowest 7 states indicate that the previous state was a literal. */ 96 static inline void lzma_state_literal(enum lzma_state *state) argument 98 if (*state <= STATE_SHORTREP_LIT_LIT) 99 *state = STATE_LIT_LIT; 100 else if (*state <= STATE_LIT_SHORTREP) 101 *state -= 3; 103 *state -= 6; 107 static inline void lzma_state_match(enum lzma_state *state) argument 109 *state [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/script/ |
H A D | parser.y | 89 %lex-param { struct grub_parser_param *state }; 90 %parse-param { struct grub_parser_param *state }; 96 script_init: { state->err = 0; } script { state->parsed = $2; state->err = 0; } 105 $$ = grub_script_append_cmd (state, $1, $2); 110 yyerror (state, "Incorrect command"); 126 word: GRUB_PARSER_TOKEN_NAME { $$ = grub_script_add_arglist (state, 0, $1); } 127 | GRUB_PARSER_TOKEN_WORD { $$ = grub_script_add_arglist (state, 0, $1); } 134 argument : "case" { $$ = grub_script_add_arglist (state, [all...] |
/osnet-11/usr/src/lib/libpp/common/ |
H A D | ppsym.c | 37 register int state; local 55 state = 0; 72 state++; 77 if (state) 84 if (state) 87 state = 0;
|
/osnet-11/usr/src/grub/grub-0.97/netboot/ |
H A D | config.c | 26 struct pci_probe_state *state = &dev->state.pci; local 29 state->advance = 1; 30 state->dev.driver = 0; 31 state->dev.bus = 0; 32 state->dev.devfn = 0; 36 if ((dev->how_probe != PROBE_AWAKE) && state->advance) { 37 find_pci(dev->type, &state->dev); 40 state->advance = 1; 42 if (state 78 struct isa_probe_state *state = &dev->state.isa; local [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | argp-pvh.c | 29 current parsing state, and then exits (unless the ARGP_NO_EXIT flag is 31 void (*argp_program_version_hook) (FILE *stream, struct argp_state *state) = NULL;
|
/osnet-11/usr/src/lib/librstp/common/ |
H A D | choose.h | 32 char * GET_STATE_NAME (int state) argument 38 if (BEGIN == state) return "Begin"; 39 return state_names[state];
|
/osnet-11/usr/src/grub/grub2/grub-core/lib/i386/ |
H A D | reboot.c | 33 struct grub_relocator16_state state; local 48 state.gs = state.fs = state.es = state.ds = state.ss = segment; 49 state.sp = 0; 50 state.cs = segment; 51 state.ip = 0; 52 state [all...] |
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ext2/ |
H A D | ext2_inode_relocator.c | 61 static struct ext2_inode_entry *findit(struct ext2_inode_relocator_state *state, ino_t inode) argument 69 max = state->usedentries - 1; 78 tval = state->inode[t].num; 93 retv = &state->inode[t]; 99 static int addref(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, ino_t inode, blk_t block, off_t offset) argument 104 if ((ent = findit(state, inode)) == NULL) 120 state->resolvedentries++; 128 static int doblock(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, blk_t blockno) argument 145 if (!addref(fs, state, EXT2_DIRENT_INODE(*ptr), blockno, 157 static int doindblock(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, blk_ argument 174 dodindblock(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, blk_t blockno) argument 193 dotindblock(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, blk_t blockno) argument 212 doinode(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, ino_t inode) argument 244 doscangroup(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, int group) argument 285 doscan(struct ext2_fs *fs, struct ext2_inode_relocator_state *state) argument 323 ext2_inode_relocator_copy(struct ext2_fs *fs, struct ext2_inode_relocator_state *state) argument 353 ext2_inode_relocator_finish(struct ext2_fs *fs, struct ext2_inode_relocator_state *state) argument 373 ext2_inode_relocator_ref(struct ext2_fs *fs, struct ext2_inode_relocator_state *state) argument 451 ext2_inode_relocator_grab_inodes(struct ext2_fs *fs, struct ext2_inode_relocator_state *state) argument 491 ext2_inode_relocator_flush(struct ext2_fs *fs, struct ext2_inode_relocator_state *state) argument 522 ext2_inode_relocator_mark(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, ino_t inode) argument 565 struct ext2_inode_relocator_state state; local [all...] |
H A D | ext2_block_relocator.c | 146 struct ext2_block_entry *findit(struct ext2_block_relocator_state *state, blk_t block) argument 154 max = state->usedentries - 1; 163 tval = state->block[t].num; 174 retv = &state->block[t]; 184 struct ext2_block_relocator_state *state, 192 if ((ent = findit(state, blk)) == NULL) 207 state->resolvedentries++; 208 state->start[indirect].num++; 214 struct ext2_block_relocator_state *state, 223 if (!doblock(fs, state, bl 183 doblock(struct ext2_fs *fs, struct ext2_block_relocator_state *state, blk_t blk, blk_t refblock, off_t refoffset, int indirect) argument 213 doindblock(struct ext2_fs *fs, struct ext2_block_relocator_state *state, blk_t blk, blk_t refblock, off_t refoffset) argument 243 dodindblock(struct ext2_fs *fs, struct ext2_block_relocator_state *state, blk_t blk, blk_t refblock, off_t refoffset) argument 273 dotindblock(struct ext2_fs *fs, struct ext2_block_relocator_state *state, blk_t blk, blk_t refblock, off_t refoffset) argument 307 doinode(struct ext2_fs *fs, struct ext2_block_relocator_state *state, int inode) argument 378 doscan(struct ext2_fs *fs, struct ext2_block_relocator_state *state) argument 446 ext2_block_relocator_copy(struct ext2_fs *fs, struct ext2_block_relocator_state *state) argument 529 ext2_block_relocator_ref(struct ext2_fs *fs, struct ext2_block_relocator_state *state, struct ext2_block_entry *block) argument 599 ext2_block_relocator_grab_blocks(struct ext2_fs *fs, struct ext2_block_relocator_state *state) argument 637 ext2_block_relocator_flush(struct ext2_fs *fs, struct ext2_block_relocator_state *state) argument 727 ext2_block_relocator_mark(struct ext2_fs *fs, struct ext2_block_relocator_state *state, blk_t block) argument 759 ext2_block_relocate_grow(struct ext2_fs *fs, struct ext2_block_relocator_state *state, blk_t newsize) argument 828 ext2_block_relocate_shrink(struct ext2_fs *fs, struct ext2_block_relocator_state *state, blk_t newsize) argument 904 struct ext2_block_relocator_state state; local [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | search_wrap.c | 81 struct grub_arg_list *state = ctxt->state; local 86 if (state[SEARCH_HINT].set) 87 for (i = 0; state[SEARCH_HINT].args[i]; i++) 91 if (state[SEARCH_HINT_IEEE1275].set) 92 for (i = 0; state[SEARCH_HINT_IEEE1275].args[i]; i++) 97 if (state[SEARCH_HINT_EFI].set) 98 for (i = 0; state[SEARCH_HINT_EFI].args[i]; i++) 103 if (state[SEARCH_HINT_BIOS].set) 104 for (i = 0; state[SEARCH_HINT_BIO [all...] |
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | optjoin.c | 56 Optstate_t* state; local 64 state = optstate(&opt_info); 69 state->join = 0; 74 state->join++; 81 state->join = 0; 88 state->join = 0; 105 opt_info.index = state->pindex ? state->pindex : 1; 106 opt_info.offset = state->poffset; 114 state [all...] |