| /netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.cp/ |
| D | userdef.cc | 74 A1 A1::operator+(const A1& second) in operator +() argument 77 sum.x = x + second.x; in operator +() 78 sum.y = y + second.y; in operator +() 83 A1 A1::operator*(const A1& second) in operator *() argument 86 product.x = this->x * second.x; in operator *() 87 product.y = this->y * second.y; in operator *() 92 A1 A1::operator-(const A1& second) in operator -() argument 95 diff.x = x - second.x; in operator -() 96 diff.y = y - second.y; in operator -() 101 A1 A1::operator/(const A1& second) in operator /() argument [all …]
|
| /netbsd/src/usr.bin/make/unit-tests/ |
| D | escape.exp | 43 VAR1BSNL0=:first line no space on second line: 44 VAR1BSNLs=:first line one space on second line: 45 VAR1BSNLss=:first line two spaces on second line: 46 VAR1BSNLt=:first line one tab on second line: 47 VAR1BSNLtt=:first line two tabs on second line: 48 VAR1BSNLxx=:first line many spaces and tabs [ ] on second line: 57 second line spaces should be retained': 59 second line spaces should be retained: 61 second line tab should be elided': 63 second line tab should be elided: [all …]
|
| D | depsrc-use.mk | 17 first: .USE first-first first-second 23 first-second: .USE 24 @echo first-second 1 25 @echo first-second 2 27 second: .USE 28 @echo second 1 29 @echo second 2 39 action: first second empty
|
| /netbsd/src/external/bsd/ntp/dist/tests/libntp/ |
| 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); 41 void l_fp_swap(l_fp * first, l_fp *second); 42 bool l_isgt(const l_fp first, const l_fp second); 43 bool l_isgtu(const l_fp first, const l_fp second); 44 bool l_ishis(const l_fp first, const l_fp second); 45 bool l_isgeq(const l_fp first, const l_fp second); 46 bool l_isequ(const l_fp first, const l_fp second); [all …]
|
| D | clocktime.c | 60 const int yday=175, hour=12, minute=50, second=0, tzoff=0; in test_CurrentYear() local 65 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, in test_CurrentYear() 86 const int yday=175, hour=12, minute=0, second=0, tzoff=0; in test_CurrentYearFuzz() local 91 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, in test_CurrentYearFuzz() 110 const int yday=175, hour=4, minute=0, second=0, tzoff=8; in test_TimeZoneOffset() local 115 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, timestamp, in test_TimeZoneOffset() 131 const int yday=2, hour=11, minute=0, second=0, tzoff=0; in test_WrongYearStart() local 136 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, timestamp, in test_WrongYearStart() 152 const int yday=365, hour=23, minute=0, second=0, tzoff=0; in test_PreviousYear() local 157 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, timestamp, in test_PreviousYear() [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/ |
| D | stl_pair.h | 194 _T2 second; ///< The second member in _GLIBCXX_VISIBILITY() 212 swap(second, __p.second); 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() 302 second(std::forward<_U2>(__p.second)) in _GLIBCXX_VISIBILITY() 337 second = __p.second; in _GLIBCXX_VISIBILITY() 348 second = std::forward<second_type>(__p.second); in _GLIBCXX_VISIBILITY() 360 second = __p.second; in _GLIBCXX_VISIBILITY() [all …]
|
| D | regex.tcc | 88 __it.first = __it.second = __e; in __regex_algo_impl() 95 __pre.second = __s; in __regex_algo_impl() 98 __suf.second = __e; in __regex_algo_impl() 103 __pre.second = __res[0].first; in __regex_algo_impl() 104 __pre.matched = (__pre.first != __pre.second); in __regex_algo_impl() 105 __suf.first = __res[0].second; in __regex_algo_impl() 106 __suf.second = __e; in __regex_algo_impl() 107 __suf.matched = (__suf.first != __suf.second); in __regex_algo_impl() 314 && ((__it.second in lookup_classname() 317 return __it.second; in lookup_classname() [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/debug/ |
| D | safe_iterator.tcc | 54 if (__res.second == __dp_equality) in _M_get_distance_from_begin() 78 if (__res.second == __dp_equality) in _M_get_distance_to_end() 102 return __dist.second > __dp_sign in _M_can_advance() 114 return __dist.second == __dp_exact in _M_can_advance() 130 if (__base_dist.second == __dp_exact) in _M_get_distance_to() 139 return __seq_dist.second == __dp_exact in _M_get_distance_to() 153 __seq_dist.second == __dp_exact in _M_get_distance_to() 154 ? __dp_sign_max_size : __seq_dist.second); in _M_get_distance_to() 160 return __seq_dist.second == __dp_exact in _M_get_distance_to() 165 return std::make_pair(-__seq_dist.first, __seq_dist.second); in _M_get_distance_to() [all …]
|
| /netbsd/src/external/gpl3/binutils/dist/gold/ |
| D | icf.cc | 213 contents = secn.first->section_contents(secn.second, in preprocess_for_unique_sections() 226 if (uniq_map_insert.second) in preprocess_for_unique_sections() 233 (*is_secn_or_group_unique)[uniq_map_insert.first->second] = false; in preprocess_for_unique_sections() 316 contents = secn.first->section_contents(secn.second, &plen, false); in get_section_contents() 337 (it_reloc_info_list->second).section_info; in get_section_contents() 339 const Icf::Symbol_info &s = (it_reloc_info_list->second).symbol_info; in get_section_contents() 341 Icf::Addend_info &a = (it_reloc_info_list->second).addend_info; in get_section_contents() 343 const Icf::Offset_info &o = (it_reloc_info_list->second).offset_info; in get_section_contents() 345 (it_reloc_info_list->second).reloc_addend_size_info; in get_section_contents() 375 loc.shndx = it_v->second; in get_section_contents() [all …]
|
| D | cref.cc | 208 fprintf(f, "archive %s %zu %zu\n", p->second.name.c_str(), in print_symbol_counts() 209 p->second.member_count, p->second.objects->size()); in print_symbol_counts() 210 this->print_objects_symbol_counts(symtab, f, p->second.objects); in print_symbol_counts() 272 if (ins.second) in gather_cref() 273 pc->second = new Objects(); in gather_cref() 277 pc->second->insert(pc->second->begin(), *po); in gather_cref() 279 pc->second->push_back(*po); in gather_cref() 298 this->gather_cref(p->second.objects, &table); in print_cref() 306 const Objects* objects = pc->second; in print_cref()
|
| /netbsd/src/external/bsd/libevent/dist/sample/ |
| D | hostcheck.c | 124 static int Curl_raw_equal(const char *first, const char *second) in Curl_raw_equal() argument 126 while(*first && *second) { in Curl_raw_equal() 127 if(Curl_raw_toupper(*first) != Curl_raw_toupper(*second)) in Curl_raw_equal() 131 second++; in Curl_raw_equal() 136 return (Curl_raw_toupper(*first) == Curl_raw_toupper(*second)); in Curl_raw_equal() 139 static int Curl_raw_nequal(const char *first, const char *second, size_t max) in Curl_raw_nequal() argument 141 while(*first && *second && max) { in Curl_raw_nequal() 142 if(Curl_raw_toupper(*first) != Curl_raw_toupper(*second)) { in Curl_raw_nequal() 147 second++; in Curl_raw_nequal() 152 return Curl_raw_toupper(*first) == Curl_raw_toupper(*second); in Curl_raw_nequal()
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/ |
| D | mem-stats.h | 160 operator+ (const mem_usage &second) 162 return mem_usage (m_allocated + second.m_allocated, 163 m_times + second.m_times, 164 m_peak + second.m_peak, 165 m_instances + second.m_instances); 170 operator== (const mem_usage &second) const 172 return (m_allocated == second.m_allocated 173 && m_peak == second.m_peak 174 && m_times == second.m_times); 179 operator< (const mem_usage &second) const [all …]
|
| D | ordered-hash-map-tests.cc | 51 out_kvs->safe_push (std::make_pair ((*iter).first, (*iter).second)); in get_kv_pairs() 95 ASSERT_EQ (kvs[0].second, 2); in test_map_of_strings_to_int() 97 ASSERT_EQ (kvs[1].second, 4); in test_map_of_strings_to_int() 99 ASSERT_EQ (kvs[2].second, 6); in test_map_of_strings_to_int() 101 ASSERT_EQ (kvs[3].second, 8); in test_map_of_strings_to_int() 103 ASSERT_EQ (kvs[4].second, 750); in test_map_of_strings_to_int() 105 ASSERT_EQ (kvs[5].second, 3); in test_map_of_strings_to_int() 152 ASSERT_EQ (kvs[0].second, ostrich); in test_map_of_int_to_strings() 154 ASSERT_EQ (kvs[1].second, elephant); in test_map_of_int_to_strings() 156 ASSERT_EQ (kvs[2].second, ant); in test_map_of_int_to_strings() [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.dwarf2/ |
| D | missing-type-name-for-templates.cc | 18 template<typename first, typename second> 22 second me2; 25 template<typename first, typename second> 29 second me2; 32 template<int val1, typename first, int val2, typename second> 36 second me2; 39 template<typename, typename second>
|
| /netbsd/src/external/bsd/ntp/dist/ |
| D | README.leapsmear | 19 Whenever a leap second is to be handled ntpd either: 21 - passes the leap second announcement down to the OS kernel (if the OS 22 supports this) and the kernel handles the leap second automatically, or 24 - applies the leap second correction itself. 26 NTP servers also pass a leap second warning flag down to their clients via 28 approaching leap second, and can handle the leap second appropriately. 33 If a leap second is to be inserted then in most Unix-like systems the OS 34 kernel just steps the time back by 1 second at the beginning of the leap 35 second, so the last second of the UTC day is repeated and thus duplicate 39 system time is stepped back, e.g. due to a leap second insertion. Thus, [all …]
|
| /netbsd/src/external/bsd/iscsi/dist/doc/ |
| D | PERFORMANCE | 52 8192 bytes/request: 8388608 bytes written in 38 jiffies --> ~ 21 MB/second 53 16384 bytes/request: 8388608 bytes written in 38 jiffies --> ~ 21 MB/second 54 32768 bytes/request: 8388608 bytes written in 23 jiffies --> ~ 34 MB/second 55 65536 bytes/request: 8388608 bytes written in 16 jiffies --> ~ 50 MB/second 56 131072 bytes/request: 8388608 bytes written in 12 jiffies --> ~ 66 MB/second 57 262144 bytes/request: 8388608 bytes written in 10 jiffies --> ~ 79 MB/second 58 8192 bytes/request: 8388608 bytes read in 26 jiffies --> ~ 30 MB/second 59 16384 bytes/request: 8388608 bytes read in 20 jiffies --> ~ 39 MB/second 60 32768 bytes/request: 8388608 bytes read in 12 jiffies --> ~ 66 MB/second 61 65536 bytes/request: 8388608 bytes read in 12 jiffies --> ~ 66 MB/second [all …]
|
| /netbsd/src/external/bsd/elftosb/dist/common/ |
| D | OptionDictionary.cpp | 19 if (it->second.m_value) in ~OptionDictionary() 21 delete it->second.m_value; in ~OptionDictionary() 65 return it->second.m_value; in getOption() 91 if (it->second.m_isLocked) in setOption() 96 if (it->second.m_value) in setOption() 98 delete it->second.m_value; in setOption() 102 newValue.m_isLocked = it->second.m_isLocked; in setOption() 133 return it->second.m_isLocked; in isOptionLocked()
|
| D | EvalContext.cpp | 37 return it->second.m_value; in getVariableValue() 48 return it->second.m_size; in getVariableSize() 55 if (it != m_variables.end() && it->second.m_isLocked) in setVariable() 76 return it->second.m_isLocked; in isVariableLocked() 87 it->second.m_isLocked = true; in lockVariable() 98 it->second.m_isLocked = false; in unlockVariable() 106 variable_info_t & info = it->second; in dump()
|
| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/cc_hash_table_map_/ |
| D | cc_ht_map_.hpp | 432 return (p_e->m_value.second); in subscript_imp() 436 return insert_new_imp(value_type(r_key, mapped_type()), pos)->second; in subscript_imp() 448 r_key, pos_hash_pair.second)) in subscript_imp() 458 return p_e->m_value.second; in subscript_imp() 463 pos_hash_pair)->second; in subscript_imp() 504 p_e->m_hash = r_pos_hash_pair.second; in insert_new_imp() 548 r_key, pos_hash_pair.second)) in find_key_pointer() 598 for (++r_pos.second; r_pos.second < m_num_e; ++r_pos.second) in inc_it_state() 599 if (m_entries[r_pos.second] != 0) in inc_it_state() 601 r_pos.first = m_entries[r_pos.second]; in inc_it_state() [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/parallel/ |
| D | iterator.h | 69 ++_Base::second; 76 { return _IteratorPair(_Base::first++, _Base::second++); } 83 --_Base::second; 90 { return _IteratorPair(_Base::first--, _Base::second--); } 94 { return _Base::second; } in _Iterator2() 100 _Base::second = __other.second; 106 { return _IteratorPair(_Base::first + __delta, _Base::second + __delta);
|
| D | multiseq_selection.h | 74 return __p1.second < __p2.second; in operator() 99 return __p2.second < __p1.second; in operator() 151 __begin_seqs[__i].second); 154 __begin_seqs[__i].second) > 0); 160 __begin_offsets[__i] = __begin_seqs[__i].second; // Very end. 175 __ns[0] = std::distance(__begin_seqs[0].first, __begin_seqs[0].second); 180 __begin_seqs[__i].second); 219 __j < __localrank && ((__n + 1) <= __ns[__sample[__j].second]); 221 __a[__sample[__j].second] += __n + 1; 223 __b[__sample[__j].second] -= __n + 1; [all …]
|
| /netbsd/src/tests/usr.bin/xlint/lint1/ |
| D | c11_generic_expression.c | 73 comma_expression(char first, double second) in comma_expression() argument 76 return _Generic(first, second, in comma_expression() 89 assignment_expression(int first, int second) in assignment_expression() argument 91 return _Generic(first = second, in assignment_expression() 92 int: second = first in assignment_expression()
|
| /netbsd/src/external/bsd/atf/dist/tools/ |
| D | several_tcs_helper.c | 41 ATF_TC_WITH_CLEANUP(second); 42 ATF_TC_HEAD(second, tc) in ATF_TC_HEAD() argument 48 ATF_TC_BODY(second, tc) in ATF_TC_BODY() argument 51 ATF_TC_CLEANUP(second, tc) in ATF_TC_CLEANUP() argument 63 ATF_TP_ADD_TC(tp, second); in ATF_TP_ADD_TCS()
|
| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/ |
| D | insert_store_hash_fn_imps.hpp | 61 const size_type pos = ranged_probe_fn_base::operator()(r_key, pos_hash_pair.second, i); in find_ins_pos() 72 std::make_pair(pos, pos_hash_pair.second) : in find_ins_pos() 73 std::make_pair(ins_pos, pos_hash_pair.second)); in find_ins_pos() 82 r_key, pos_hash_pair.second)) in find_ins_pos() 86 return std::make_pair(pos, pos_hash_pair.second); in find_ins_pos() 97 return std::make_pair(ins_pos, pos_hash_pair.second); in find_ins_pos()
|
| /netbsd/src/external/bsd/kyua-cli/dist/integration/ |
| D | cmd_list_test.sh | 97 utils_cp_helper simple_all_pass second 115 utils_cp_helper simple_some_fail second 118 second:fail 119 second:pass 121 atf_check -s exit:0 -o file:expout -e empty kyua list second 155 utils_cp_helper simple_some_fail subdir/second 158 subdir/second:fail (in-subdir) 159 subdir/second:pass (in-subdir) 189 utils_cp_helper simple_all_pass second 208 utils_cp_helper simple_all_pass second [all …]
|