Searched defs:std (Results 1 - 25 of 73) sorted by relevance

123

/frameworks/base/tools/aapt2/compile/
H A DIdAssigner.h34 explicit IdAssigner(const std::unordered_map<ResourceName, ResourceId>* map) argument
40 const std::unordered_map<ResourceName, ResourceId>* assigned_id_map_ = nullptr;
/frameworks/av/media/libeffects/loudness/common/core/
H A Dmath.h22 using ::std::min;
23 using ::std::max;
24 using ::std::fill;
25 using ::std::fill_n;using ::std::lower_bound;
28 //using ::std::fpclassify;
74 namespace std { namespace
78 // since std::round is missing on android.
82 return static_cast<T>(std::floor(static_cast<double>(x) + 0.5));
85 } // namespace std
[all...]
/frameworks/base/cmds/statsd/src/config/
H A DConfigKey.h27 using std::hash;
28 using std::string;
76 * Unfortunately this has to go in std namespace because C++ is fun!
78 namespace std { namespace
84 std::size_t operator()(const ConfigKey& key) const {
89 } // namespace std
/frameworks/base/tools/aapt2/
H A DSdkConstants.cpp31 static const std::vector<std::pair<uint16_t, ApiVersion>> sAttrIdMap = {
59 static bool less_entry_id(const std::pair<uint16_t, ApiVersion>& p, uint16_t entryId) { argument
67 auto iter = std::lower_bound(sAttrIdMap.begin(), sAttrIdMap.end(), id.entry_id(), less_entry_id);
74 std::pair<StringPiece, ApiVersion> GetDevelopmentSdkCodeNameAndVersion() {
75 return std::make_pair(StringPiece(sDevelopmentSdkCodeName), sDevelopmentSdkLevel);
/frameworks/base/tools/aapt2/util/
H A DImmutableMap.h33 typename std::vector<std::pair<TKey, TValue>>::const_iterator;
39 std::initializer_list<std::pair<TKey, TValue>> list) {
41 std::vector<std::pair<TKey, TValue>>(list.begin(), list.end()));
45 std::initializer_list<std::pair<TKey, TValue>> list) {
46 std::vector<std
38 CreatePreSorted( std::initializer_list<std::pair<TKey, TValue>> list) argument
44 CreateAndSort( std::initializer_list<std::pair<TKey, TValue>> list) argument
[all...]
/frameworks/compile/mclinker/include/mcld/Support/
H A DRealPath.h49 namespace std { namespace
64 } // namespace std
H A DPath.h47 typedef std::string StringType;
109 inline std::basic_ostream<Char, Traits>& operator<<( argument
110 std::basic_ostream<Char, Traits>& pOS,
116 inline std::basic_istream<Char, Traits>& operator>>( argument
117 std::basic_istream<Char, Traits>& pOS,
156 namespace std { namespace
169 } // namespace std
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
H A Ddefault_initialization_allocator.h16 // uninitialized; this is desirable when using std::vector as a resizable
18 template <typename T, typename Allocator = std::allocator<T>>
20 typedef std::allocator_traits<Allocator> AllocatorTraits;
33 std::is_nothrow_default_constructible<U>::value) {
39 std::forward<Args>(args)...);
32 noexcept( std::is_nothrow_default_constructible<U>::value) argument
/frameworks/opt/net/wifi/libwifi_system_iface/
H A Dinterface_tool.cpp109 const std::array<uint8_t, ETH_ALEN>& new_address) {
108 SetMacAddress(const char* if_name, const std::array<uint8_t, ETH_ALEN>& new_address) argument
/frameworks/ml/nn/runtime/test/specs/V1_0/
H A Davg_pool_float_2.mod.py27 std = 5 variable
31 stride = Int32Scalar("stride", std)
35 output_row = (row + 2 * pad - flt + std) // std
36 output_col = (col + 2 * pad - flt + std) // std
H A Davg_pool_float_3.mod.py27 std = 2 variable
31 stride = Int32Scalar("stride", std)
35 output_row = (row + 2 * pad - flt + std) // std
36 output_col = (col + 2 * pad - flt + std) // std
H A Davg_pool_float_4.mod.py27 std = 5 variable
31 stride = Int32Scalar("stride", std)
35 output_row = (row + 2 * pad - flt + std) // std
36 output_col = (col + 2 * pad - flt + std) // std
H A Davg_pool_quant8_2.mod.py27 std = 5 variable
31 stride = Int32Scalar("stride", std)
35 output_row = (row + 2 * pad - flt + std) // std
36 output_col = (col + 2 * pad - flt + std) // std
H A Davg_pool_quant8_3.mod.py27 std = 4 variable
31 stride = Int32Scalar("stride", std)
35 output_row = (row + 2 * pad - flt + std) // std
36 output_col = (col + 2 * pad - flt + std) // std
H A Dmax_pool_float_2.mod.py27 std = 20 variable
31 stride = Int32Scalar("stride", std)
35 output_row = (row + 2 * pad - flt + std) // std
36 output_col = (col + 2 * pad - flt + std) // std
46 input_values = (lambda s = std, r = input_range: [x % s + 1 for x in range(r)])()
49 output_values = (lambda s = std, r = output_range: [ s for _ in range(r)])()
H A Dmax_pool_float_3.mod.py27 std = 20 variable
31 stride = Int32Scalar("stride", std)
35 output_row = (row + 2 * pad - flt + std) // std
36 output_col = (col + 2 * pad - flt + std) // std
46 input_values = (lambda s = std, r = input_range: [x % s + 1 for x in range(r)])()
H A Dmax_pool_quant8_2.mod.py27 std = 20 variable
31 stride = Int32Scalar("stride", std)
35 output_row = (row + 2 * pad - flt + std) // std
36 output_col = (col + 2 * pad - flt + std) // std
46 input_values = (lambda s = std, r = input_range: [x % s + 1 for x in range(r)])()
49 output_values = (lambda s = std, r = output_range: [ s for _ in range(r)])()
H A Dmax_pool_quant8_3.mod.py27 std = 20 variable
31 stride = Int32Scalar("stride", std)
35 output_row = (row + 2 * pad - flt + std) // std
36 output_col = (col + 2 * pad - flt + std) // std
46 input_values = (lambda s = std, r = input_range: [x % s + 1 for x in range(r)])()
/frameworks/ml/nn/runtime/test/specs/V1_1/
H A Davg_pool_float_2_relaxed.mod.py27 std = 5 variable
31 stride = Int32Scalar("stride", std)
35 output_row = (row + 2 * pad - flt + std) // std
36 output_col = (col + 2 * pad - flt + std) // std
H A Davg_pool_float_3_relaxed.mod.py27 std = 2 variable
31 stride = Int32Scalar("stride", std)
35 output_row = (row + 2 * pad - flt + std) // std
36 output_col = (col + 2 * pad - flt + std) // std
H A Davg_pool_float_4_relaxed.mod.py27 std = 5 variable
31 stride = Int32Scalar("stride", std)
35 output_row = (row + 2 * pad - flt + std) // std
36 output_col = (col + 2 * pad - flt + std) // std
H A Dmax_pool_float_2_relaxed.mod.py27 std = 20 variable
31 stride = Int32Scalar("stride", std)
35 output_row = (row + 2 * pad - flt + std) // std
36 output_col = (col + 2 * pad - flt + std) // std
47 input_values = (lambda s = std, r = input_range: [x % s + 1 for x in range(r)])()
50 output_values = (lambda s = std, r = output_range: [ s for _ in range(r)])()
/frameworks/av/media/libnblog/
H A DReportPerformance.cpp46 void writeToFile(const std::deque<std::pair<timestamp, Histogram>> &hists, argument
47 const std::deque<std::pair<msInterval, timestamp>> &outlierData,
48 const std::deque<timestamp> &peakTimestamps,
58 std::stringstream outlierName;
59 std::stringstream histogramName;
60 std::stringstream peakName;
71 std::stringstream common;
78 std
[all...]
/frameworks/base/cmds/incidentd/src/
H A Dreport_directory.cpp93 static bool stat_mtime_cmp(const std::pair<String8, struct stat>& a, argument
94 const std::pair<String8, struct stat>& b) {
103 std::vector<std::pair<String8, struct stat>> files;
129 files.push_back(std::pair<String8, struct stat>(filename, st));
146 for (std::vector<std::pair<String8, struct stat>>::iterator it = files.begin();
/frameworks/ml/nn/runtime/
H A DCallbacks.h63 * is only required in the same process, consider using std::future, std::mutex,
64 * std::condition_variable, or std::experimental::latch instead.
82 * @return Status std::cv_status::no_timeout if the callback was notified
83 * before the time duration expired, std::cv_status::timeout
87 std::cv_status wait_for(const std::chrono::duration<Rep,Period>& timeout_duration);
93 * return std::cv_status::timeout before CallbackBase::notify is called for
113 bool on_finish(std
316 wait_for(const std::chrono::duration<Rep,Period>& timeout_duration) argument
[all...]

Completed in 384 milliseconds

123