/third_party/boost/boost/exception/detail/ |
D | error_info_impl.hpp | 51 error_info: class 57 return new error_info<Tag,T>(*this); in clone() 61 error_info( value_type const & v ): in error_info() function in boost::error_info 67 error_info( error_info const & x ): in error_info() function in boost::error_info 71 error_info( T && v ) BOOST_NOEXCEPT_IF(boost::is_nothrow_move_constructible<T>::value): in BOOST_NOEXCEPT_IF() 75 … error_info( error_info && x ) BOOST_NOEXCEPT_IF(boost::is_nothrow_move_constructible<T>::value): in BOOST_NOEXCEPT_IF() 81 ~error_info() BOOST_NOEXCEPT_OR_NOTHROW in ~error_info() 95 error_info & operator=( error_info const & ); 97 error_info & operator=( error_info && x );
|
/third_party/boost/boost/exception/ |
D | info_tuple.hpp | 46 error_info<Tag1,T1> > const & v ) in operator <<() 60 error_info<Tag1,T1>, in operator <<() 61 error_info<Tag2,T2> > const & v ) in operator <<() 76 error_info<Tag1,T1>, in operator <<() 77 error_info<Tag2,T2>, in operator <<() 78 error_info<Tag3,T3> > const & v ) in operator <<() 94 error_info<Tag1,T1>, in operator <<() 95 error_info<Tag2,T2>, in operator <<() 96 error_info<Tag3,T3>, in operator <<() 97 error_info<Tag4,T4> > const & v ) in operator <<()
|
D | info.hpp | 34 error_info_name( error_info<Tag,T> const & x ) in error_info_name() 42 to_string( error_info<Tag,T> const & x ) in to_string() 50 error_info<Tag,T>:: 162 set_info( E const & x, error_info<Tag,T> const & v ) in set_info() 164 typedef error_info<Tag,T> error_info_tag_t; in set_info() 175 E const & set_info( E const &, error_info<Tag,T> && ); 180 set_info_rv<error_info<Tag,T> > 183 friend E const & set_info( E const &, error_info<Tag1,T1> && ); 187 set( E const & x, error_info<Tag,T> && v ) in set() 189 typedef error_info<Tag,T> error_info_tag_t; in set() [all …]
|
D | exception.hpp | 104 class error_info; 106 typedef error_info<struct throw_function_,char const *> throw_function; 107 typedef error_info<struct throw_file_,char const *> throw_file; 108 typedef error_info<struct throw_line_,int> throw_line; 112 error_info<throw_function_,char const *> class 118 error_info( value_type v ): in error_info() function in boost::error_info 126 error_info<throw_file_,char const *> class 132 error_info( value_type v ): in error_info() function in boost::error_info 140 error_info<throw_line_,int> class 146 error_info( value_type v ): in error_info() function in boost::error_info [all …]
|
/third_party/mindspore/tests/ut/python/dataset/ |
D | test_compose.py | 64 with pytest.raises(TypeError) as error_info: 66 …t[0] is neither a c_transform op (TensorOperation) nor a callable pyfunc." in str(error_info.value) 69 with pytest.raises(ValueError) as error_info: 71 assert "op_list can not be empty." in str(error_info.value) 90 with pytest.raises(ValueError) as error_info: 92 assert "transforms[0] is not callable." in str(error_info.value) 95 with pytest.raises(ValueError) as error_info: 97 assert "transforms list is empty." in str(error_info.value) 100 with pytest.raises(TypeError) as error_info: 103 error_info.value) [all …]
|
D | test_random_solarize_op.py | 107 with pytest.raises(ValueError) as error_info: 109 assert "threshold must be in min max format numbers" in str(error_info.value) 111 with pytest.raises(ValueError) as error_info: 113 assert "Input is not within the required interval of [0, 255]." in str(error_info.value) 115 with pytest.raises(TypeError) as error_info: 117 …rt "Argument threshold[0] with value 122.1 is not of type [<class 'int'>]" in str(error_info.value) 119 with pytest.raises(ValueError) as error_info: 121 assert "threshold must be a sequence of two numbers" in str(error_info.value) 123 with pytest.raises(ValueError) as error_info: 125 assert "threshold must be a sequence of two numbers" in str(error_info.value)
|
D | test_concatenate_op.py | 108 with pytest.raises(RuntimeError) as error_info: 111 assert "input datatype does not match" in str(error_info.value) 123 with pytest.raises(RuntimeError) as error_info: 126 assert "input datatype does not match" in str(error_info.value) 138 with pytest.raises(RuntimeError) as error_info: 141 assert "only 1D input supported" in str(error_info.value) 145 with pytest.raises(ValueError) as error_info: 147 assert "only 1D concatenation supported." in str(error_info.value) 168 with pytest.raises(ValueError) as error_info: 170 assert "can only prepend 1D arrays." in str(error_info.value)
|
D | test_random_color.py | 218 with pytest.raises(TypeError) as error_info: 220 assert "degrees must be either a tuple or a list." in str(error_info.value) 222 with pytest.raises(TypeError) as error_info: 225 error_info.value) 227 with pytest.raises(ValueError) as error_info: 229 assert "degrees should be in (min,max) format. Got (max,min)." in str(error_info.value) 231 with pytest.raises(ValueError) as error_info: 233 assert "degrees must be a sequence with length 2." in str(error_info.value) 239 with pytest.raises(RuntimeError) as error_info: 242 assert "image shape is not <H,W,C> or channel is not 3" in str(error_info.value)
|
D | test_minddataset_exception.py | 203 with pytest.raises(Exception) as error_info: 211 error_info.value) 225 with pytest.raises(Exception) as error_info: 233 error_info.value) 247 with pytest.raises(Exception) as error_info: 255 error_info.value) 261 with pytest.raises(Exception) as error_info: 269 error_info.value) 294 with pytest.raises(ValueError) as error_info: 298 error_info.value)
|
D | test_datasets_textfileop.py | 196 with pytest.raises(ValueError) as error_info: 198 assert "num_samples exceeds the boundary" in str(error_info.value) 200 with pytest.raises(ValueError) as error_info: 202 assert "The following patterns did not match any files" in str(error_info.value) 204 with pytest.raises(ValueError) as error_info: 206 assert "The following patterns did not match any files" in str(error_info.value) 210 with pytest.raises(RuntimeError) as error_info: 215 assert "map operation: [PyFunc] failed. The corresponding data files" in str(error_info.value)
|
/third_party/glib/gio/ |
D | gsocketclient.c | 1060 SocketClientErrorInfo *error_info; in g_socket_client_connect() local 1063 error_info = socket_client_error_info_new (); in g_socket_client_connect() 1088 g_clear_error (&error_info->best_error); in g_socket_client_connect() 1089 g_cancellable_set_error_if_cancelled (cancellable, &error_info->best_error); in g_socket_client_connect() 1099 &error_info->tmp_error); in g_socket_client_connect() 1100 consider_tmp_error (error_info, G_SOCKET_CLIENT_RESOLVING); in g_socket_client_connect() 1111 g_assert (&error_info->best_error != NULL); in g_socket_client_connect() 1118 socket = create_socket (client, address, &error_info->tmp_error); in g_socket_client_connect() 1119 consider_tmp_error (error_info, G_SOCKET_CLIENT_CONNECTING); in g_socket_client_connect() 1131 address, cancellable, &error_info->tmp_error)) in g_socket_client_connect() [all …]
|
/third_party/re2/re2/ |
D | set.cc | 110 ErrorInfo* error_info) const { in Match() 113 if (error_info != NULL) in Match() 114 error_info->kind = kNotCompiled; in Match() 130 if (error_info != NULL) in Match() 131 error_info->kind = kOutOfMemory; in Match() 135 if (error_info != NULL) in Match() 136 error_info->kind = kNoError; in Match() 142 if (error_info != NULL) in Match() 143 error_info->kind = kInconsistent; in Match() 148 if (error_info != NULL) in Match() [all …]
|
/third_party/boost/boost/log/support/ |
D | exception.hpp | 37 typedef error_info< struct attribute_name_info_tag, attribute_name > attribute_name_info; 42 typedef error_info< struct type_info_info_tag, typeindex::type_index > type_info_info; 47 typedef error_info< struct position_info_tag, unsigned int > position_info; 52 typedef error_info< struct current_scope_info_tag, attributes::named_scope_list > current_scope_inf… 74 typedef error_info< struct object_name_tag, object_name > object_name_info;
|
/third_party/boost/boost/interprocess/sync/ |
D | file_lock.hpp | 158 error_info err(system_error_code()); in file_lock() 174 error_info err(system_error_code()); in lock() 183 error_info err(system_error_code()); in try_lock() 195 error_info err(system_error_code()); in unlock() 203 error_info err(system_error_code()); in lock_sharable() 212 error_info err(system_error_code()); in try_lock_sharable() 227 error_info err(system_error_code()); in unlock_sharable()
|
/third_party/boost/boost/interprocess/sync/posix/ |
D | semaphore_wrapper.hpp | 102 error_info err(other_error); in semaphore_open() 109 throw interprocess_exception(error_info(errno)); in semaphore_open() 150 error_info err = system_error_code(); in semaphore_init() 169 error_info err = system_error_code(); in semaphore_post() 178 error_info err = system_error_code(); in semaphore_wait() 191 error_info err = system_error_code(); in semaphore_try_wait() 236 error_info err = system_error_code(); in semaphore_timed_wait()
|
/third_party/mindspore/mindspore/ccsrc/runtime/framework/actor/ |
D | abstract_actor.cc | 51 std::string error_info = "Erase input data failed: " + GetAID().Name(); in EraseInput() local 53 MS_LOG(ERROR) << error_info << ", sequential_num: " << context->sequential_num_; in EraseInput() 61 std::string error_info = "Erase input controls failed: " + GetAID().Name(); in EraseInput() local 63 MS_LOG(ERROR) << error_info << ", sequential_num: " << context->sequential_num_; in EraseInput()
|
D | copy_actor.cc | 93 std::string error_info = "Copy device tensor failed: " + GetAID().Name(); in OnMemoryAllocFinish() local 94 SET_OPCONTEXT_FAIL_RET_WITH_ERROR((*context), error_info); in OnMemoryAllocFinish() 121 std::string error_info = in FetchDeviceTensor() local 124 SET_OPCONTEXT_FAIL_RET_WITH_ERROR((*context), error_info); in FetchDeviceTensor() 130 std::string error_info = in FetchDeviceTensor() local 133 SET_OPCONTEXT_FAIL_RET_WITH_ERROR((*context), error_info); in FetchDeviceTensor()
|
D | gather_actor.cc | 157 std::string error_info = in FetchInputDeviceTensor() local 160 SET_OPCONTEXT_FAIL_RET_WITH_ERROR((*context), error_info); in FetchInputDeviceTensor() 226 std::string error_info = "Erase input data failed: " + GetAID().Name(); in EraseInput() local 227 SET_OPCONTEXT_FAIL_RET_WITH_ERROR((*context), error_info); in EraseInput() 235 std::string error_info = "Erase input controls failed: " + GetAID().Name(); in EraseInput() local 236 SET_OPCONTEXT_FAIL_RET_WITH_ERROR((*context), error_info); in EraseInput() 244 std::string error_info = "Erase input branch id failed: " + GetAID().Name(); in EraseInput() local 245 SET_OPCONTEXT_FAIL_RET_WITH_ERROR((*context), error_info); in EraseInput()
|
/third_party/boost/boost/interprocess/ |
D | shared_memory_object.hpp | 193 error_info err = other_error; in priv_open_or_create() 209 error_info err = other_error; in priv_open_or_create() 216 error_info err = system_error_code(); in priv_open_or_create() 241 error_info err = system_error_code(); in truncate() 306 error_info err(mode_error); in priv_open_or_create() 354 error_info err = other_error; in priv_open_or_create() 361 error_info err = errno; in priv_open_or_create() 398 error_info err(system_error_code()); in truncate()
|
D | errors.hpp | 204 struct error_info struct 206 error_info(error_code_t ec = other_error ) in error_info() argument 210 error_info(native_error_t sys_err_code) in error_info() function 214 error_info & operator =(error_code_t ec) in operator =() argument 221 error_info & operator =(native_error_t sys_err_code) in operator =() argument
|
D | mapped_region.hpp | 353 error_info err(size_error); in priv_size_from_mapping_size() 429 error_info err(mode_error); in mapped_region() 449 error_info err = winapi::get_last_error(); in mapped_region() 469 error_info err = winapi::get_last_error(); in mapped_region() 485 error_info err = winapi::get_last_error(); in mapped_region() 499 error_info err = winapi::get_last_error(); in mapped_region() 603 error_info err(system_error_code()); in mapped_region() 611 error_info err(size_error); in mapped_region() 620 error_info err(mode_error); in mapped_region() 629 error_info err(system_error_code()); in mapped_region() [all …]
|
/third_party/node/test/js-native-api/ |
D | common.h | 8 const napi_extended_error_info *error_info; \ 9 napi_get_last_error_info((env), &error_info); \ 14 const char* error_message = error_info->error_message != NULL ? \ 15 error_info->error_message : \
|
/third_party/boost/libs/exception/example/ |
D | enable_error_info.cpp | 13 typedef boost::error_info<struct tag_std_range_min,size_t> std_range_min; 14 typedef boost::error_info<struct tag_std_range_max,size_t> std_range_max; 15 typedef boost::error_info<struct tag_std_range_index,size_t> std_range_index;
|
/third_party/boost/libs/exception/test/ |
D | error_info_test.hpp | 39 typedef boost::error_info<struct tag_test_1,int> test_1; 40 typedef boost::error_info<struct tag_test_2,unsigned int> test_2; 41 typedef boost::error_info<struct tag_test_3,float> test_3; 42 typedef boost::error_info<struct tag_test_4,throws_on_copy> test_4; 43 typedef boost::error_info<struct tag_test_5,std::string> test_5; 44 typedef boost::error_info<struct tag_test_6,non_printable> test_6; 45 typedef boost::error_info<struct tag_user_data,user_data> test_7;
|
/third_party/boost/boost/interprocess/detail/ |
D | shared_dir_helpers.hpp | 46 error_info err = system_error_code(); in windows_bootstamp() 115 error_info err = system_error_code(); in get_shared_dir_root() 165 error_info info(system_error_code()); in create_shared_dir_and_clean_old() 176 error_info info(system_error_code()); in create_shared_dir_and_clean_old()
|