Searched refs:subscript (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/fm/libdiskstatus/common/
H A Dds_util.c125 int subscript = byte_count + i; local
126 char ch = (isprint(start[subscript]) ?
127 start[subscript] : '.');
/illumos-gate/usr/src/lib/libshell/common/data/
H A Dbash_pre_rc.sh85 index=_push_max-.sh.subscript
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Darrays.sh279 foo[$((10))]=ok 2> /dev/null || err_exit 'arithmetic expression as subscript not working'
290 then err_exit 'error in subscript names'
385 (( bar == 4 )) || err_exit "subscript of unset variable not evaluated -- expected '4', got '$got'"
388 (( bar == $exp )) || err_exit "subscript of unset variable not evaluated -- expected '$exp', got '$got'"
396 [[ ${bar[${foo[5]}]} == 3 ]] || err_exit 'array subscript cannot be an array instance'
427 [[ $bar == 2 ]] || err_exit 'subscript not evaluated for unset variable'
485 print sub=${.sh.subscript}
495 print sub=${.sh.subscript}
H A Dvariables.sh547 case ${.sh.subscript} in
575 typeset sub=${.sh.subscript}
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dlex.c1069 /* quotes in subscript need expansion */
1135 /* check for possible subscript */
1147 errormsg(SH_DICT,ERROR_exit(SYNBAD),e_lexsyntax1, shp->inlineno, "[]", "empty subscript");
H A Dxec.c395 int sh_debug(Shell_t *shp, const char *trap, const char *name, const char *subscript, char *const argv[], int flags) argument
411 if(subscript)
414 out_string(iop,subscript,']',1);
608 * set ${.sh.name} and ${.sh.subscript}
609 * set _ to reference for ${.sh.name}[$.sh.subscript]
2749 * If <nq> is not-null, then sh.name and sh.subscript will be set

Completed in 89 milliseconds