| /plan9/sys/src/cmd/gs/src/ |
| H A D | zfunc.c | 45 code = ialloc_ref_array(&cref, a_executable | a_execute, 2, in make_function_proc() 49 make_istruct_new(cref.value.refs, a_executable | a_execute, pfn); in make_function_proc() 136 !r_has_masked_attrs(op, a_executable | a_execute, a_executable | a_all) in zexecfunction() 340 r_has_masked_attrs(op, a_executable | a_execute, in ref_function() 341 a_executable | a_all) && in ref_function() 343 r_has_type_attrs(op->value.refs + 1, t_operator, a_executable) && in ref_function() 346 r_has_masked_attrs(op->value.refs, a_executable | a_execute, in ref_function() 347 a_executable | a_all) in ref_function()
|
| H A D | estack.h | 114 make_tasv(ep, t_null, a_executable, es_idx, opproc, proc) 118 r_has_type_attrs(ep, t_null, a_executable)
|
| H A D | zmisc3.c | 86 if (r_has_attr(&top->proc1, a_executable) != in zeqproc() 87 r_has_attr(&top->proc2, a_executable) in zeqproc()
|
| H A D | ztype.c | 89 r_set_attrs(op - 1, a_executable); in ztype() 116 r_set_attrs(rtnp, a_executable); in ztypenames() 132 r_clear_attrs(aop, a_executable); in zcvlit() 155 r_set_attrs(aop, a_executable); in zcvx() 166 make_bool(op, (r_has_attr(ACCESS_REF(op), a_executable) ? 1 : 0)); in zxcheck()
|
| H A D | zcontrol.c | 107 if (!r_has_attr(op, a_executable)) in zexec() 136 r_has_attr(rp, a_executable) in zexecn() 144 if (!r_has_type_attrs(rp, t_null, a_executable)) { in zexecn() 163 if (!r_has_attr(op, a_executable)) in zsuperexec() 200 if (!r_has_attr(op, a_executable)) in zrunandhide() 794 if (r_has_type_attrs(rp, t_null, a_executable) && !include_marks) in do_execstack() 803 r_clear_attrs(rq, a_executable); in do_execstack() 887 r_clear_attrs(op, a_executable); in zcurrentfile() 902 if (r_has_type_attrs(ep, t_file, a_executable)) in zget_current_file() 981 t_null, a_executable)) in count_exec_stack()
|
| H A D | zpacked.c | 127 if (!r_has_attr(pref, a_executable)) in make_packed_array() 182 (r_has_attr(pref, a_executable) ? in make_packed_array() 200 if (!r_has_attr(pref, a_executable)) in make_packed_array()
|
| H A D | iscanbin.c | 205 a_all + a_executable, size / sizeof(ref), in scan_binary_token() 329 r_set_attrs(pref, a_executable); in scan_binary_token() 468 attrs = (p[1] & 128 ? a_executable : 0); in scan_bos_continue() 652 (r_has_attr(op, a_executable) ? a_executable : 0); in scan_bos_string_continue() 709 r_copy_attrs(&rdict, a_executable, op); in scan_bos_string_continue() 729 r_copy_attrs(&rdict, a_executable, op); in scan_bos_string_continue() 799 r_copy_attrs(&nstr, a_executable, obj); in encode_binary_token() 821 if (r_has_attr(obj, a_executable)) in encode_binary_token()
|
| H A D | zupath.c | 443 code = ialloc_ref_array(rupath, a_all | a_executable, size, in make_upath() 452 r_set_attrs(next, a_executable | l_new); in make_upath() 474 r_set_attrs(next, a_executable | l_new); in make_upath() 517 r_set_attrs(next, a_executable); in make_upath() 610 if (!r_has_attr(&rup, a_executable)) in upath_append_aux() 619 xop:if (!r_has_attr(defp, a_executable)) in upath_append_aux()
|
| H A D | iestack.h | 35 if (r_has_type_attrs((pes)->stack.p, t_file, a_executable))\
|
| H A D | iref.h | 305 #define a_executable 0x80 macro 337 _REF_ATTR_PRINT_FLAG(a_executable,'e'),\ 467 _REF_HAS_MASKED_TYPE_ATTRS(rp,t_array,_REF_T_ARRAY_SPAN,a_execute+a_executable)
|
| H A D | zfunc4.c | 179 if (!r_has_attr(&elt, a_executable)) in check_psc_function() 199 if (!r_has_attr(delp, a_executable)) in check_psc_function() 227 (r_btype(pref) == t_operator && r_has_attr(pref, a_executable) &&\ in check_psc_function()
|
| H A D | zvmem.c | 225 (r_has_attr(stkp, a_executable) || in restore_check_stack() 242 r_has_attr(stkp, a_executable) && is_estack in restore_check_stack() 317 r_copy_attrs(stkp, a_all | a_executable, in restore_fix_stack()
|
| H A D | zmisc.c | 39 return (r_has_attr(rp, a_executable) && in r_is_ex_oper() 108 if (r_has_attr(tp, a_executable)) { in zbind() 124 if (r_has_attr(tp, a_executable)) { in zbind()
|
| H A D | interp.c | 281 make_empty_const_array(pref, a_executable + a_readonly) 402 make_tasv(opref, tx_op + (i - 1), a_executable, i, opproc, proc); in gs_interp_make_oper() 404 make_tasv(opref, t_operator, a_executable, idx, opproc, proc); in gs_interp_make_oper() 590 if (r_has_type_attrs(ep, t_null, a_executable)) { in gs_call_interp() 895 #define exec(t) type_xe_value(t, a_execute + a_executable) in interp() 897 #define nox_exec(t) type_xe_value(t, a_executable) in interp() 899 #define plain_exec(t) type_xe_value(t, a_executable) in interp() 1288 if (!r_has_attr(&token, a_executable) || in interp() 1552 … if (r_has_masked_attrs(pvalue, a_execute, a_execute + a_executable)) { /* Literal, push it. */ in interp()
|
| H A D | idict.c | 173 r_set_attrs(kp, a_executable); /* wraparound entry */ in dict_create_unpacked_keys() 257 r_set_attrs(nkp, a_executable); in dict_unpack() 391 } else if (r_has_attr(kp, a_executable)) { /* Deleted entry, save the slot. */ in dict_find() 606 r_has_attr(kp - 1, a_executable) /* deleted or wraparound */ in dict_undef() 608 r_set_attrs(kp, a_executable); /* mark as deleted */ in dict_undef()
|
| H A D | zcie.c | 40 empty_ref_data(t_array, a_readonly | a_executable), 41 empty_ref_data(t_array, a_readonly | a_executable), 42 empty_ref_data(t_array, a_readonly | a_executable), 43 empty_ref_data(t_array, a_readonly | a_executable) 560 r_clear_attrs(ep + 6, a_executable); in cie_prepare_cache()
|
| H A D | iscan.c | 273 r_clear_attrs(&rstate[1], a_executable); in scan_handle_refill() 511 r_set_attrs(myref, a_executable); in scan_token() 649 r_set_attrs(myref, a_executable); in scan_token() 652 a_executable + a_all, size, in scan_token() 1095 r_set_attrs(myref, a_executable); in scan_token()
|
| H A D | zcidtest.c | 64 r_set_attrs(&temp, a_executable); in zwrapfont()
|
| H A D | store.h | 217 make_tasv(pref, t_operator, a_executable, opidx, opproc, proc) 219 make_tasv_new(pref, t_operator, a_executable, opidx, opproc, proc)
|
| H A D | zfproc.c | 209 r_clear_attrs(esp - 1, a_executable); in s_handle_read_exception() 344 r_clear_attrs(esp - 3, a_executable); in s_handle_write_exception()
|
| H A D | zfsample.c | 570 code = ialloc_ref_array(&cref, a_executable | a_execute, 2, in sampled_data_finish() 575 make_istruct_new(cref.value.refs, a_executable | a_execute, pfn); in sampled_data_finish()
|
| H A D | imain.c | 505 r_set_attrs(pfref, a_execute + a_executable); in gs_main_run_file_open() 541 r_set_attrs(&ifile, a_executable); in gs_run_init_file() 583 make_const_string(&rstr, avm_foreign | a_readonly | a_executable, in gs_main_run_string_begin()
|
| H A D | iname.c | 245 int exec = r_has_attr(psref, a_executable); in names_from_string() 251 r_set_attrs(pnref, a_executable); in names_from_string()
|
| H A D | zdevice2.c | 377 r_set_attrs(esp, a_executable); in push_callout()
|
| H A D | ztoken.c | 306 r_clear_attrs(esp + 3, a_executable); in ztoken_handle_comment()
|