Home
last modified time | relevance | path

Searched refs:pair (Results 1 – 25 of 44) sorted by relevance

12

/plan9/sys/src/cmd/gs/src/
H A Dgxccman.c115 cached_fm_pair *pair; in gx_char_cache_init() local
128 for (i = 0, pair = dir->fmcache.mdata; in gx_char_cache_init()
129 i < dir->fmcache.mmax; i++, pair++) { in gx_char_cache_init()
130 pair->index = i; in gx_char_cache_init()
131 fm_pair_init(pair); in gx_char_cache_init()
132 pair->ttf = 0; in gx_char_cache_init()
133 pair->ttr = 0; in gx_char_cache_init()
171 register cached_fm_pair *pair = dir->fmcache.mdata + dir->fmcache.mnext; in gx_add_fm_pair() local
180 --count >= 0 && pair->num_chars != 0; in gx_add_fm_pair()
182 if (++pair == mend) in gx_add_fm_pair()
[all …]
H A Dgxfcache.h105 #define fm_pair_is_free(pair)\ argument
106 ((pair)->font == 0 && !uid_is_valid(&(pair)->UID))
107 #define fm_pair_set_free(pair)\ argument
108 ((pair)->font = 0, uid_set_invalid(&(pair)->UID))
109 #define fm_pair_init(pair)\ argument
110 (fm_pair_set_free(pair), (pair)->xfont_tried = false, (pair)->xfont = 0)
157 cached_fm_pair *pair; member
159 #define cc_pair(cc) ((cc)->pair)
160 #define cc_set_pair_only(cc, p) ((cc)->pair = (p))
186 ((cc)->pair_index = ((cc)->pair = (p))->index)
[all …]
H A Dgxccache.c88 register cached_fm_pair *pair = in gx_lookup_fm_pair() local
103 if (pair == dir->fmcache.mdata) in gx_lookup_fm_pair()
104 pair += dir->fmcache.mmax; in gx_lookup_fm_pair()
105 pair--; in gx_lookup_fm_pair()
111 if (pair->font != font) in gx_lookup_fm_pair()
114 if (!uid_equal(&pair->UID, &uid) || in gx_lookup_fm_pair()
115 pair->FontType != pfont->FontType in gx_lookup_fm_pair()
119 if (pair->mxx == mxx && pair->mxy == mxy && in gx_lookup_fm_pair()
120 pair->myx == myx && pair->myy == myy in gx_lookup_fm_pair()
121 && pair->design_grid == design_grid) { in gx_lookup_fm_pair()
[all …]
H A Dzfont.c498 cached_fm_pair *pair; in font_restore() local
501 for (pair = pdir->fmcache.mdata, n = pdir->fmcache.mmax; in font_restore()
502 n > 0; pair++, n-- in font_restore()
504 if (!fm_pair_is_free(pair)) { in font_restore()
505 if ((uid_is_XUID(&pair->UID) && in font_restore()
506 alloc_is_since_save((char *)pair->UID.xvalues, in font_restore()
509 gs_purge_fm_pair(pdir, pair, 0); in font_restore()
512 if (pair->font != 0 && in font_restore()
513 alloc_is_since_save((char *)pair->font, save) in font_restore()
515 if (!uid_is_valid(&pair->UID)) { in font_restore()
[all …]
H A Dgdevpdfm.c194 pdfmark_put_pair(cos_dict_t *pcd, const gs_param_string * pair) in pdfmark_put_pair() argument
196 return cos_dict_put_string(pcd, pair->data, pair->size, in pdfmark_put_pair()
197 pair[1].data, pair[1].size); in pdfmark_put_pair()
404 const gs_param_string *pair = &pairs[i]; in pdfmark_put_ao_pairs() local
407 if (pdf_key_eq(pair, "/SrcPg") && in pdfmark_put_ao_pairs()
408 sscanf((const char *)pair[1].data, "%ld", &src_pg) == 1 in pdfmark_put_ao_pairs()
411 else if (!for_outline && pdf_key_eq(pair, "/Color")) in pdfmark_put_ao_pairs()
412 pdfmark_put_c_pair(pcd, "/C", pair + 1); in pdfmark_put_ao_pairs()
413 else if (!for_outline && pdf_key_eq(pair, "/Title")) in pdfmark_put_ao_pairs()
414 pdfmark_put_c_pair(pcd, "/T", pair + 1); in pdfmark_put_ao_pairs()
[all …]
H A Dgstext.c84 if (eptr->pair != 0) in ENUM_PTRS_WITH()
85 ENUM_RETURN(eptr->pair - eptr->pair->index); in ENUM_PTRS_WITH()
110 if (eptr->pair != NULL) in RELOC_PTRS_WITH()
111 eptr->pair = (cached_fm_pair *)RELOC_OBJ(eptr->pair - eptr->pair->index) + in RELOC_PTRS_WITH()
112 eptr->pair->index; in RELOC_PTRS_WITH()
156 pte->pair = 0; in gs_text_enum_init_dynamic()
206 pto->pair = pfrom->pair; in gs_text_enum_copy_dynamic()
H A Dgxchar.c630 if (penum->pair != 0) in set_cache_device()
631 cc_set_pair(cc, penum->pair); in set_cache_device()
633 cc->pair = 0; in set_cache_device()
783 { cached_fm_pair *pair; in show_update() local
786 &penum->log2_scale, penum->charpath_flag != cpm_show, &pair); in show_update()
790 cc, pair, &penum->log2_scale); in show_update()
915 cached_fm_pair *pair = 0; in show_proceed() local
955 pair = 0; in show_proceed()
956 penum->pair = 0; in show_proceed()
990 if (pair == 0) { in show_proceed()
[all …]
H A Dgstype42.c45 gx_path * ppath, cached_fm_pair * pair,
557 cached_fm_pair *pair; in gs_type42_glyph_outline() local
558 code = gx_lookup_fm_pair(font, pmat, &log2_scale, design_grid, &pair); in gs_type42_glyph_outline()
565 (code = append_outline_fitted(glyph_index, pmat, ppath, pair, in gs_type42_glyph_outline()
793 bool charpath_flag, int paint_type, cached_fm_pair *pair) in gs_type42_append() argument
796 pair, pscale, charpath_flag); in gs_type42_append()
1106 gx_path * ppath, cached_fm_pair * pair, in append_outline_fitted() argument
1109 gs_font_type42 *pfont = (gs_font_type42 *)pair->font; in append_outline_fitted()
1112 gx_ttfReader__set_font(pair->ttr, pfont); in append_outline_fitted()
1113 code = gx_ttf_outline(pair->ttf, pair->ttr, pfont, (uint)glyph_index, in append_outline_fitted()
[all …]
H A Dgxfont42.h112 bool charpath_flag, int paint_type, cached_fm_pair *pair);
H A Dgxtext.h101 cached_fm_pair *pair; /* corresponds to the current_font and CTM*(1<<log2_scale) */\
H A Dzchar42.c210 pfont->PaintType, penum->pair); in type42_finish()
H A Dzchar32.c123 cc->pair->font == range->font); in select_cid_range()
/plan9/sys/src/cmd/ndb/
H A Ddblookup.c181 intval(Ndbtuple *entry, Ndbtuple *pair, char *attr, ulong def) in intval() argument
183 Ndbtuple *t = look(entry, pair, attr); in intval()
337 addrrr(Ndbtuple *entry, Ndbtuple *pair) in addrrr() argument
343 parseip(addr, pair->val); in addrrr()
348 rp->ip = dnlookup(pair->val, Cin, 1); in addrrr()
352 nullrr(Ndbtuple *entry, Ndbtuple *pair) in nullrr() argument
358 rp->null->data = (uchar*)estrdup(pair->val); in nullrr()
368 txtrr(Ndbtuple *entry, Ndbtuple *pair) in txtrr() argument
378 len = strlen(pair->val); in txtrr()
389 memmove(t->p, pair->val+sofar, i); in txtrr()
[all …]
/plan9/sys/src/cmd/rio/
H A Dxfid.c356 Stringpair pair; in xfidwrite() local
413 pair.s = runemalloc(1); in xfidwrite()
414 pair.ns = 0; in xfidwrite()
415 send(cwm.cw, &pair); /* wake up window with empty data */ in xfidwrite()
420 pair.s = r; in xfidwrite()
421 pair.ns = nr; in xfidwrite()
422 send(cwm.cw, &pair); in xfidwrite()
590 Stringpair pair; in xfidread() local
629 pair.s = t; in xfidread()
630 pair.ns = cnt; in xfidread()
[all …]
H A Dwind.c199 Stringpair pair; in winctl() local
322 recv(cwm.cw, &pair); in winctl()
323 rp = pair.s; in winctl()
324 nr = pair.ns; in winctl()
364 recv(crm.c1, &pair); in winctl()
365 t = pair.s; in winctl()
366 nb = pair.ns; in winctl()
393 pair.s = t; in winctl()
394 pair.ns = i; in winctl()
395 send(crm.c2, &pair); in winctl()
[all …]
/plan9/sys/src/cmd/
H A Dhistory.c102 char fil[400], buf[500], nbuf[100], pair[2][500], *p; in ysearch() local
162 strecpy(pair[1], pair[1]+sizeof pair[1], file); in ysearch()
196 strcpy(pair[toggle], buf); in ysearch()
200 dargv[ndargv] = pair[toggle]; in ysearch()
201 dargv[ndargv+1] = pair[toggle ^ 1]; in ysearch()
/plan9/sys/src/cmd/ip/httpd/
H A Dnetlib_history.c67 char buf[500], pair[2][500], tmpf[2][30], *f; in netlibhistory() local
107 f = pair[toggle]; in netlibhistory()
119 pair[1-toggle], pair[toggle], nil); in netlibhistory()
135 hprint(HO," <FONT SIZE=-1>(%s)</FONT>\n", pair[toggle]); in netlibhistory()
/plan9/sys/src/cmd/spell/
H A Dsprog.c14 #define pair(a,b) (((a)<<8) | (b)) macro
652 switch(pair(ep[-1],ep[0])) { in cstrip()
653 case pair('a', 'a'): in cstrip()
654 case pair('a', 'e'): in cstrip()
655 case pair('a', 'i'): in cstrip()
656 case pair('e', 'a'): in cstrip()
657 case pair('e', 'e'): in cstrip()
658 case pair('e', 'i'): in cstrip()
659 case pair('i', 'i'): in cstrip()
660 case pair('o', 'a'): in cstrip()
/plan9/sys/lib/ghostscript/
H A Dxlatmap17 % The first element of pair is a string which encodes identifier of
26 [ % Each entry is pair :
/plan9/sys/src/cmd/gs/lib/
H A Dxlatmap17 % The first element of pair is a string which encodes identifier of
26 [ % Each entry is pair :
/plan9/sys/src/games/mp3dec/
H A Dlayer3.c979 struct huffpair const *pair; in III_huffdecode() local
1023 pair = &table[MASK(bitcache, cachesz, clumpsz)]; in III_huffdecode()
1025 while (!pair->final) { in III_huffdecode()
1028 clumpsz = pair->ptr.bits; in III_huffdecode()
1029 pair = &table[pair->ptr.offset + MASK(bitcache, cachesz, clumpsz)]; in III_huffdecode()
1032 cachesz -= pair->value.hlen; in III_huffdecode()
1037 value = pair->value.x; in III_huffdecode()
1072 value = pair->value.y; in III_huffdecode()
1108 value = pair->value.x; in III_huffdecode()
1126 value = pair->value.y; in III_huffdecode()
/plan9/sys/src/cmd/awk/
H A Drun.c1175 int pair; in dopa2() local
1177 pair = ptoi(a[3]); in dopa2()
1178 if (pairstack[pair] == 0) { in dopa2()
1181 pairstack[pair] = 1; in dopa2()
1184 if (pairstack[pair] == 1) { in dopa2()
1187 pairstack[pair] = 0; in dopa2()
/plan9/sys/src/cmd/gs/zlib/
H A Dalgorithm.txt6 pointer to the previous string, in the form of a pair (distance,
/plan9/sys/man/
H A Dsearchindex3 …kverein names nicht nine object object's objects obvious orchestra orkest pair pairs pale parent p…
17 …newline note num numerator obvious operator operators option ordinary pad pair particular pawn pc …
36 …itted operators optimization optimized option options output overlap page pair parameters parse pa…
39 …option optional options organization output outside owning packet packets pair pairs particular pa…
53 …ened opening option options ordered outbound owner p9any p9cr p9sk1 p9sk2 pair pairs particular pa…
59 …ening opens openssh operation option options original output overly owner pair particular parties …
72 …ng mounted near needs net netmtpt network operates options packet packets pair permit primary proc…
73 …tions originated ospf outgoing output overridden overrides packet packets pair pairs parameter pas…
87 …tp ntp.cs.bell numbered oncore.cs.bell onto ordering p9auth.research.bell pair pairs particular pc…
108 …rk networks nickname nil non none ns nul null offset opened opens operate pair pairs parse parses …
[all …]
/plan9/sys/doc/
H A Dauth.ms345 a user/password pair to do so:
650 pair, which is satisfied by keys with
651 exactly that pair;
654 which is satisfied by keys with some pair specifying
1274 server to obtain a pair of encrypted tickets, one encrypted with

12