/openbsd/gnu/lib/libiberty/src/ |
H A D | concat.c | 105 VA_OPEN (args, first); in concat_length() 120 VA_OPEN (args, first); in concat_copy() 123 vconcat_copy (dst, first, args); in concat_copy() 141 concat_copy2 (const char *first, ...) in concat_copy2() argument 143 VA_OPEN (args, first); in concat_copy2() 152 concat (const char *first, ...) in concat() argument 157 VA_OPEN (args, first); in concat() 163 VA_OPEN (args, first); in concat() 165 vconcat_copy (newstr, first, args); in concat() 194 VA_OPEN (args, first); in reconcat() [all …]
|
/openbsd/sys/dev/pci/drm/include/linux/ |
H A D | llist.h | 13 struct llist_node *first; member 30 first = head->first; in llist_del_first() 31 if (first == NULL) in llist_del_first() 33 next = first->next; in llist_del_first() 34 } while (atomic_cas_ptr(&head->first, first, next) != first); in llist_del_first() 36 return first; in llist_del_first() 45 new->next = first = head->first; in llist_add() 46 } while (atomic_cas_ptr(&head->first, first, new) != first); in llist_add() 58 new_last->next = first = head->first; in llist_add_batch() 59 } while (atomic_cas_ptr(&head->first, first, new_first) != first); in llist_add_batch() [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Scalar-List-Utils/t/ |
H A D | first.t | 6 use List::Util qw(first); 11 ok(defined &first, 'defined'); 13 $v = first { 8 == ($_ - 1) } 9,4,5,6; 16 $v = first { 0 } 1,2,3,4; 19 $v = first { 0 }; 88 $v = first \&huge, 1..6; 115 eval { &first(1) }; 117 eval { &first(1,2) }; 119 eval { &first(qw(a b)) }; 121 eval { &first([],1,2,3) }; [all …]
|
/openbsd/gnu/usr.bin/perl/lib/Getopt/ |
H A D | Std.pm | 103 my ($first, $rest); 108 ($first, $rest) = ($1, $2); 122 $$hash{$first} = $rest; 126 ${"opt_$first"} = $rest; 132 $$hash{$first} = 1; 136 ${"opt_$first"} = 1; 243 ($first, $rest) = ($1, $2); 257 $$hash{$first} = $rest; 261 ${"opt_$first"} = $rest; 267 $$hash{$first} = 1; [all …]
|
/openbsd/games/hack/ |
H A D | hack.o_init.c | 92 first = 0; in init_objects() 93 while( first < end ) { in init_objects() 95 last = first+1; in init_objects() 102 bases[i] = first; in init_objects() 111 objects[j].oc_prob = (100+j-first)/(last-first); in init_objects() 123 i = first + rn2(j+1-first); in init_objects() 129 first = last; in init_objects() 148 int j,first; in setgemprobs() local 155 first += j; in setgemprobs() 156 if(first >= LAST_GEM || first >= SIZE(objects) || in setgemprobs() [all …]
|
/openbsd/usr.bin/lex/ |
H A D | nfa.c | 318 if (first == NIL) in link_machines() 322 return first; in link_machines() 327 lastst[first] = MAX(lastst[first], lastst[last]); in link_machines() 328 firstst[first] = MIN(firstst[first], firstst[last]); in link_machines() 330 return first; in link_machines() 393 return first; in mkbranch() 475 if (first == NIL) in mkor() 479 return first; in mkor() 489 first = link_machines(eps, first); in mkor() 504 first = link_machines(first, eps); in mkor() [all …]
|
/openbsd/gnu/lib/libstdc++/libstdc++/testsuite/25_algorithms/ |
H A D | binary_search.cc | 49 const int first = A[0]; in test01() local 83 const int first = A[0]; in test02() local 118 const int first = A[0]; in test03() local 122 VERIFY(p.first == A + 2); in test03() 126 VERIFY(q.first == A + 0); in test03() 130 VERIFY(r.first == A + N - 1); in test03() 134 VERIFY(s.first == A + 5); in test03() 138 VERIFY(t.first == C + 2); in test03() 146 VERIFY(v.first == C + 0); in test03() 150 VERIFY(w.first == C + 2); in test03() [all …]
|
/openbsd/gnu/llvm/compiler-rt/lib/orc/ |
H A D | interval_map.h | 39 return LHS.first < RHS; in operator() 42 return LHS < RHS.first; in operator() 65 if (empty() || K < begin()->first.first || in find() 72 if (K < I->first.second) in find() 99 if (KS >= I->first.second) in erase() 109 if (KE < Tmp.first.second) { in erase() 116 if (KS > Tmp.first.first) in erase() 118 J, std::make_pair(std::make_pair(Tmp.first.first, KS), Tmp.second)); in erase() 138 if (J != this->end() && KE == J->first.first && J->second == V) { in insert() 139 KE = J->first.second; in insert() [all …]
|
/openbsd/gnu/usr.bin/perl/lib/B/ |
H A D | Deparse.pm | 1471 and not null $op->first->first->sibling 1488 if ($lseq->first && !null($lseq->first) && is_state($lseq->first) 3391 $first = $self->rv2gv_or_string($kid->first); 3397 $first = sprintf("%#o", $first); 3399 $first = "+$first" 3956 and is_scope($op->first->first->sibling)); 5093 and $arg->first->first->name eq "rv2gv") 5796 ? $op->first : $op->first->sibling; 6175 my $first = $self->re_dq($op->first); 6257 my $first = $op->first; [all …]
|
/openbsd/usr.bin/netstat/ |
H A D | inet6.c | 330 int first, i; in ip6_stats() local 378 first = 0; in ip6_stats() 399 first = 0; in ip6_stats() 439 first = 0; in ip6_stats() 448 first = 0; in ip6_stats() 457 first = 0; in ip6_stats() 466 first = 0; in ip6_stats() 475 first = 0; in ip6_stats() 755 int i, first; in icmp6_stats() local 781 first = 0; in icmp6_stats() [all …]
|
/openbsd/gnu/llvm/clang/lib/Tooling/ |
H A D | NodeIntrospection.cpp | 64 if (LHS.first.getBegin() < RHS.first.getBegin()) in operator ()() 66 else if (LHS.first.getBegin() != RHS.first.getBegin()) in operator ()() 69 if (LHS.first.getEnd() < RHS.first.getEnd()) in operator ()() 71 else if (LHS.first.getEnd() != RHS.first.getEnd()) in operator ()() 79 if (LHS.first == RHS.first) in operator ()() 81 return LHS.first < RHS.first; in operator ()()
|
/openbsd/gnu/llvm/llvm/lib/TableGen/ |
H A D | StringMatcher.cpp | 32 for (unsigned i = 0, e = Matches[0]->first.size(); i != e; ++i) { in FindFirstNonCommonLetter() 34 char Letter = Matches[0]->first[i]; in FindFirstNonCommonLetter() 37 if (Match->first[i] != Letter) in FindFirstNonCommonLetter() 41 return Matches[0]->first.size(); in FindFirstNonCommonLetter() 57 if (CharNo == Matches[0]->first.size()) { in EmitStringMatcherForChar() 65 OS << Indent << Split.first << "\t // \"" << Matches[0]->first << "\"\n"; in EmitStringMatcherForChar() 70 OS << Indent << Split.first << "\n"; in EmitStringMatcherForChar() 80 MatchesByLetter[Match->first[CharNo]].push_back(Match); in EmitStringMatcherForChar() 93 << Matches[0]->first[CharNo] << "')\n"; in EmitStringMatcherForChar() 99 << ", \"" << Matches[0]->first.substr(CharNo, NumChars) << "\", " in EmitStringMatcherForChar() [all …]
|
/openbsd/gnu/gcc/libstdc++-v3/include/ext/pb_ds/ |
H A D | assoc_container.hpp | 218 cc_hash_table(It first, It last) in cc_hash_table() argument 219 { base_type::copy_from_range(first, last); } in cc_hash_table() 227 { copy_from_range(first, last); } in cc_hash_table() 238 { copy_from_range(first, last); } in cc_hash_table() 251 { copy_from_range(first, last); } in cc_hash_table() 265 { copy_from_range(first, last); } in cc_hash_table() 368 gp_hash_table(It first, It last) in gp_hash_table() argument 520 tree(It first, It last) in tree() argument 528 tree(It first, It last, const cmp_fn& c) in tree() argument 597 trie(It first, It last) in trie() argument [all …]
|
/openbsd/gnu/usr.bin/cvs/src/ |
H A D | log.c | 25 char *first; member 45 char *first; member 366 if (rp->first) 583 r->first = copy; 597 if (r->first[0] != '\0' && r->first[strlen (r->first) - 1] == '.') 600 r->first[strlen (r->first) - 1] = '\0'; 610 r->first = xstrdup (r->first); 1027 nr->first = RCS_getbranch (rcs, r->first, 1); 1054 nr->first = xstrdup (r->first); 1058 nr->first = RCS_whatbranch (rcs, r->first); [all …]
|
/openbsd/gnu/usr.bin/perl/dist/ExtUtils-ParseXS/t/ |
H A D | 513-t-merge.t | 29 my $first = ExtUtils::Typemaps->new(file => $first_typemap_file); 30 isa_ok($first, 'ExtUtils::Typemaps'); 34 $first->merge(typemap => $second); 36 is($first->as_string(), slurp($combined_typemap_file), "merging produces expected output"); 41 my $first = ExtUtils::Typemaps->new(file => $first_typemap_file); 42 isa_ok($first, 'ExtUtils::Typemaps'); 44 $first->merge(file => $second_typemap_file); 46 is($first->as_string(), slurp($combined_typemap_file), "merging produces expected output"); 52 my $first = ExtUtils::Typemaps->new(file => $first_typemap_file); 53 isa_ok($first, 'ExtUtils::Typemaps'); [all …]
|
/openbsd/gnu/lib/libstdc++/libstdc++/include/bits/ |
H A D | stl_pair.h | 73 _T1 first; ///< @c first is a copy of the first object member 79 pair() : first(), second() {} in pair() 81 pair() : first(_T1()), second(_T2()) {} in pair() 84 pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) {} in pair() 88 pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) {} in pair() 95 return __x.first == __y.first && __x.second == __y.second; 102 return __x.first < __y.first || 103 (!(__y.first < __x.first) && __x.second < __y.second);
|
/openbsd/usr.bin/seq/ |
H A D | seq.c | 89 double first = 1.0; in main() local 150 first = e_atof(argv[0]); in main() 161 incr = (first < last) ? 1.0 : -1.0; in main() 163 if (incr <= 0.0 && first < last) in main() 166 if (incr >= 0.0 && first > last) in main() 180 cur = first + incr * step++) { in main() 181 if (cur != first) in main() 202 if (cur != first) in main() 378 if (first > last) in generate_format() 379 last = first - incr * floor((first - last) / incr); in generate_format() [all …]
|
/openbsd/gnu/usr.bin/binutils-2.17/binutils/ |
H A D | resbin.c | 172 int first; in get_resid() local 294 first = NULL; in bin_to_res_menuitems() 295 pp = &first; in bin_to_res_menuitems() 358 return first; in bin_to_res_menuitems() 361 return first; in bin_to_res_menuitems() 372 first = NULL; in bin_to_res_menuexitems() 373 pp = &first; in bin_to_res_menuexitems() 433 return first; in bin_to_res_menuexitems() 688 pp = &first; in bin_to_res_fontdir() 752 pp = &first; in bin_to_res_accelerators() [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Pod-Perldoc/lib/Pod/Perldoc/ |
H A D | GetOptsOO.pm | 33 my($first,$rest) = ($1,$2); 38 if ($first eq '-' and $rest) { # GNU style long param names 39 ($first, $rest) = split '=', $rest, 2; 41 my $method = "opt_${first}_with"; 45 $target->warn( "Option $first needs a following argument!\n" ) unless @$args; 57 if( $target->can( $method = "opt_$first" ) ) { 65 and print " calling handle_unknown_option('$first')\n"; 68 $target->handle_unknown_option( $first ) || 0 73 $target->warn( "Unknown option: $first\n" );
|
/openbsd/gnu/llvm/libcxx/include/__utility/ |
H A D | pair.h | 90 first = __p.first; 232 : first(__p.first), second(__p.second) {} in pair() 242 : first(__p.first), second(__p.second) {} in pair() 251 : first(__p.first), second(__p.second) {} in pair() 317 first = __p.first; in _NOEXCEPT_() 342 first = __p.first; in noexcept() 363 first = __p.first; in requires() 373 first = std::forward<_U1>(__p.first); in requires() 396 swap(first, __p.first); in swap() 407 swap(first, __p.first); in swap() [all …]
|
/openbsd/gnu/gcc/libstdc++-v3/include/bits/ |
H A D | stl_pair.h | 73 _T1 first; ///< @c first is a copy of the first object member 81 : first(), second() { } in pair() 85 : first(__a), second(__b) { } in pair() 90 : first(__p.first), second(__p.second) { } in pair() 97 { return __x.first == __y.first && __x.second == __y.second; } 103 { return __x.first < __y.first 104 || (!(__y.first < __x.first) && __x.second < __y.second); }
|
/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | et-forest.c | 340 et_forest_occurrence_t first = forest_node->first; local 344 splay (first); 346 if (first->left) 348 if (first->right) 351 if (last != first) 385 if (first != last) 406 free (first); 407 if (first != last) 586 splay (node->first); 612 splay (node1->first); [all …]
|
/openbsd/gnu/usr.bin/binutils/binutils/ |
H A D | resbin.c | 172 int first; in get_resid() local 294 first = NULL; in bin_to_res_menuitems() 295 pp = &first; in bin_to_res_menuitems() 358 return first; in bin_to_res_menuitems() 361 return first; in bin_to_res_menuitems() 372 first = NULL; in bin_to_res_menuexitems() 373 pp = &first; in bin_to_res_menuexitems() 433 return first; in bin_to_res_menuexitems() 688 pp = &first; in bin_to_res_fontdir() 752 pp = &first; in bin_to_res_accelerators() [all …]
|
/openbsd/regress/usr.bin/mandoc/roff/de/ |
H A D | escname.out_ascii | 11 define first\second = val3 13 define first = val1 15 define first\.second = val_dot 17 define first\Gsecond = val_inval 20 first val1 22 first\second val3 23 first.second val_dot 24 first\.second val_dot 26 first\Gsecond val_inval
|
/openbsd/gnu/usr.bin/perl/t/op/ |
H A D | range.t | 231 my ($first, $last); 236 $first = $_; 252 my ($first, $last); 257 $first = $_; 273 my $first; 278 $first = $_; 312 my ($first, $last); 317 $first = $_; 333 my ($first, $last); 338 $first = $_; [all …]
|