| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/ |
| H A D | floating_from_chars.cc | 150 find_end_of_float(const char* first, const char* last, const char* digits, in find_end_of_float() argument 153 while (first < last && strchr(digits, *first) != nullptr) in find_end_of_float() 154 ++first; in find_end_of_float() 155 if (first < last && *first == '.') in find_end_of_float() 157 ++first; in find_end_of_float() 158 while (first < last && strchr(digits, *first)) in find_end_of_float() 159 ++first; in find_end_of_float() 161 if (first < last && exp != nullptr && (*first == exp[0] || *first == exp[1])) in find_end_of_float() 163 ++first; in find_end_of_float() 164 if (first < last && (*first == '-' || *first == '+')) in find_end_of_float() [all …]
|
| H A D | floating_to_chars.cc | 554 to_chars(char* first, char* const last, uint128_t x) in to_chars() argument 557 if (last - first < len) in to_chars() 561 *first++ = '0'; in to_chars() 562 return {first, std::errc{}}; in to_chars() 566 first[len - 1 - i] = '0' + static_cast<char>(x % 10); in to_chars() 570 return {first + len, std::errc{}}; in to_chars() 583 __handle_special_value(char* first, char* const last, const T value, in __handle_special_value() argument 615 if (last - first < (int)str.length()) in __handle_special_value() 618 memcpy(first, &str[0], str.length()); in __handle_special_value() 619 first += str.length(); in __handle_special_value() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/include/linux/ |
| H A D | llist.h | 39 struct llist_node *first; member 50 head->first = NULL; in init_llist_head() 60 empty = (atomic_load_acquire(&head->first) == NULL); in llist_empty() 68 struct llist_node *first; in llist_add() local 71 first = head->first; in llist_add() 72 node->next = first; in llist_add() 74 } while (atomic_cas_ptr(&head->first, first, node) != first); in llist_add() 76 return first == NULL; in llist_add() 80 llist_add_batch(struct llist_node *first, struct llist_node *last, in llist_add_batch() argument 86 next = atomic_load_consume(&head->first); in llist_add_batch() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/libiberty/ |
| H A D | concat.c | 59 vconcat_length (const char *first, va_list args) in vconcat_length() argument 64 for (arg = first; arg ; arg = va_arg (args, const char *)) in vconcat_length() 71 vconcat_copy (char *dst, const char *first, va_list args) in vconcat_copy() argument 76 for (arg = first; arg ; arg = va_arg (args, const char *)) in vconcat_copy() 90 concat_length (const char *first, ...) in concat_length() argument 95 va_start (args, first); in concat_length() 96 length = vconcat_length (first, args); in concat_length() 105 concat_copy (char *dst, const char *first, ...) in concat_copy() argument 110 va_start (args, first); in concat_copy() 111 vconcat_copy (dst, first, args); in concat_copy() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libiberty/ |
| H A D | concat.c | 59 vconcat_length (const char *first, va_list args) in vconcat_length() argument 64 for (arg = first; arg ; arg = va_arg (args, const char *)) in vconcat_length() 71 vconcat_copy (char *dst, const char *first, va_list args) in vconcat_copy() argument 76 for (arg = first; arg ; arg = va_arg (args, const char *)) in vconcat_copy() 90 concat_length (const char *first, ...) in concat_length() argument 95 va_start (args, first); in concat_length() 96 length = vconcat_length (first, args); in concat_length() 105 concat_copy (char *dst, const char *first, ...) in concat_copy() argument 110 va_start (args, first); in concat_copy() 111 vconcat_copy (dst, first, args); in concat_copy() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libiberty/ |
| H A D | concat.c | 59 vconcat_length (const char *first, va_list args) in vconcat_length() argument 64 for (arg = first; arg ; arg = va_arg (args, const char *)) in vconcat_length() 71 vconcat_copy (char *dst, const char *first, va_list args) in vconcat_copy() argument 76 for (arg = first; arg ; arg = va_arg (args, const char *)) in vconcat_copy() 90 concat_length (const char *first, ...) in concat_length() argument 95 va_start (args, first); in concat_length() 96 length = vconcat_length (first, args); in concat_length() 105 concat_copy (char *dst, const char *first, ...) in concat_copy() argument 110 va_start (args, first); in concat_copy() 111 vconcat_copy (dst, first, args); in concat_copy() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/libiberty/ |
| H A D | concat.c | 59 vconcat_length (const char *first, va_list args) in vconcat_length() argument 64 for (arg = first; arg ; arg = va_arg (args, const char *)) in vconcat_length() 71 vconcat_copy (char *dst, const char *first, va_list args) in vconcat_copy() argument 76 for (arg = first; arg ; arg = va_arg (args, const char *)) in vconcat_copy() 90 concat_length (const char *first, ...) in concat_length() argument 95 va_start (args, first); in concat_length() 96 length = vconcat_length (first, args); in concat_length() 105 concat_copy (char *dst, const char *first, ...) in concat_copy() argument 110 va_start (args, first); in concat_copy() 111 vconcat_copy (dst, first, args); in concat_copy() [all …]
|
| /netbsd-src/usr.bin/make/unit-tests/ |
| H A D | depsrc-use.mk | 17 first: .USE first-first first-second 18 @echo first 1 # Using ${.TARGET} here would expand to "action" 19 @echo first 2 20 first-first: .USE 21 @echo first-first 1 22 @echo first-first 2 23 first-second: .USE 24 @echo first-second 1 25 @echo first-second 2 39 action: first second empty
|
| /netbsd-src/games/hack/ |
| H A D | hack.o_init.c | 92 int i, j, first, last, sum, end; in init_objects() local 100 first = 0; in init_objects() 101 while (first < end) { in init_objects() 102 let = objects[first].oc_olet; in init_objects() 103 last = first + 1; in init_objects() 110 bases[i] = first; in init_objects() 116 for (j = first; j < last; j++) in init_objects() 119 for (j = first; j < last; j++) in init_objects() 120 objects[j].oc_prob = (100 + j - first) / (last - first); in init_objects() 126 if (objects[first].oc_descr != NULL && let != TOOL_SYM) { in init_objects() [all …]
|
| /netbsd-src/external/bsd/ntp/dist/tests/libntp/ |
| H A D | lfpfunc.c | 31 int l_fp_scmp(const l_fp first, const l_fp second); 32 int l_fp_ucmp(const l_fp first, l_fp second); 34 l_fp l_fp_add(const l_fp first, const l_fp second); 35 l_fp l_fp_subtract(const l_fp first, const l_fp second); 36 l_fp l_fp_negate(const l_fp first); 37 l_fp l_fp_abs(const l_fp first); 38 int l_fp_signum(const l_fp first); 39 double l_fp_convert_to_double(const l_fp first); 41 void l_fp_swap(l_fp * first, l_fp *second); 42 bool l_isgt(const l_fp first, const l_fp second); [all …]
|
| /netbsd-src/usr.bin/seq/ |
| H A D | seq.c | 105 double first = 1.0; in main() local 168 first = e_atof(argv[0]); in main() 177 errx(1, "zero %screment", (first < last)? "in" : "de"); in main() 182 incr = (first < last) ? 1.0 : -1.0; in main() 184 if (incr <= 0.0 && first < last) in main() 187 if (incr >= 0.0 && first > last) in main() 207 fmt = generate_format(first, incr, last, equalize, pad, fmt); in main() 211 printf(fmt, first); in main() 212 prev = first; in main() 213 for (first += incr; first <= last; first += incr) { in main() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/gprofng/src/ |
| H A D | Filter.cc | 49 first = (uint64_t) - 1; in FilterNumeric() 70 if (first == findex && last == lindex) in set_range() 72 first = findex; in set_range() 125 if (rp->first == rp->last) in get_advanced_filter() 128 sb.append ((long long) rp->first); in get_advanced_filter() 133 sb.append ((long long) rp->first); in get_advanced_filter() 158 if (last == (uint64_t) - 1 && last == first) in get_pattern() 173 sb.append ((long long) rp->first); in get_pattern() 174 if (rp->first != rp->last) in get_pattern() 221 val = first; // yes, set val to first, and see what follows in set_pattern() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/ |
| H A D | Filter.cc | 49 first = (uint64_t) - 1; in FilterNumeric() 70 if (first == findex && last == lindex) in set_range() 72 first = findex; in set_range() 125 if (rp->first == rp->last) in get_advanced_filter() 128 sb.append ((long long) rp->first); in get_advanced_filter() 133 sb.append ((long long) rp->first); in get_advanced_filter() 158 if (last == (uint64_t) - 1 && last == first) in get_pattern() 173 sb.append ((long long) rp->first); in get_pattern() 174 if (rp->first != rp->last) in get_pattern() 221 val = first; // yes, set val to first, and see what follows in set_pattern() [all …]
|
| /netbsd-src/external/gpl2/xcvs/dist/src/ |
| H A D | log.c | 33 char *first; member 53 char *first; member 366 if (rp->first != NULL) in cvslog() 367 send_to_server (rp->first, 0); in cvslog() 372 if (rp->first != NULL) in cvslog() 373 send_to_server (rp->first, 0); in cvslog() 381 if (rp->first) in cvslog() 382 free (rp->first); in cvslog() 437 if (log_data.revlist->first) in cvslog() 438 free (log_data.revlist->first); in cvslog() [all …]
|
| /netbsd-src/usr.bin/make/ |
| H A D | lst.c | 56 for (ln = list->first; ln != NULL; ln = next) { in Lst_Done() 67 for (ln = list->first; ln != NULL; ln = next) { in Lst_DoneFree() 88 if (ln == list->first) in Lst_InsertBefore() 89 list->first = newNode; in Lst_InsertBefore() 100 ln = LstNodeNew(NULL, list->first, datum); in Lst_Prepend() 102 if (list->first == NULL) { in Lst_Prepend() 103 list->first = ln; in Lst_Prepend() 106 list->first->prev = ln; in Lst_Prepend() 107 list->first = ln; in Lst_Prepend() 122 list->first = ln; in Lst_Append() [all …]
|
| /netbsd-src/external/bsd/flex/dist/src/ |
| H A D | nfa.c | 313 int link_machines (int first, int last) in link_machines() argument 315 if (first == NIL) in link_machines() 319 return first; in link_machines() 322 mkxtion (finalst[first], last); in link_machines() 323 finalst[first] = finalst[last]; in link_machines() 324 lastst[first] = MAX (lastst[first], lastst[last]); in link_machines() 325 firstst[first] = MIN (firstst[first], firstst[last]); in link_machines() 327 return first; in link_machines() 380 int mkbranch (int first, int second) in mkbranch() argument 384 if (first == NO_TRANSITION) in mkbranch() [all …]
|
| /netbsd-src/external/bsd/libbind/dist/isc/ |
| H A D | ev_waits.c | 68 wl->first = new; in evWaitFor() 84 evWait *first; in evDo() local 91 first = wl->first; in evDo() 92 INSIST(first != NULL); in evDo() 95 ctx->waitDone.last->next = first; in evDo() 97 ctx->waitDone.first = first; in evDo() 118 for (prev = NULL, this = wl->first; in evUnwait() 126 wl->first = this->next; in evUnwait() 129 if (wl->first == NULL) in evUnwait() 137 for (prev = NULL, this = ctx->waitDone.first; in evUnwait() [all …]
|
| /netbsd-src/external/mpl/dhcp/dist/omapip/ |
| H A D | handle.c | 91 omapi_handle_table -> first = 0; in omapi_object_handle() 109 new -> first = 0; in omapi_object_handle() 151 if (table -> first > h || table -> limit <= h) in omapi_object_handle_in_table() 158 (&table -> children [h - table -> first].object, in omapi_object_handle_in_table() 169 scale = (table -> limit - table -> first) / OMAPI_HANDLE_TABLE_SIZE; in omapi_object_handle_in_table() 174 index = (h - table -> first) / scale; in omapi_object_handle_in_table() 184 inner -> first = index * scale + table -> first; in omapi_object_handle_in_table() 185 inner -> limit = inner -> first + scale; in omapi_object_handle_in_table() 214 scale = (inner -> first - inner -> limit) * OMAPI_HANDLE_TABLE_SIZE; in omapi_handle_table_enclose() 222 base = inner -> first - inner -> first % scale; in omapi_handle_table_enclose() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/ |
| H A D | stl_pair.h | 193 _T1 first; ///< The first member in _GLIBCXX_VISIBILITY() 211 swap(first, __p.first); in _GLIBCXX_VISIBILITY() 233 : first(), second() in _GLIBCXX_VISIBILITY() 274 : first(__x), second(__y) in _GLIBCXX_VISIBILITY() 283 : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) in _GLIBCXX_VISIBILITY() 292 : first(__p.first), second(__p.second) in _GLIBCXX_VISIBILITY() 301 : first(std::forward<_U1>(__p.first)), in _GLIBCXX_VISIBILITY() 336 first = __p.first; in _GLIBCXX_VISIBILITY() 347 first = std::forward<first_type>(__p.first); in _GLIBCXX_VISIBILITY() 359 first = __p.first; in _GLIBCXX_VISIBILITY() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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 ()()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/ |
| H A D | stl_pair.h | 217 _T1 first; ///< The first member in _GLIBCXX_VISIBILITY() 233 : first(), second() { } in _GLIBCXX_VISIBILITY() 246 : first(), second() { } in _GLIBCXX_VISIBILITY() 252 : first(__a), second(__b) { } in _GLIBCXX_VISIBILITY() 267 : first(__a), second(__b) { } in _GLIBCXX_VISIBILITY() 277 : first(__a), second(__b) { } in _GLIBCXX_VISIBILITY() 284 : first(__p.first), second(__p.second) { } in _GLIBCXX_VISIBILITY() 301 : first(__p.first), second(__p.second) { } in _GLIBCXX_VISIBILITY() 310 : first(__p.first), second(__p.second) { } in _GLIBCXX_VISIBILITY() 323 : first(std::forward<_U1>(__x)), second(__y) { } in _GLIBCXX_VISIBILITY() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/ |
| H A D | StringMatcher.cpp | 31 for (unsigned i = 0, e = Matches[0]->first.size(); i != e; ++i) { in FindFirstNonCommonLetter() 33 char Letter = Matches[0]->first[i]; in FindFirstNonCommonLetter() 36 if (Matches[str]->first[i] != Letter) in FindFirstNonCommonLetter() 40 return Matches[0]->first.size(); in FindFirstNonCommonLetter() 56 if (CharNo == Matches[0]->first.size()) { in EmitStringMatcherForChar() 64 OS << Indent << Split.first << "\t // \"" << Matches[0]->first << "\"\n"; in EmitStringMatcherForChar() 69 OS << Indent << Split.first << "\n"; in EmitStringMatcherForChar() 79 MatchesByLetter[Matches[i]->first[CharNo]].push_back(Matches[i]); in EmitStringMatcherForChar() 93 << Matches[0]->first[CharNo] << "')\n"; in EmitStringMatcherForChar() 99 << ", \"" << Matches[0]->first.substr(CharNo, NumChars) << "\", " in EmitStringMatcherForChar() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | bitmap.cc | 186 head->first = NULL; in bitmap_elt_clear_from() 220 if (head->first == 0) in bitmap_list_link_element() 223 head->first = element; in bitmap_list_link_element() 238 head->first = element; in bitmap_list_link_element() 284 if (head->first == element) in bitmap_list_unlink_element() 285 head->first = next; in bitmap_list_unlink_element() 324 node->next = head->first; in bitmap_list_insert_element_after() 327 head->first = node; in bitmap_list_insert_element_after() 356 if (head->current == head->first in bitmap_list_find_element() 357 && head->first->next == NULL) in bitmap_list_find_element() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | bitmap.c | 186 head->first = NULL; in bitmap_elt_clear_from() 220 if (head->first == 0) in bitmap_list_link_element() 223 head->first = element; in bitmap_list_link_element() 238 head->first = element; in bitmap_list_link_element() 284 if (head->first == element) 285 head->first = next; 324 node->next = head->first; 327 head->first = node; 356 if (head->current == head->first in bitmap_list_find_element() 357 && head->first->next == NULL) in bitmap_list_find_element() [all …]
|
| /netbsd-src/external/bsd/kyua-cli/dist/integration/ |
| H A D | cmd_config_test.sh | 68 test_suites.first["X-one"] = 1 69 test_suites.first["X-two"] = 2 73 test_suites.first.X-two = 2 77 test_suites.first.X-two 86 test_suites.first["X-one"] = 1 87 test_suites.first["X-three"] = 3 95 test_suites.first.X-two 104 test_suites.first["X-one"] = 1 105 test_suites.first["X-two"] = 2 109 test_suites.first.X-two = 2 [all …]
|