Home
last modified time | relevance | path

Searched refs:assign (Results 1 – 25 of 103) sorted by relevance

12345

/illumos-gate/usr/src/cmd/mailx/
H A Dtemp.c82 assign("MBOX", Getf("MBOX")); in tinit()
83 assign("MAILRC", Getf("MAILRC")); in tinit()
84 assign("DEAD", Getf("DEAD")); in tinit()
85 assign("save", ""); in tinit()
86 assign("asksub", ""); in tinit()
87 assign("header", ""); in tinit()
88 assign("prompt", "? "); in tinit()
89 assign("pipeignore", ""); in tinit()
90 assign("replyall", ""); in tinit()
91 assign("from", ""); in tinit()
[all …]
H A Dmain.c105 assign("bsdcompat", ""); in main()
198 assign("ignore", ""); in main()
206 assign("debug", ""); in main()
293 assign("escapeok", ""); in main()
300 assign("verbose", ""); in main()
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_unused_ret.c102 struct assignment *assign; in match_assign_call() local
124 assign = __alloc_assignment(0); in match_assign_call()
125 assign->assign_id = assign_id++; in match_assign_call()
126 assign->name = expr_to_var(left); in match_assign_call()
127 assign->function = get_fn_name(expr->right); in match_assign_call()
128 assign->line = get_lineno(); in match_assign_call()
129 add_ptr_list(&assignment_list, assign); in match_assign_call()
H A Dsmatch_flow.c240 struct expression *assign; in handle_comma_assigns() local
249 assign = assign_expression(expr->left, '=', right->right); in handle_comma_assigns()
250 __split_expr(assign); in handle_comma_assigns()
259 struct expression *assign; in handle_postop_assigns() local
269 assign = assign_expression(fake_left, '=', expr->right); in handle_postop_assigns()
271 __split_expr(assign); in handle_postop_assigns()
301 struct expression *a, *b, *res, *assign; in handle_builtin_overflow_func() local
317 assign = assign_expression(deref_expression(res), '=', binop_expression(a, op, b)); in handle_builtin_overflow_func()
318 __split_expr(assign); in handle_builtin_overflow_func()
1305 struct expression *edge_member, *assign; in set_inner_struct_members() local
[all …]
H A Dsmatch_struct_assignment.c152 struct expression *assign; in handle_non_struct_assignments() local
166 assign = assign_expression(left, '=', right); in handle_non_struct_assignments()
167 split_fake_expr(assign); in handle_non_struct_assignments()
176 assign = assign_expression(left, '=', right); in handle_non_struct_assignments()
177 split_fake_expr(assign); in handle_non_struct_assignments()
184 struct expression *assign; in set_inner_struct_members() local
225 assign = assign_expression(left_member, '=', right_member); in set_inner_struct_members()
226 split_fake_expr(assign); in set_inner_struct_members()
237 struct expression *assign; in __struct_members_copy() local
302 assign = assign_expression(left_member, '=', right_member); in __struct_members_copy()
[all …]
H A Dcheck_kernel.c355 struct expression *dest, *data, *assign; in match__write_once_size() local
368 assign = assign_expression(dest, '=', data); in match__write_once_size()
371 __split_expr(assign); in match__write_once_size()
378 struct expression *dest, *data, *assign; in match__read_once_size() local
406 assign = assign_expression(dest, '=', data); in match__read_once_size()
408 __split_expr(assign); in match__read_once_size()
/illumos-gate/usr/src/cmd/ptools/ppriv/
H A Dppriv.c366 static priv_set_t **rem, **add, **assign; variable
397 assign = calloc(pri->priv_nsets, sizeof (priv_set_t *)); in loadprivinfo()
398 if (rem == NULL || add == NULL || assign == NULL) in loadprivinfo()
434 toupd = &assign; in parsespec()
452 if (((toupd == &rem || toupd == &add) && assign[ind] != NULL) || in parsespec()
453 (toupd == &assign && (assign[ind] != NULL || in parsespec()
487 if (assign[i] != NULL) in privupdate()
488 priv_copyset(assign[i], target); in privupdate()
566 assign[set] != NULL) { in privupdate_self()
572 if (assign[set] != NULL) in privupdate_self()
[all …]
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_hv.c60 vr->assign = &hv_niu_vr_assign; in nxge_hio_hv_init()
71 tx->assign = &hv_niu_tx_dma_assign; in nxge_hio_hv_init()
87 rx->assign = &hv_niu_rx_dma_assign; in nxge_hio_hv_init()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Darith.c60 static Namval_t *scope(register Namval_t *np,register struct lval *lvalue,int assign) in scope() argument
71 assign = assign?NV_ASSIGN:NV_NOASSIGN; in scope()
82 …if((!(np = nv_open(cp,shp->var_tree,assign|NV_VARNAME|NV_NOADD|NV_NOFAIL)) || nv_isnull(np)) && sh… in scope()
90 if(!np && assign) in scope()
91 np = nv_open(cp,shp->var_tree,assign|NV_VARNAME); in scope()
102 else if(assign==NV_ASSIGN && nv_isnull(np) && !nv_isattr(np, ~(NV_MINIMAL|NV_NOFREE))) in scope()
125 nv_putsub(np,sub,assign==NV_ASSIGN?ARRAY_ADD:0); in scope()
165 np = nv_open(sub,shp->var_tree,NV_VARNAME|assign); in scope()
H A Dmacro.c81 char assign; /* set for assignments */ member
172 mp->assign = 0; in sh_mactrim()
174 mp->assign = -mode; in sh_mactrim()
225 mp->assign = !mp->split; in sh_macexpand()
283 mp->split = mp->assign = mp->pattern = mp->patfound = mp->lit = mp->arith = mp->let = 0; in sh_machere()
712 if(mp->arith || (((mp->assign&1) || endch==RBRACT) && in copyto()
718 if(mp->assign&1) in copyto()
802 if(mp->assign==1) in copyto()
806 mp->assign = 2; in copyto()
827 if(n==S_COLON && mp->assign==2 && *cp=='~' && endch==0 && !mp->quote &&!mp->lit) in copyto()
[all …]
/illumos-gate/usr/src/cmd/sh/
H A Dbltin.c450 assign(n, numbuf); in builtin()
452 assign(n, (unsigned char *)nullstr); in builtin()
458 assign(n, numbuf); in builtin()
462 assign(n, c); in builtin()
464 assign(n, (unsigned char *)optarg); in builtin()
H A Dname.c188 assign(n, argscan); in setname()
207 assign(n, v); in dfault()
211 assign(struct namnod *n, unsigned char *v) in assign() function
357 assign(n, absstak(rel)); in readvar()
416 assign(n, (unsigned char *)nullstr); in readvar()
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_log_entry.cc45 aversion.assign(v); in db_log_entry()
49 bversion.assign(v); in db_log_entry()
H A Ddb_vers.cc42 assign(other); in vers()
46 vers::assign(vers* other) in assign() function in vers
H A Ddb_dictlog.cc54 aversion.assign(v); in db_dictlog_entry()
58 bversion.assign(v); in db_dictlog_entry()
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk4.c249 (void)assign(left, stringnode(buf, FNOALLOC, wcslen(buf))); in dosub()
279 (void)assign(vlook(M_MB_L("RLENGTH")), constant); in f_match()
280 return (assign(vlook(M_MB_L("RSTART")), intnode((INT)pos))); in f_match()
413 (void) assign(varFS, sep); in f_split()
435 (void)assign(tnp, stringnode(cp,FALLOC|FSENSE,(size_t)(ep-cp))); in f_split()
446 (void)assign(varFS, in f_split()
/illumos-gate/usr/src/grub/grub-0.97/
H A DMAINTENANCE39 Before doing that, you must ask the contributor to assign or disclaim
40 the copyright. Send ``/gd/gnuorg/request-assign.changes'' or
41 ``/gd/gnuorg/request-assign.future'' to the contributor, and wait
/illumos-gate/usr/src/test/util-tests/tests/awk/tests/
H A DT.errmsg90 can.t assign.* a function
93 can.t assign to x; it.s an array name.
/illumos-gate/usr/src/test/util-tests/tests/awk/syn/
H A Darrayparm.ok1 $AWK: can't assign to foo; it's an array name.
H A Darryref3.ok1 $AWK: can't assign to a; it's an array name.
H A Daryprm1.ok1 $AWK: can't assign to arr; it's an array name.
H A Daryprm4.ok1 $AWK: can't assign to a; it's an array name.
H A Dfnaryscl.ok1 $AWK: can't assign to foo; it's an array name.
H A Dsclforin.ok1 $AWK: can't assign to j; it's an array name.
H A Dsclifin.ok1 $AWK: can't assign to j; it's an array name.

12345