Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 161) sorted by relevance

1234567

/plan9/sys/src/ape/cmd/diff/
H A Dio.c84 sip (current, skip_test) in sip() argument
85 struct file_data *current; in sip()
89 if (current->desc < 0)
92 current->bufsize = sizeof (word);
93 current->buffer = xmalloc (current->bufsize);
97 current->bufsize = STAT_BLOCKSIZE (current->stat);
98 current->buffer = xmalloc (current->bufsize);
104 int oldmode = setmode (current->desc, O_BINARY);
106 size_t n = read (current->desc, current->buffer, current->bufsize);
108 pfatal_with_name (current->name);
[all …]
H A Ddiff3.c545 *current[2]; local
571 current[0] = thread0; current[1] = thread1;
576 while (current[0] || current[1])
581 if (!current[0])
583 else if (!current[1])
587 (D_LOWLINE (current[0], FC) > D_LOWLINE (current[1], FC));
591 high_water_diff = current[high_water_thread];
604 current[high_water_thread] = high_water_diff->next;
609 other_diff = current[other_thread];
628 current[other_thread] = current[other_thread]->next;
[all …]
/plan9/sys/src/cmd/gs/src/
H A Dzcontext.c166 gs_context_t *current; member
209 case 0: return ENUM_OBJ(visible_context(psched->current));
213 if (psched->current->visible) in RELOC_PTRS_WITH()
214 RELOC_VAR(psched->current); in RELOC_PTRS_WITH()
279 if (!psched->current->visible) { in context_reclaim()
364 psched->current = 0; in ctx_initialize()
371 if (context_create(psched, &psched->current, &gs_imemory, *pi_ctx_p, true) < 0) { in ctx_initialize()
375 psched->current->scheduler = psched; in ctx_initialize()
377 *pi_ctx_p = &psched->current->state; in ctx_initialize()
392 gs_context_t *current = (gs_context_t *)*pi_ctx_p; in ctx_reschedule() local
[all …]
H A Dgdevhl7x.c103 short current; member
572 if (pCommandList->current > HL7X0_LENGTH){ in dumpPage()
573 short size = pCommandList->current - HL7X0_LENGTH; in dumpPage()
581 pCommandList->current = 0; in dumpPage()
971 list->current = initCurrent; in initByteList()
980 if (list->current < list->maxSize) in addByte()
981 list->data[list->current++] = value; in addByte()
992 if (list->current <= list->maxSize - nb) in addArray()
994 memcpy(list->data + list->current, source , (size_t) nb); in addArray()
995 list->current += nb; in addArray()
[all …]
H A Distack.c44 r_clear_attrs(&sptr->current, l_mark); in CLEAR_MARKS_PROC()
48 case 0: ENUM_RETURN_REF(&sptr->current);
57 ref_packed *bot = (ref_packed *) sptr->current.value.refs; in RELOC_PTRS_WITH()
60 RELOC_REF_VAR(sptr->current); in RELOC_PTRS_WITH()
61 r_clear_attrs(&sptr->current, l_mark); in RELOC_PTRS_WITH()
62 reloc = bot - (ref_packed *) sptr->current.value.refs; in RELOC_PTRS_WITH()
96 pstack->current = *pblock_array; in ref_stack_init()
212 pblock = (ref_stack_block *) pstack->current.value.refs; in ref_stack_index()
379 (ref_stack_block *) pstack->current.value.refs; in ref_stack_pop_block()
429 gs_free_ref_array(pstack->memory, &pstack->current, in ref_stack_pop_block()
[all …]
H A Dgdevpcl.c250 gdev_pcl_mode3compress(int bytecount, const byte * current, byte * previous, byte * compressed) in gdev_pcl_mode3compress() argument
252 register const byte *cur = current; in gdev_pcl_mode3compress()
255 const byte *end = current + bytecount; in gdev_pcl_mode3compress()
305 gdev_pcl_mode9compress(int bytecount, const byte *current, in gdev_pcl_mode9compress() argument
308 register const byte *cur = current; in gdev_pcl_mode9compress()
311 const byte *end = current + bytecount; in gdev_pcl_mode9compress()
H A Dgdevpcl.h62 gdev_pcl_mode3compress(int bytecount, const byte * current, byte * previous, byte * compressed),
63 …gdev_pcl_mode9compress(int bytecount, const byte * current, const byte * previous, byte * compress…
H A Dgdevccr.c41 int current; member
241 row->current = row->clen = row->mlen = row->ylen = 0; in alloc_line()
247 int cur=rb->current; in add_cmy8()
257 rb->current++; in add_cmy8()
H A Dgxclip.c155 gx_clip_rect *rptr = rdev->current; /* const within algorithm */ in clip_enumerate_rest()
193 rdev->current = in clip_enumerate_rest()
195 y >= rdev->current->ymax ? rdev->list.tail : in clip_enumerate_rest()
199 rdev->current = rptr; in clip_enumerate_rest()
263 const gx_clip_rect *rptr = rdev->current; in clip_enumerate()
290 rdev->current = in clip_open()
317 /*const*/ gx_clip_rect *rptr = rdev->current; in clip_fill_rectangle()
331 rdev->current = rptr; /* may be redundant, but awkward to avoid */ in clip_fill_rectangle()
375 const gx_clip_rect *rptr = rdev->current; in clip_copy_mono()
H A Dzusparam.c57 long (*current)(i_ctx_t *); member
69 bool (*current)(i_ctx_t *); member
75 void (*current)(i_ctx_t *, gs_param_string *); member
651 long val = (*pset->long_defs[i].current)(i_ctx_p); in current_param_list()
662 bool val = (*pset->bool_defs[i].current)(i_ctx_p); in current_param_list()
676 (*pset->string_defs[i].current)(i_ctx_p, &val); in current_param_list()
H A Dgpmisc.c264 const char *current = gp_file_name_current(); in gp_file_name_combine_generic() local
265 int clen = strlen(current); in gp_file_name_combine_generic()
267 if (!append(&bp, bpe, &current, clen)) in gp_file_name_combine_generic()
/plan9/sys/src/cmd/mk/
H A Dbufblock.c19 p->current = p->start; in newbuf()
50 f->current = f->start; in growbuf()
58 p->current = p->start+n-QUANTA; in growbuf()
73 if (buf->current >= buf->end) in insert()
75 *buf->current++ = c; in insert()
84 if (buf->current+n > buf->end) in rinsert()
86 runetochar(buf->current, &r); in rinsert()
87 buf->current += n; in rinsert()
H A Dlex.c15 buf->current=buf->start; in assline()
22 if (buf->current != buf->start) { in assline()
49 if (buf->current != buf->start) { in assline()
83 start = buf->current-buf->start; in bquote()
88 buf->current = buf->start+start; in bquote()
90 execsh(0, buf->current, buf, envy); in bquote()
H A Dword.c135 if(b->current != b->start){ in nextword()
140 b->current = b->start; in nextword()
151 b->current = b->start; in nextword()
165 if(b->current != b->start){ in nextword()
167 cp = b->current; in nextword()
H A Dplan9.c218 if (buf->current >= buf->end) in execsh()
220 n = read(out[0], buf->current, buf->end-buf->current); in execsh()
223 buf->current += n; in execsh()
226 if (tot && buf->current[-1] == '\n') in execsh()
227 buf->current--; in execsh()
H A Dmain.c155 if (buf->current != buf->start) { in main()
156 buf->current--; in main()
160 buf->current = buf->start; in main()
H A Dvarsub.c48 if (b->current == b->start){ in varname()
188 buf->current = buf->start; in subsub()
201 buf->current = buf->start; in subsub()
/plan9/sys/src/cmd/
H A Dtr.c7 char *current; /* current parse point */ member
327 if (*p->current == '\0') in canon()
329 if(*p->current == '-' && p->last >= 0 && p->current[1]){ in canon()
330 p->current = getrune(p->current+1, &r); in canon()
338 p->current = getrune(p->current, &r); in canon()
346 p->current = p->base = cp; in Pinit()
352 p->current = p->base; in Prewind()
H A Dkbmap.c11 int current; member
78 map[i].current = 0; in init()
88 if(map[i].current) in drawmap()
199 map[j].current = 0; in click()
201 map[i].current = 1; in click()
226 map[argc].current = 0; in main()
/plan9/sys/src/cmd/wikifs/
H A Dparsehist.c40 int i, current, conflict, c, n; in Brdwhist() local
61 current = 0; in Brdwhist()
98 current = n; in Brdwhist()
113 h->current = current; in Brdwhist()
H A Dio.c51 Whist *current; member
191 current(Wcache *w) in current() function
198 gencurrent(w, &w->qid, tmp, tmplock, &w->tcurrent, &w->current, w->n); in current()
225 closewhist(c->current); in voidcache()
226 c->current = nil; in voidcache()
244 current(c); in getcache()
251 wh = c->current; in getcache()
281 && (!c->current || c->current->ref==1)){ in getcache()
296 closewhist(c->current); in getcache()
/plan9/sys/src/cmd/venti/srv/
H A Dround.c11 r->last = r->current; in waitforkick()
12 assert(r->current+1 == r->next); in waitforkick()
17 r->current = n; in waitforkick()
58 r->current = 0; in initround()
/plan9/sys/lib/troff/font/devutf/charlib/
H A DREADME11 font current font
12 ptsize current point size
/plan9/sys/src/cmd/fossil/
H A Dinvariants51 Since $b'.e# will be set to the current epoch, and $b.e# is less
52 than the current epoch (it's copy-on-write), $b.e < b'.e# so (ii)
77 Since we're changing $b#, $b.e# is the current epoch.
109 Since the epoch of $"oldRoot"# is less than the current epoch but $b.e# is equal
110 to the current epoch, (ii) is vacuously true.
/plan9/sys/lib/wiki/d/
H A D3110 #Chipsets supported in previous releases but not tested in current
123 #Cards supported in previous releases but not tested in current
158 #The following laptops are known to work in the current release:
165 #the current one:

1234567