| /plan9/sys/doc/sam/ |
| H A D | mkfile | 5 sam.ps:D: sam.ms fig1.ps fig2.ps fig3.ps fig4.ps fig5.pic fig6.pic fig7.pic refs 6 {echo $FONTS; cat sam.ms refs} | pic | tbl | troff -ms -mpictures | lp -dstdout >sam.ps 9 sam.trout:D: sam.ms fig1.ps fig2.ps fig3.ps fig4.ps fig5.pic fig6.pic fig7.pic refs 10 {echo $FONTS; cat sam.ms refs} | pic | tbl | troff -ms -mpictures >sam.trout 12 sam.html:D: sam.ms fig1.ps fig2.ps fig3.ps fig4.ps fig5.pic fig6.pic fig7.pic refs 13 pic sam.ms refs | tbl | htmlroff -ms -mhtml >sam.html
|
| /plan9/sys/src/cmd/gs/src/ |
| H A D | istack.c | 57 ref_packed *bot = (ref_packed *) sptr->current.value.refs; in RELOC_PTRS_WITH() 62 reloc = bot - (ref_packed *) sptr->current.value.refs; in RELOC_PTRS_WITH() 82 ref_stack_block *pblock = (ref_stack_block *)pblock_array->value.refs; in ref_stack_init() 212 pblock = (ref_stack_block *) pstack->current.value.refs; in ref_stack_index() 214 pblock = (ref_stack_block *) pblock->next.value.refs; in ref_stack_index() 220 return pblock->used.value.refs + (used - 1 - (uint) idx); in ref_stack_index() 311 to = parray->value.refs + count; in ref_stack_store() 379 (ref_stack_block *) pstack->current.value.refs; in ref_stack_pop_block() 381 (ref_stack_block *) pcur->next.value.refs; in ref_stack_pop_block() 504 ref_stack_block *pcur = (ref_stack_block *) pstack->current.value.refs; in ref_stack_push_block() [all …]
|
| H A D | zfont2.c | 94 charstring_font_refs_t refs; in zbuildfont2() local 102 code = charstring_font_get_refs(op, &refs); in zbuildfont2() 105 code = type2_font_params(op, &refs, &data1); in zbuildfont2() 108 return build_charstring_font(i_ctx_p, op, &build, ft_encrypted2, &refs, in zbuildfont2()
|
| H A D | idict.c | 143 pdict = (dict *) arr.value.refs; in dict_alloc() 169 ref *kp = pdict->keys.value.refs; in dict_create_unpacked_keys() 198 refset_null_new(pdict->values.value.refs, asize, new_mask); in dict_create_contents() 209 pkp = (ref_packed *) arr.value.refs; in dict_create_contents() 252 for (nkp = pdict->keys.value.refs; count--; okp++, nkp++) in dict_unpack() 360 *ppvalue = pdict->values.value.refs + (pslot - kbot); in dict_find() 367 *ppvalue = pdict->values.value.refs + (pslot - kbot); in dict_find() 370 ref *kbot = pdict->keys.value.refs; in dict_find() 379 *ppvalue = pdict->values.value.refs + (kp - kbot); in dict_find() 398 *ppvalue = pdict->values.value.refs + (kp - kbot); in dict_find() [all …]
|
| H A D | zfunc.c | 49 make_istruct_new(cref.value.refs, a_executable | a_execute, pfn); in make_function_proc() 50 make_oper_new(cref.value.refs + 1, 0, zexecfunction); in make_function_proc() 343 r_has_type_attrs(op->value.refs + 1, t_operator, a_executable) && in ref_function() 344 op->value.refs[1].value.opproc == zexecfunction && in ref_function() 345 r_is_struct(op->value.refs) && in ref_function() 346 r_has_masked_attrs(op->value.refs, a_executable | a_execute, in ref_function() 349 return (gs_function_t *)op->value.refs->value.pstruct; in ref_function()
|
| H A D | gp_macio.c | 712 fond_entry *refs; member 720 table->refs = malloc(entries * sizeof(fond_entry)); in fond_table_new() 721 if (table->refs == NULL) { free(table); table = NULL; } in fond_table_new() 729 if (table->refs) free(table->refs); in fond_table_free() 740 table->refs = realloc(table->refs, table->entries * sizeof(fond_entry)); in fond_table_grow() 811 table->refs[j].size = get_int16(res); res += 2; in parse_fond() 812 table->refs[j].style = get_int16(res); res += 2; in parse_fond() 813 table->refs[j].id = get_int16(res); res += 2; in parse_fond() 987 if (table->refs[i].size == 0) { /* ignore non-scalable fonts */ in gp_enumerate_fonts_next() 988 if (table->refs[i].style == Style) { in gp_enumerate_fonts_next() [all …]
|
| H A D | iscanbin.c | 223 refset_null(pbs->bin_array.value.refs + index, in scan_binary_token() 348 refset_null(pbs->bin_array.value.refs + pbs->index, in scan_binary_token() 399 ref *np = pbs->bin_array.value.refs + index; in scan_bin_num_array_continue() 447 ref *abase = pbs->bin_array.value.refs; in scan_bos_continue() 569 osize, refs, abase + aindex); in scan_bos_continue() 610 ref *aptr = pbs->bin_array.value.refs; in scan_bos_resize() 642 for (op = pbs->bin_array.value.refs, i = r_size(&pbs->bin_array); in scan_bos_string_continue() 678 for (op = pbs->bin_array.value.refs, i = r_size(&pbs->bin_array); in scan_bos_string_continue() 689 if (op->value.refs < op) in scan_bos_string_continue() 690 ref_assign(&rdict, op->value.refs); in scan_bos_string_continue() [all …]
|
| H A D | zfontenum.c | 102 make_string(&(mapping.value.refs[0]), a_all | icurrent_space, length, string); in z_fontenum() 109 make_string(&(mapping.value.refs[1]), a_all | icurrent_space, length, string); in z_fontenum() 111 ref_assign(&(array.value.refs[e]), &mapping); in z_fontenum()
|
| H A D | zdps.c | 247 refcpy_to_new(new_array.value.refs, user_names_p->value.refs, in zdefineusername() 249 refset_null(new_array.value.refs + old_size, in zdefineusername() 256 ref_assign(user_names_p->value.refs + op[-1].value.intval, op); in zdefineusername()
|
| H A D | idstack.c | 137 ref *kbot = pdict->keys.value.refs; in dstack_find_name_by_index() 147 return pdict->values.value.refs + (kp - kbot); in dstack_find_name_by_index() 209 pds->top_values = pdict->values.value.refs; in dstack_set_top() 232 ref *pvalue = pdict->values.value.refs; in dstack_gc_cleanup()
|
| H A D | zgeneric.c | 216 ref *eltp = op2->value.refs + (uint) op1->value.intval; in zput() 271 ref *eltp = op2->value.refs + (uint) op1->value.intval; in zforceput() 322 op2->value.refs += index; in zgetinterval() 457 *op = *obj->value.refs; in array_continue() 458 obj->value.refs++; in array_continue() 583 return refcpy_to_old(prto, index, prfrom->value.refs, in copy_interval() 599 ref *pdest = prto->value.refs + index; in copy_interval()
|
| H A D | zarray.c | 42 refset_null(op->value.refs, size); in zarray() 72 memcpy(op, aref.value.refs, asize * sizeof(ref)); in zaload()
|
| H A D | zfcid0.c | 307 charstring_font_refs_t refs; in fd_array_element() local 317 int code = charstring_font_get_refs(prfd, &refs); in fd_array_element() 333 code = charstring_font_params(imemory, prfd, &refs, &data1); in fd_array_element() 340 code = type2_font_params(prfd, &refs, &data1); in fd_array_element() 343 code = charstring_font_params(imemory, prfd, &refs, &data1); in fd_array_element() 361 charstring_font_init(pfont, &refs, &data1); in fd_array_element()
|
| H A D | ialloc.c | 229 ref *obj = parr->value.refs; in gs_resize_ref_array() 252 mem->lost.refs += diff * sizeof(ref); in gs_resize_ref_array() 264 ref *obj = parr->value.refs; in gs_free_ref_array() 347 mem->lost.refs += size; in gs_free_ref_array()
|
| H A D | iutil.c | 58 ref *to = aref->value.refs + index; in refcpy_to_old() 137 return ((pref1->value.refs == pref2->value.refs || in obj_eq() 586 const ref *pvalue = aref->value.refs + index_long; in array_get() 753 return float_params(parray->value.refs + count - 1, count, pval); in process_float_array() 861 pvalues = op->value.refs; in read_matrix() 892 aptr = op->value.refs; in write_matrix_in()
|
| H A D | zcharout.c | 99 code = num_params(pmvalue->value.refs + 1, in zchar_get_metrics() 105 code = num_params(pmvalue->value.refs + 3, in zchar_get_metrics() 136 int code = num_params(pmvalue->value.refs + 3, 4, pwv); in zchar_get_metrics2()
|
| H A D | zfont1.c | 244 charstring_font_refs_t refs; in buildfont1or4() local 245 int code = charstring_font_get_refs(op, &refs); in buildfont1or4() 253 return build_charstring_font(i_ctx_p, op, pbuild, ftype, &refs, &data1, in buildfont1or4()
|
| H A D | iccfont.c | 244 ref *aptr = parray->value.refs; in cfont_name_array_create() 273 ref *aptr = parray->value.refs; in cfont_string_array_create() 304 ref *aptr = parray->value.refs; in cfont_scalar_array_create()
|
| H A D | igcref.c | 460 SET_RELOC(pref->value.refs, 462 (ref_packed *) pref->value.refs, gcst)); 470 SET_RELOC(pref->value.refs, 472 (ref_packed *) (pref->value.refs + size),
|
| H A D | interp.c | 325 stk.value.refs += REFS_SIZE_OSTACK; in gs_interp_alloc_stacks() 341 stk.value.refs += REFS_SIZE_ESTACK; in gs_interp_alloc_stacks() 1026 SET_IREF(whichp->value.refs); /* 1-element proc */ in interp() 1033 SET_IREF(iesp->value.refs = whichp->value.refs); in interp() 1087 SET_IREF(pvalue->value.refs); /* 1-element proc */ in interp() 1096 SET_IREF(iesp->value.refs = pvalue->value.refs); in interp() 1598 SET_IREF(iesp->value.refs); /* next element of array */ in interp()
|
| /plan9/sys/src/9/port/ |
| H A D | devwd.c | 27 static Ref refs; variable 140 incref(&refs); in wdopen() 147 if(c->qid.path == Qwdctl && c->flag&COPEN && decref(&refs) <= 0) in wdclose()
|
| /plan9/sys/src/cmd/upas/fs/ |
| H A D | fs.c | 1070 assert(mb->refs > 0); in rclunk() 1140 int refs = 0; in fidmboxrefs() local 1144 refs++; in fidmboxrefs() 1146 return refs; in fidmboxrefs() 1223 assert(mb->refs > 0); in reader() 1606 int refs = 0; in hashmboxrefs() local 1612 refs++; in hashmboxrefs() 1615 return refs; in hashmboxrefs() 1621 int f, refs; in checkmboxrefs() local 1627 refs = (f=fidmboxrefs(mb))+1; in checkmboxrefs() [all …]
|
| H A D | dat.h | 5 int refs; member 89 int refs; member
|
| H A D | mbox.c | 155 mb->refs = 1; in newmbox() 936 m->refs++; in msgincref() 941 m->refs--; in msgdecref() 942 if(m->refs == 0 && m->deleted) in msgdecref() 952 assert(mb->refs > 0); in mboxincref() 953 mb->refs++; in mboxincref() 958 assert(mb->refs > 0); in mboxdecref() 960 mb->refs--; in mboxdecref() 961 if(mb->refs == 0){ in mboxdecref()
|
| /plan9/sys/src/cmd/disk/kfs/ |
| H A D | sub.c | 206 w->refs = 1; in newwp() 242 nw->refs++; in getwp() 255 w->refs--; in freewp() 256 if(w->refs == 0){ in freewp() 271 w->refs--; in putwp() 272 if(w->refs == 0){ in putwp()
|