Home
last modified time | relevance | path

Searched refs:last (Results 1 – 25 of 1159) sorted by relevance

12345678910>>...47

/dragonfly/contrib/zstd/lib/dictBuilder/
HDdivsufsort.c258 int *first, int *last, int depth) { in ss_insertionsort() argument
263 for(i = last - 2; first <= i; --i) { in ss_insertionsort()
265 do { *(j - 1) = *j; } while((++j < last) && (*j < 0)); in ss_insertionsort()
266 if(last <= j) { break; } in ss_insertionsort()
353 ss_pivot(const unsigned char *Td, const int *PA, int *first, int *last) { in ss_pivot() argument
357 t = last - first; in ss_pivot()
362 return ss_median3(Td, PA, first, middle, last - 1); in ss_pivot()
365 return ss_median5(Td, PA, first, first + t, middle, last - 1 - t, last - 1); in ss_pivot()
371 last = ss_median3(Td, PA, last - 1 - (t << 1), last - 1 - t, last - 1); in ss_pivot()
372 return ss_median3(Td, PA, first, middle, last); in ss_pivot()
[all …]
/dragonfly/contrib/mdocml/
HDman_macro.c98 n = man->last; in man_unscope()
119 man->last = n; in man_unscope()
121 roff_node_delete(man, man->last); in man_unscope()
138 man->last = n; in man_unscope()
140 man->last->flags |= NODE_VALID; in man_unscope()
150 man->next = (man->last == to) ? in man_unscope()
166 n = man->last; in rew_scope()
192 n = man->last; in rew_scope()
215 for (nn = man->last->parent; nn; nn = nn->parent) in blk_close()
246 for (nn = man->last->parent; nn; nn = nn->parent) in blk_close()
[all …]
HDmdoc_validate.c313 n = mdoc->last; in mdoc_validate()
331 mdoc->last = mdoc->last->child; in mdoc_validate()
332 while (mdoc->last != NULL) { in mdoc_validate()
334 if (mdoc->last == n) in mdoc_validate()
335 mdoc->last = mdoc->last->child; in mdoc_validate()
337 mdoc->last = mdoc->last->next; in mdoc_validate()
342 mdoc->last = n; in mdoc_validate()
366 check_args(mdoc, mdoc->last); in mdoc_validate()
376 if (n->last != NULL) in mdoc_validate()
377 n->last->flags &= ~NODE_DELIMO; in mdoc_validate()
[all …]
HDman.c47 if (man->last->type != ROFFT_EQN || ln > man->last->line) in man_parseln()
88 while (man->last->parent->type != ROFFT_ROOT && in man_descope()
89 man_macro(man->last->parent->tok)->flags & MAN_ESCOPED) in man_descope()
90 man_unscope(man, man->last->parent); in man_descope()
95 man_unscope(man, man->last->parent); in man_descope()
96 roff_body_alloc(man, line, offs, man->last->tok); in man_descope()
128 if (man->last->tok == MAN_SH || man->last->tok == MAN_SS) in man_ptext()
130 if (man->last->type == ROFFT_TEXT && in man_ptext()
131 ((ep = man_hasc(man->last->string)) != NULL)) { in man_ptext()
170 man->last->flags |= NODE_EOS; in man_ptext()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
HDgimple-iterator.c66 update_bb_for_stmts (gimple_seq_node first, gimple_seq_node last, in update_bb_for_stmts() argument
74 if (n == last) in update_bb_for_stmts()
116 gimple_seq_node last, in gsi_insert_seq_nodes_before() argument
125 update_bb_for_stmts (first, last, bb); in gsi_insert_seq_nodes_before()
135 last->next = cur; in gsi_insert_seq_nodes_before()
136 cur->prev = last; in gsi_insert_seq_nodes_before()
147 last->next = NULL; in gsi_insert_seq_nodes_before()
155 gimple_seq_set_last (i->seq, last); in gsi_insert_seq_nodes_before()
186 gimple_seq_node first, last; in gsi_insert_seq_before_without_update() local
195 last = gimple_seq_last (seq); in gsi_insert_seq_before_without_update()
[all …]
HDipa-ref.c36 struct ipa_ref *last; in remove_reference() local
40 last = list->referring.last (); in remove_reference()
41 if (this != last) in remove_reference()
51 && last_alias != last) in remove_reference()
64 list->referring[referred_index] = list->referring.last (); in remove_reference()
69 last = &list2->references->last (); in remove_reference()
73 if (ref != last) in remove_reference()
75 *ref = *last; in remove_reference()
/dragonfly/contrib/ncurses/progs/
HDtabs.c65 int last = 1; in do_tabs() local
70 if (last < stop) { in do_tabs()
71 while (last++ < stop) { in do_tabs()
72 if (last > max_cols) in do_tabs()
79 last = stop; in do_tabs()
148 int last = 0; in print_ruler() local
166 for (n = 0, last = 0; (tab_list[n] > 0) && (last < max_cols); ++n) { in print_ruler()
168 while (++last < stop) { in print_ruler()
169 if (last <= max_cols) { in print_ruler()
175 if (last <= max_cols) { in print_ruler()
[all …]
/dragonfly/contrib/gdb-7/gdb/
HDcp-name-parser.y271 struct demangle_component **last; member
274 struct demangle_component *comp, *last; member
277 struct demangle_component *comp, **last; member
544 $$.last = &d_left ($2);
548 $$.last = &d_left ($1);
553 $$.last = &d_left ($3);
557 $$.last = &d_left ($2);
611 $$.last = $$.comp;
616 $$.last = d_right ($1.last);
617 d_left ($$.last) = $2;
[all …]
HDrecord-btrace.c271 unsigned int context, last, begin, end; in record_btrace_insn_history() local
277 last = VEC_length (btrace_inst_s, btinfo->itrace); in record_btrace_insn_history()
292 context = min (context, last); in record_btrace_insn_history()
294 end = last; in record_btrace_insn_history()
315 if (end == last) in record_btrace_insn_history()
319 btinfo->insn_iterator.begin = last; in record_btrace_insn_history()
324 context = min (context, last - end); in record_btrace_insn_history()
346 unsigned int last, begin, end; in record_btrace_insn_history_range() local
352 last = VEC_length (btrace_inst_s, btinfo->itrace); in record_btrace_insn_history_range()
366 if (last <= begin) in record_btrace_insn_history_range()
[all …]
/dragonfly/contrib/cvs-1.12/src/
HDlog.c35 char *last; member
53 char *last; member
375 if (rp->last != NULL) in cvslog()
376 send_to_server (rp->last, 0); in cvslog()
381 if (rp->last) in cvslog()
382 free (rp->last); in cvslog()
437 if (log_data.revlist->last) in cvslog()
438 free (log_data.revlist->last); in cvslog()
601 r->last = strchr (copy, ':'); in log_parse_revlist()
602 if (r->last != NULL) in log_parse_revlist()
[all …]
HDbuffer.c52 buf->last = NULL; in buf_initialize()
168 && (((buf->last->text + BUFFER_DATA_SIZE) in buf_output()
169 - (buf->last->bufp + buf->last->size)) in buf_output()
172 memcpy (buf->last->bufp + buf->last->size, data, len); in buf_output()
173 buf->last->size += len; in buf_output()
191 buf->last->next = newdata; in buf_output()
193 buf->last = newdata; in buf_output()
230 && (buf->last->text + BUFFER_DATA_SIZE in buf_append_char()
231 != buf->last->bufp + buf->last->size)) in buf_append_char()
233 *(buf->last->bufp + buf->last->size) = ch; in buf_append_char()
[all …]
/dragonfly/games/hack/
HDhack.o_init.c87 int i, j, first, last, sum, end; in init_objects() local
98 last = first + 1; in init_objects()
99 while (last < end && objects[last].oc_olet == let in init_objects()
100 && objects[last].oc_name != NULL) in init_objects()
101 last++; in init_objects()
111 for (j = first; j < last; j++) in init_objects()
114 for (j = first; j < last; j++) in init_objects()
115 objects[j].oc_prob = (100 + j - first) / (last - first); in init_objects()
123 while (last < end && objects[last].oc_olet == let) in init_objects()
124 last++; in init_objects()
[all …]
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/ext/pb_ds/
Dassoc_container.hpp253 cc_hash_table(It first, It last) in cc_hash_table() argument
254 { base_type::copy_from_range(first, last); } in cc_hash_table()
260 cc_hash_table(It first, It last, const hash_fn& h) in cc_hash_table() argument
262 { this->copy_from_range(first, last); } in cc_hash_table()
271 cc_hash_table(It first, It last, const hash_fn& h, const eq_fn& e) in cc_hash_table() argument
273 { this->copy_from_range(first, last); } in cc_hash_table()
283 cc_hash_table(It first, It last, const hash_fn& h, const eq_fn& e, in cc_hash_table() argument
286 { this->copy_from_range(first, last); } in cc_hash_table()
297 cc_hash_table(It first, It last, const hash_fn& h, const eq_fn& e, in cc_hash_table() argument
300 { this->copy_from_range(first, last); } in cc_hash_table()
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/ext/pb_ds/
Dassoc_container.hpp253 cc_hash_table(It first, It last) in cc_hash_table() argument
254 { base_type::copy_from_range(first, last); } in cc_hash_table()
260 cc_hash_table(It first, It last, const hash_fn& h) in cc_hash_table() argument
262 { this->copy_from_range(first, last); } in cc_hash_table()
271 cc_hash_table(It first, It last, const hash_fn& h, const eq_fn& e) in cc_hash_table() argument
273 { this->copy_from_range(first, last); } in cc_hash_table()
283 cc_hash_table(It first, It last, const hash_fn& h, const eq_fn& e, in cc_hash_table() argument
286 { this->copy_from_range(first, last); } in cc_hash_table()
297 cc_hash_table(It first, It last, const hash_fn& h, const eq_fn& e, in cc_hash_table() argument
300 { this->copy_from_range(first, last); } in cc_hash_table()
[all …]
/dragonfly/usr.bin/seq/
HDseq.c81 double last = 0.0; in main() local
136 last = e_atof(argv[argc - 1]); in main()
145 errx(1, "zero %screment", (first < last)? "in" : "de"); in main()
150 incr = (first < last) ? 1.0 : -1.0; in main()
152 if (incr <= 0.0 && first < last) in main()
155 if (incr >= 0.0 && first > last) in main()
167 fmt = generate_format(first, incr, last, equalize, pad); in main()
170 for (; first <= last; first += incr) { in main()
175 for (; first >= last; first += incr) { in main()
406 generate_format(double first, double incr, double last, int equalize, char pad) in generate_format() argument
[all …]
/dragonfly/contrib/gcc-4.7/gcc/
HDgimple-iterator.c110 gimple_seq_node last, in gsi_insert_seq_nodes_before() argument
127 last->next = cur; in gsi_insert_seq_nodes_before()
128 cur->prev = last; in gsi_insert_seq_nodes_before()
144 gimple_seq_set_last (i->seq, last); in gsi_insert_seq_nodes_before()
175 gimple_seq_node first, last; in gsi_insert_seq_before_without_update() local
184 last = gimple_seq_last (seq); in gsi_insert_seq_before_without_update()
191 if (!first || !last) in gsi_insert_seq_before_without_update()
193 gcc_assert (first == last); in gsi_insert_seq_before_without_update()
197 gsi_insert_seq_nodes_before (i, first, last, mode); in gsi_insert_seq_before_without_update()
227 gimple_seq_node last, in gsi_insert_seq_nodes_after() argument
[all …]
/dragonfly/contrib/bmake/
HDlst.c122 list->last = ln; in Lst_Prepend()
137 ln = LstNodeNew(list->last, NULL, datum); in Lst_Append()
139 if (list->last == NULL) { in Lst_Append()
141 list->last = ln; in Lst_Append()
143 list->last->next = ln; in Lst_Append()
144 list->last = ln; in Lst_Append()
164 if (list->last == ln) in Lst_Remove()
165 list->last = ln->prev; in Lst_Remove()
216 src->first->prev = dst->last; in Lst_MoveAll()
217 if (dst->last != NULL) in Lst_MoveAll()
[all …]
/dragonfly/bin/mkdir/
HDmkdir.c133 int first, last, retval; in build() local
141 for (first = 1, last = 0; !last ; ++p) { in build()
143 last = 1; in build()
147 if (!last && p[1] == '\0') in build()
148 last = 1; in build()
167 if (last) in build()
171 mkdir_race(path, last ? omode : in build()
180 if (last) in build()
188 if (!last) in build()
191 if (!first && !last) in build()
/dragonfly/lib/libc/stdlib/
HDmerge.c63 #define ICOPY_LIST(src, dst, last) \ argument
66 while(src < last)
72 #define CCOPY_LIST(src, dst, last) \ argument
75 while (src < last)
102 u_char *list2, *list1, *p2, *p, *last, **p1; in mergesort() local
125 last = list2 + nmemb * size; in mergesort()
127 while (*EVAL(list2) != last) { in mergesort()
130 for (tp2 = p2 = list2; p2 != last; p1 = EVAL(l2)) { in mergesort()
134 if (p2 != last) in mergesort()
220 last = list2 + nmemb*size; in mergesort()
[all …]
/dragonfly/contrib/wpa_supplicant/src/utils/
HDedit.c178 struct edit_history *h, *match = NULL, *last = NULL; in history_add() local
189 last = h; in history_add()
200 if (count >= HISTORY_MAX && last) { in history_add()
201 dl_list_del(&last->list); in history_add()
202 os_free(last); in history_add()
561 static enum edit_key_code esc_seq_to_key1_no(char last) in esc_seq_to_key1_no() argument
563 switch (last) { in esc_seq_to_key1_no()
578 static enum edit_key_code esc_seq_to_key1_shift(char last) in esc_seq_to_key1_shift() argument
580 switch (last) { in esc_seq_to_key1_shift()
595 static enum edit_key_code esc_seq_to_key1_alt(char last) in esc_seq_to_key1_alt() argument
[all …]
/dragonfly/sys/net/
HDraw_usrreq.c82 struct socket *last; in raw_input() local
86 last = NULL; in raw_input()
111 if (last) { in raw_input()
116 lwkt_gettoken(&last->so_rcv.ssb_token); in raw_input()
117 if (ssb_appendaddr(&last->so_rcv, src, n, in raw_input()
120 soroverflow(last); in raw_input()
122 sorwakeup(last); in raw_input()
124 lwkt_reltoken(&last->so_rcv.ssb_token); in raw_input()
127 last = rp->rcb_socket; in raw_input()
129 if (last) { in raw_input()
[all …]
/dragonfly/sys/netinet/
HDraw_ip.c141 struct inpcb *last = NULL; in rip_input() local
164 if (last) { in rip_input()
168 lwkt_gettoken(&last->inp_socket->so_rcv.ssb_token); in rip_input()
169 if (last->inp_flags & INP_CONTROLOPTS || in rip_input()
170 last->inp_socket->so_options & SO_TIMESTAMP) in rip_input()
171 ip_savecontrol(last, &opts, ip, n); in rip_input()
172 if (ssb_appendaddr(&last->inp_socket->so_rcv, in rip_input()
178 soroverflow(last->inp_socket); in rip_input()
180 sorwakeup(last->inp_socket); in rip_input()
182 lwkt_reltoken(&last->inp_socket->so_rcv.ssb_token); in rip_input()
[all …]
/dragonfly/contrib/ncurses/ncurses/tinfo/
HDentries.c71 ENTRY *ep, *last; in _nc_delink_entry() local
73 for (last = 0, ep = headp; ep != 0; last = ep, ep = ep->next) { in _nc_delink_entry()
75 if (last != 0) { in _nc_delink_entry()
76 last->next = ep->next; in _nc_delink_entry()
79 ep->next->last = last; in _nc_delink_entry()
85 _nc_tail = last; in _nc_delink_entry()
/dragonfly/contrib/zlib-1.2/
HDinfback.c266 code last; /* parent table entry */ local
280 state->last = 0;
294 if (state->last) {
300 state->last = BITS(1);
305 state->last ? " (last)" : ""));
311 state->last ? " (last)" : ""));
316 state->last ? " (last)" : ""));
499 last = here;
501 here = state->lencode[last.val +
502 (BITS(last.bits + last.op) >> last.bits)];
[all …]
/dragonfly/sbin/gpt/
HDexpand.c72 off_t last; in expand() local
91 last = mediasz / secsz - 1LL; in expand()
113 gpt2 = mkmap(last, 1LL, MAP_TYPE_SEC_GPT_HDR); in expand()
116 tbl2 = mkmap(last - blocks, blocks, MAP_TYPE_SEC_GPT_TBL); in expand()
122 if (last > 0xffffffff) { in expand()
126 mbr->mbr_part[0].part_size_lo = htole16(last); in expand()
127 mbr->mbr_part[0].part_size_hi = htole16(last >> 16); in expand()
137 delta = last - hdr->hdr_lba_alt; in expand()
138 hdr->hdr_lba_alt = htole64(last); in expand()
174 nblocks = last - blocks - le64toh(lent->ent_lba_start); in expand()

12345678910>>...47