Home
last modified time | relevance | path

Searched refs:rtype (Results 1 – 13 of 13) sorted by relevance

/plan9/sys/src/cmd/cpp/
H A Deval.c222 int rtype, oper; in evalop() local
225 rtype=0; in evalop()
242 rtype = UNS; in evalop()
244 rtype = SGN; in evalop()
246 rtype = UND; in evalop()
247 if (priority[oper].ctype==RELAT && rtype==UNS) { in evalop()
249 rtype = SGN; in evalop()
254 rtype = UND; in evalop()
256 rtype = v1.type; in evalop()
257 if (rtype==UNS) in evalop()
[all …]
/plan9/sys/src/cmd/rc/
H A Dlex.c274 t->rtype = APPEND; in yylex()
277 else t->rtype = WRITE; in yylex()
283 t->rtype = HERE; in yylex()
286 t->rtype = RDWR; in yylex()
288 } else t->rtype = READ; in yylex()
315 t->rtype = DUPFD; in yylex()
327 t->rtype = CLOSE; in yylex()
331 || t->type==DUP && (t->rtype==HERE || t->rtype==APPEND)) in yylex()
H A Dpcmd.c102 if(t->rtype==DUPFD) in pcmd()
110 switch(t->rtype){ in pcmd()
116 if(t->rtype==RDWR) in pcmd()
H A Dcode.c284 if(t->rtype==DUPFD){ in outcode()
298 emiti(t->rtype); in outcode()
312 switch(t->rtype){ in outcode()
H A Drc.h50 int rtype, fd0, fd1; /* details of REDIR PIPE DUP tokens */ member
H A Dsyn.y39 redir: REDIR word {$$=mung1($1, $1->rtype==HERE?heredoc($2):$2);}
/plan9/sys/src/cmd/gs/src/
H A Dgdevpdfu.c711 pdf_cancel_resource(gx_device_pdf * pdev, pdf_resource_t *pres, pdf_resource_type_t rtype) in pdf_cancel_resource() argument
716 if (rtype == resourceXObject || rtype == resourceCharProc || rtype == resourceOther in pdf_cancel_resource()
729 pdf_forget_resource(gx_device_pdf * pdev, pdf_resource_t *pres1, pdf_resource_type_t rtype) in pdf_forget_resource() argument
731 pdf_resource_t **pchain = pdev->resources[rtype].chains; in pdf_forget_resource()
764 pdf_resource_type_t rtype, in pdf_substitute_resource() argument
771 code = pdf_find_same_resource(pdev, rtype, ppres, (eq ? eq : nocheck)); in pdf_substitute_resource()
775 code = pdf_cancel_resource(pdev, (pdf_resource_t *)pres1, rtype); in pdf_substitute_resource()
778 pdf_forget_resource(pdev, pres1, rtype); in pdf_substitute_resource()
794 pdf_find_resource_by_gs_id(gx_device_pdf * pdev, pdf_resource_type_t rtype, in pdf_find_resource_by_gs_id() argument
797 pdf_resource_t **pchain = PDF_RESOURCE_CHAIN(pdev, rtype, rid); in pdf_find_resource_by_gs_id()
[all …]
H A Diref.h213 #define _REF_TYPE_HAS(rtype,props)\ argument
214 ((ref_type_properties[rtype] & (props)) != 0)
215 #define ref_type_uses_access(rtype)\ argument
216 _REF_TYPE_HAS(rtype, _REF_TYPE_USES_ACCESS)
217 #define ref_type_uses_size(rtype)\ argument
218 _REF_TYPE_HAS(rtype, _REF_TYPE_USES_SIZE)
219 #define ref_type_uses_size_or_null(rtype)\ argument
220 _REF_TYPE_HAS(rtype, _REF_TYPE_USES_SIZE | _REF_TYPE_IS_NULL)
H A Dgdevpdfx.h784 int pdf_begin_resource(gx_device_pdf * pdev, pdf_resource_type_t rtype,
788 int pdf_begin_resource_body(gx_device_pdf * pdev, pdf_resource_type_t rtype,
792 int pdf_alloc_resource(gx_device_pdf * pdev, pdf_resource_type_t rtype,
797 pdf_resource_type_t rtype, pdf_resource_t **ppres,
803 pdf_resource_type_t rtype, gs_id id);
807 pdf_resource_type_t rtype,
810 void pdf_drop_resources(gx_device_pdf * pdev, pdf_resource_type_t rtype,
819 pdf_resource_type_t rtype);
823 pdf_resource_type_t rtype);
827 pdf_resource_type_t rtype,
[all …]
H A Dgdevpdti.c453 pdf_open_aside(gx_device_pdf *pdev, pdf_resource_type_t rtype, in pdf_open_aside() argument
465 code = pdf_alloc_aside(pdev, PDF_RESOURCE_CHAIN(pdev, rtype, id), in pdf_open_aside()
466 pdf_resource_type_structs[rtype], &pres, reserve_object_id ? 0 : -1); in pdf_open_aside()
516 pdf_enter_substream(gx_device_pdf *pdev, pdf_resource_type_t rtype, in pdf_enter_substream() argument
531 code = pdf_open_aside(pdev, rtype, id, &pres, reserve_object_id, in pdf_enter_substream()
H A Diutil.c421 int rtype = r_btype(op); in obj_cvp() local
423 if (rtype > countof(type_strings)) in obj_cvp()
425 data = (const byte *)type_strings[rtype]; in obj_cvp()
H A Dgdevvec.c61 gx_path_rectangular_type rtype = gx_path_is_rectangular(ppath, &rbox); in gdev_vector_dopath() local
76 if (rtype != prt_none && in gdev_vector_dopath()
77 (!(type & gx_path_type_stroke) || rtype == prt_closed) && in gdev_vector_dopath()
H A Dgdevpdtf.c350 pdf_resource_type_t rtype, gs_id rid, font_type ftype, in font_resource_alloc() argument
379 code = pdf_alloc_resource(pdev, rtype, rid, (pdf_resource_t **)&pfres, 0L); in font_resource_alloc()