Searched +defs:val +defs:current (Results 1 - 12 of 12) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/gettext/
H A Dgettext.c147 int min, max, current; local
174 current = (max + min) / 2;
176 while (current != min && current != max && found == 0)
178 current_string = grub_gettext_getstring_from_position (current);
184 min = current;
189 max = current;
196 current = (max + min) / 2;
199 ret = found ? grub_gettext_gettranslation_from_position (current) : orig;
352 __attribute__ ((unused)), const char *val)
351 grub_gettext_env_write_lang(struct grub_env_var *var __attribute__ ((unused)), const char *val) argument
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dutility.c450 compute_next_token_obj_name(CK_BYTE *current, CK_BYTE *next) { argument
451 int val[8]; local
454 if (! current || ! next) {
460 if (current[i] >= '0' && current[i] <= '9')
461 val[i] = current[i] - '0';
463 if (current[i] >= 'A' && current[i] <= 'Z')
464 val[
[all...]
H A Dobj_mgr.c398 CK_BYTE current[8]; local
422 (void) memcpy(current,
426 (void) memcpy(&o->name, current, 8);
428 (void) compute_next_token_obj_name(current, next);
584 CK_BYTE current[8]; local
606 (void) memcpy(current,
610 (void) memcpy(&new_obj->name, current, 8);
612 (void) compute_next_token_obj_name(current, next);
775 CK_BYTE current[8]; local
797 (void) memcpy(current,
1978 int val; local
2089 int val; local
[all...]
/osnet-11/usr/src/lib/libproject/common/
H A Dsetproject.c59 char *current; local
62 current = next = s;
67 *current++ = *next++;
69 *current = '\0';
104 unsigned long long val; local
112 val = strtoull(component, &t, 10);
116 rctlblk_set_value(blk, (rctl_qty_t)val);
189 rctl_set(char *ctl_name, char *val, struct ps_prochandle *Pr, int flags) argument
213 remove_spaces(val);
223 for (tmp = val; *tm
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dfmtmsg.c401 char *current; /* Ptr to current sev def'n */ local
402 char *tokend; /* Ptr to end of current sev def'n */
407 int val; /* Converted severity value */ local
413 current = (ptr == (char *)NULL) ? leftoff : ptr;
417 if (current == (char *)NULL) {
423 * Look through the string "current" for a token of the form
432 while (*(tokend = exttok(current, ":,")) == ':') {
433 current = tokend + (ptrdiff_t)1;
438 kywd = current;
[all...]
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dnvtype.c45 "array of type \b\f?\f\b. If a variable already exists, the current "
50 "array of type \b\f?\f\b. If a variable already exists, the current "
98 unsigned short current; member in struct:Namtype
107 unsigned short current;
230 static void put_chtype(Namval_t* np, const char* val, int flag, Namfun_t* fp) argument
232 if(!val && nv_isattr(np,NV_REF))
234 nv_putv(np,val,flag,fp);
235 if(!val)
545 static void put_type(Namval_t* np, const char* val, int flag, Namfun_t* fp) argument
548 if(val
1009 char *val=nv_getval(np); local
1310 char *val=0; local
1547 put_stat(Namval_t* np, const char* val, int flag, Namfun_t* nfp) argument
[all...]
H A Dinit.c168 char *val; member in struct:match
249 static void put_ed(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument
256 if(!(cp=val) && (*name=='E' || !(cp=nv_getval(sh_scoped(shp,EDITNOD)))))
274 nv_putv(np, val, flags, fp);
278 static void put_history(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument
283 if(val && histopen)
285 if(np==HISTFILE && (cp=nv_getval(np)) && strcmp(val,cp)==0)
287 if(np==HISTSIZE && sh_arith(shp,val)==nv_getnum(HISTSIZE))
291 nv_putv(np, val, flags, fp);
294 if(val)
302 put_optindex(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument
327 put_restricted(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument
371 put_cdpath(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument
404 put_lang(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument
503 put_ifs(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument
582 put_seconds(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument
631 put_rand(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument
689 put_lineno(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument
724 put_lastarg(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument
795 char *val; local
866 put_vpath(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument
946 char *val; local
1144 put_mode(Namval_t* np, const char* val, int flag, Namfun_t* nfp) argument
1624 int current; member in struct:Stats
1984 char *val = nv_getval(np); local
2079 put_trans(register Namval_t* np,const char *val,int flags,Namfun_t *fp) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/font/
H A Dfont.c144 int current; local
145 for (current = 0; current < 0x80; current++)
147 ascii_font_glyph[current] =
150 ascii_font_glyph[current]->width = 8;
151 ascii_font_glyph[current]->height = 16;
152 ascii_font_glyph[current]->offset_x = 0;
153 ascii_font_glyph[current]->offset_y = -2;
154 ascii_font_glyph[current]
1159 add_device_width(int val) argument
[all...]
/osnet-11/usr/src/lib/libpool/common/
H A Dpool_kernel.c559 * Update the current cross-reference for the supplied type of
583 pool_set_xref_t *current, *prev, *next; local
585 for (prev = NULL, current = psl->psl_xref; current != NULL;
586 current = next) {
589 if (current->psx_pset_id == id)
590 current->psx_pool->pkp_assoc[PREC_PSET] =
596 next = current->psx_next;
597 if (current->psx_pool->pkp_assoc[PREC_PSET] != NULL) {
599 prev->psx_next = current
890 pool_knl_put_xml_property(pool_elem_t *pe, xmlNodePtr node, const char *name, const pool_value_t *val) argument
1281 pool_value_t val = POOL_VALUE_INITIALIZER; local
1346 pool_value_t val = POOL_VALUE_INITIALIZER; local
1438 pool_value_t val = POOL_VALUE_INITIALIZER; local
1526 pool_value_t val = POOL_VALUE_INITIALIZER; local
2297 pool_knl_get_property(const pool_elem_t *pe, const char *name, pool_value_t *val) argument
2331 pool_knl_get_dynamic_property(const pool_elem_t *pe, const char *name, pool_value_t *val) argument
2389 pool_knl_put_property(pool_elem_t *pe, const char *name, const pool_value_t *val) argument
2793 pool_value_t val = POOL_VALUE_INITIALIZER; local
3071 pool_value_t val = POOL_VALUE_INITIALIZER; local
[all...]
/osnet-11/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c239 double val = secs; local
242 if (val >= 24*60*60) {
243 val /= 86400;
245 } else if (val >= 60*60) {
246 val /= 60*60;
248 } else if (val >= 60) {
249 val /= 60;
254 if (snprintf(buf, bufsiz, "%.2f %s%s", val, unit,
255 val >= 2 ? "s" : "") >= bufsiz)
529 char **current; local
1872 print_lifetimes(FILE *file, time_t wallclock, struct sadb_lifetime *current, struct sadb_lifetime *hard, struct sadb_lifetime *soft, struct sadb_lifetime *idle, boolean_t vflag) argument
2642 uint64_t *current; local
3016 uint64_t *current; local
[all...]
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c65 zprop_source_t *src, char **source, uint64_t *val,
1854 "'%s' is greater than current "
2015 "size is less than current used or "
2160 * bogus characters relative to current locale,
2601 * ZPROP_VALUE -> current effective value (string or uint64)
2602 * ZPROP_SOURCE -> source of the current effective value (string)
2804 * If they differ from the on-disk values, report the current values and mark
2807 * if the current effective value is not the persistent value).
2818 char **source, uint64_t *val, boolean_t get_persistent,
2897 *val
2817 get_numeric_property(zfs_handle_t *zhp, zfs_prop_t prop, zprop_source_t *src, char **source, uint64_t *val, boolean_t get_persistent, boolean_t *is_overridden) argument
3093 zfs_share_inherited_name(const char *basename, const char *source, const char *current, char *buf, size_t buflen) argument
3194 uint64_t val; local
4089 uint64_t val; local
4098 zfs_prop_set_int(zfs_handle_t *zhp, zfs_prop_t prop, uint64_t val) argument
[all...]
/osnet-11/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c408 * or in any way examine the current state of mounted file systems. It does
871 char *val = NULL; local
875 err = fetch_xml_prop(cur, prop, &val);
879 empty_val = (val != NULL && strlen(val) == 0);
884 (err = can_set_prop(handle, res, (char *)prop, val)) != Z_OK) {
885 free(val);
906 free(val);
2719 * the current net element.
2743 * The current ne
3561 char val[MAXPATHLEN]; local
4248 xmlNodePtr cur, val; local
4894 long double val; local
4994 pool_value_t *val; local
5050 pool_value_t *val; local
6042 xmlNodePtr cur, val; local
7191 rctlblk_t *current, *next; local
7764 xmlNodePtr cur, val; local
7841 uint64_t val; local
7882 zonecfg_set_aliased_rctl(zone_dochandle_t handle, char *name, uint64_t val) argument
[all...]

Completed in 76 milliseconds