/foundation/distributeddatamgr/kv_store/test/unittest/distributedKVStore/ |
H A D | KvManagerKVPromiseJsTest.js | 69 console.error('afterEach deleteKVStore err ' + `, error code is ${err.code}, message is ${err.message}`); 72 console.error('afterEach closeKVStore err ' + `, error code is ${err.code}, message is ${err.message}`); 91 console.error('KVManagerGetKVStorePromiseSucTest getKVStore err ' + `, error code is ${err.code}, message is ${err.message}`); 95 console.error('KVManagerGetKVStorePromiseSucTest getKVStore e ' + `, error code is ${e.code}, message is ${e.message}`); 103 * @tc.desc Test Js Api KVManager.GetKVStore() with parameter error 114 console.error('KVManagerGetKVStorePromiseParaError1Tes [all...] |
/third_party/skia/third_party/externals/freetype/src/autofit/ |
H A D | afmodule.c | 77 FT_Error error = FT_Err_Ok; in af_property_get_face_globals() local 89 error = af_face_globals_new( face, &globals, module ); in af_property_get_face_globals() 90 if ( !error ) in af_property_get_face_globals() 99 if ( !error ) in af_property_get_face_globals() 102 return error; in af_property_get_face_globals() 112 FT_Error error = FT_Err_Ok; in af_property_set() local 156 return error; in af_property_set() 172 return error; in af_property_set() 187 error = af_property_get_face_globals( prop->face, &globals, module ); in af_property_set() 188 if ( !error ) in af_property_set() 292 FT_Error error = FT_Err_Ok; af_property_get() local 441 FT_Error error = FT_Err_Ok; FT_CALLBACK_DEF() local [all...] |
/third_party/skia/third_party/externals/freetype/src/truetype/ |
H A D | ttpload.c | 60 * FreeType error code. 0 means success. 66 FT_Error error; in FT_LOCAL_DEF() local 72 error = face->goto_table( face, TTAG_glyf, stream, &face->glyf_len ); in FT_LOCAL_DEF() 76 if ( FT_ERR_EQ( error, Table_Missing ) ) in FT_LOCAL_DEF() 81 else if ( error ) in FT_LOCAL_DEF() 94 error = face->goto_table( face, TTAG_loca, stream, &table_len ); in FT_LOCAL_DEF() 95 if ( error ) in FT_LOCAL_DEF() 97 error = FT_THROW( Locations_Missing ); in FT_LOCAL_DEF() 178 return error; in FT_LOCAL_DEF() 308 * FreeType error cod 316 FT_Error error; FT_LOCAL_DEF() local 399 FT_Error error; FT_LOCAL_DEF() local 463 FT_Error error; FT_LOCAL_DEF() local 524 FT_Error error; FT_LOCAL_DEF() local [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/ |
H A D | reflection_test.cc | 180 std::string error; in TEST_F() local 182 absl::FindCommandLineFlag("test_flag_01")->ParseFrom("false", &error)) in TEST_F() 183 << error; in TEST_F() 185 absl::FindCommandLineFlag("test_flag_02")->ParseFrom("-4536", &error)) in TEST_F() 186 << error; in TEST_F() 188 absl::FindCommandLineFlag("test_flag_03")->ParseFrom("111", &error)) in TEST_F() 189 << error; in TEST_F() 191 absl::FindCommandLineFlag("test_flag_04")->ParseFrom("909", &error)) in TEST_F() 192 << error; in TEST_F() 194 absl::FindCommandLineFlag("test_flag_05")->ParseFrom("-2004", &error)) in TEST_F() [all...] |
/third_party/NuttX/fs/nfs/ |
H A D | nfs_adapter.c | 104 error = ENOMEM; \ 197 int error; in nfs_fileupdate() local 204 error = nfs_lookup(nmp, filename, &fhandle, &fattr, NULL); in nfs_fileupdate() 206 if (error != OK) in nfs_fileupdate() 208 nfs_debug_error("nfs_lookup failed returned: %d\n", error); in nfs_fileupdate() 209 return error; in nfs_fileupdate() 214 error = memcpy_s(&(np->n_fhandle), NFSX_V3FHMAX, &(fhandle.handle), fhandle.length); in nfs_fileupdate() 215 if (error != EOK) in nfs_fileupdate() 498 int error = 0; in nfs_bind() local 563 error in nfs_bind() 982 int error = 0; vfs_nfs_readdir() local 1313 int error; vfs_nfs_rename() local 1417 int error; vfs_nfs_mkdir() local 1566 int error; vfs_nfs_write() local 1785 int error; vfs_nfs_writepage() local 1982 int error; vfs_nfs_seek() local 2056 int error = 0; vfs_nfs_readpage() local 2206 int error = 0; vfs_nfs_read() local 2348 int error; vfs_nfs_create() local 2543 int error; vfs_nfs_unlink() local 2607 int error; vfs_nfs_rmdir() local 2771 int error = 0; nfs_fsinfo() local 2853 int error = 0; vfs_nfs_statfs() local 2953 int error; vfs_nfs_truncate() local 3013 int error; vfs_nfs_unmount() local [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | ParseContext.cpp | 63 // Get a token from an image argument to use as an error message token. 268 error(line, "illegal vector field selection", compString); in parseVectorFields() 334 error(line, "illegal vector field selection", compString); in parseVectorFields() 343 error(line, "vector field selection out of range", compString); in parseVectorFields() 351 error(line, "illegal - vector component fields not from the same set", compString); in parseVectorFields() 369 void TParseContext::error(const TSourceLoc &loc, const char *reason, const char *token) in error() function in sh::TParseContext 371 mDiagnostics->error(loc, reason, token); in error() 374 void TParseContext::error(const TSourceLoc &loc, const char *reason, const ImmutableString &token) in error() function in sh::TParseContext 376 mDiagnostics->error(loc, reason, token.data()); in error() 391 error(lo in outOfRangeError() 7103 int error = glslang_scan(count, string, length, context); PaParseStrings() local [all...] |
H A D | ValidateLimitations.cpp | 81 void error(TSourceLoc loc, const char *reason, const char *token); 82 void error(TSourceLoc loc, const char *reason, const ImmutableString &token); 118 error(node->getLine(), in visitSymbol() 159 void ValidateLimitationsTraverser::error(TSourceLoc loc, const char *reason, const char *token) in error() function in sh::__anon19799::ValidateLimitationsTraverser 161 mDiagnostics->error(loc, reason, token); in error() 164 void ValidateLimitationsTraverser::error(TSourceLoc loc, in error() function in sh::__anon19799::ValidateLimitationsTraverser 168 error(loc, reason, token.data()); in error() 184 error(node->getLine(), "This type of loop is not allowed", type == ELoopWhile ? "while" : "do"); in validateLoopType() 212 error(node->getLine(), "Missing init declaration", "for"); in validateForLoopInit() 223 error(ini in validateForLoopInit() [all...] |
/third_party/elfutils/src/ |
H A D | elfcompress.c | 211 error (0, 0, "Couldn't decompress section [%zd] %s: %s", in compress_section() 234 error (0, 0, "Couldn't get shdr for section [%zd]", ndx); in compress_section() 306 error (0, errno, "Couldn't open %s\n", fname); in process_file() 313 error (0, 0, "Couldn't open ELF file %s for reading: %s", in process_file() 323 error (0, 0, "Cannot handle ar files: %s", fname); in process_file() 325 error (0, 0, "Unknown file type: %s", fname); in process_file() 332 error (0, errno, "Couldn't fstat %s", fname); in process_file() 339 error (0, 0, "Couldn't get ehdr for %s: %s", fname, elf_errmsg (-1)); in process_file() 347 error (0, 0, "Couldn't get section header string table index in %s: %s", in process_file() 355 error ( in process_file() [all...] |
/third_party/backends/backend/pixma/ |
H A D | pixma_imageclass.c | 213 int error; in query_status() local 216 error = pixma_exec (s, &mf->cb); in query_status() 217 if (error >= 0) in query_status() 225 return error; in query_status() 327 int error; in request_image_block() local 348 error = 0; in request_image_block() 364 error = PIXMA_EPROTO; in request_image_block() 366 return error; in request_image_block() 373 int error; in read_image_block() local 389 error in read_image_block() 405 int error; read_error_info() local 463 int error; step1() local 640 int error, n; iclass_scan() local 707 int error, n; iclass_fill_buffer() local 832 int error; iclass_finish_scan() local 899 int error; iclass_get_status() local [all...] |
/third_party/json/tools/cpplint/ |
H A D | cpplint.py | 132 error messages whose category names pass the filters will be printed. 286 # We categorize each error message we print. Here are the categories. 288 # If you add a new error message with a new category, add it to the list 369 # These error categories are no longer enforced by cpplint, but for backwards- 633 'error.h', 852 # {str, set(int)}: a map from error categories to sets of linenumbers 911 # {str, bool}: a map from error categories to booleans which indicate if the 960 def ParseNolintSuppressions(filename, raw_line, linenum, error): 961 """Updates the global list of line error-suppressions. 964 error_suppressions store. Reports an error i [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/app_control/ |
H A D | js_app_control_unsupported.cpp | 30 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in GetDisposedStatus() local 32 napi_throw(env, error); in GetDisposedStatus() 39 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in SetDisposedStatus() local 41 napi_throw(env, error); in SetDisposedStatus() 48 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in DeleteDisposedStatus() local 50 napi_throw(env, error); in DeleteDisposedStatus() 57 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in GetDisposedStatusSync() local 59 napi_throw(env, error); in GetDisposedStatusSync() 66 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in SetDisposedStatusSync() local 68 napi_throw(env, error); in SetDisposedStatusSync() 75 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, DeleteDisposedStatusSync() local 84 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, GetDisposedRule() local 93 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, SetDisposedRule() local [all...] |
/foundation/resourceschedule/qos_manager/frameworks/concurrent_task_client/src/ |
H A D | concurrent_task_service_proxy.cpp | 24 int32_t error; in ReportData() local 37 error = Remote()->SendRequest(code, data, reply, option); in ReportData() 38 if (error != NO_ERROR) { in ReportData() 39 CONCUR_LOGE("Send request error: %{public}d", error); in ReportData() 47 int32_t error; in QueryInterval() local 62 error = Remote()->SendRequest(code, data, reply, option); in QueryInterval() 63 if (error != NO_ERROR) { in QueryInterval() 64 CONCUR_LOGE("QueryInterval error: %{public}d", error); in QueryInterval() 84 int32_t error; QueryDeadline() local 108 int32_t error; RequestAuth() local [all...] |
/third_party/eudev/src/shared/ |
H A D | log.h | 58 int error, 66 int error, 93 #define log_full_errno(level, error, ...) \ 95 int _l = (level), _e = (error); \ 111 /* Logging triggered by an errno-like error */ 112 #define log_debug_errno(error, ...) log_full_errno(LOG_DEBUG, error, __VA_ARGS__) 113 #define log_info_errno(error, ...) log_full_errno(LOG_INFO, error, __VA_ARGS__) 114 #define log_notice_errno(error, [all...] |
/foundation/communication/wifi/wifi/frameworks/native/src/ |
H A D | wifi_device_proxy.cpp | 88 WIFI_LOGE("Write interface token error: %{public}s", __func__); in EnableWifi() 92 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_ENABLE_WIFI), data, reply, in EnableWifi() local 94 if (error != ERR_NONE) { in EnableWifi() 95 WIFI_LOGE("Set Attr(%{public}d) failed,error code is %{public}d", in EnableWifi() 96 static_cast<int32_t>(DevInterfaceCode::WIFI_SVR_CMD_ENABLE_WIFI), error); in EnableWifi() 117 WIFI_LOGE("Write interface token error: %{public}s", __func__); in DisableWifi() 121 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_DISABLE_WIFI), data, reply, in DisableWifi() local 123 if (error != ERR_NONE) { in DisableWifi() 124 WIFI_LOGE("Set Attr(%{public}d) failed,error code is %{public}d", in DisableWifi() 125 static_cast<int32_t>(DevInterfaceCode::WIFI_SVR_CMD_DISABLE_WIFI), error); in DisableWifi() 151 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_INIT_WIFI_PROTECT), data, InitWifiProtect() local 186 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_GET_WIFI_PROTECT), data, GetWifiProtectRef() local 220 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_PUT_WIFI_PROTECT), data, PutWifiProtectRef() local 255 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_IS_HELD_WIFI_PROTECT), data, IsHeldWifiProtectRef() local 373 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_REMOVE_CANDIDATE_CONFIG), RemoveCandidateConfig() local 409 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_REMOVE_CANDIDATE_CONFIG), RemoveCandidateConfig() local 440 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_ADD_DEVICE_CONFIG), AddDeviceConfig() local 476 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_UPDATE_DEVICE_CONFIG), data, UpdateDeviceConfig() local 510 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_REMOVE_DEVICE_CONFIG), RemoveDevice() local 538 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_REMOVE_ALL_DEVICE_CONFIG), RemoveAllDevice() local 689 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_GET_DEVICE_CONFIGS), GetDeviceConfigs() local 724 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_SET_TX_POWER), data, reply, SetTxPower() local 754 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_ENABLE_DEVICE), data, reply, EnableDeviceConfig() local 783 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_DISABLE_DEVICE), data, reply, DisableDeviceConfig() local 814 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_CONNECT_TO), data, reply, ConnectToNetwork() local 843 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_CONNECT2_TO), data, reply, ConnectToDevice() local 874 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_START_ROAM_TO_NETWORK), data, StartRoamToNetwork() local 912 int error = Remote()->SendRequest(static_cast<uint32_t>( StartConnectToUserSelectNetwork() local 946 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_IS_WIFI_CONNECTED), data, IsConnected() local 979 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_RECONNECT), data, reply, ReConnect() local 1007 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_REASSOCIATE), data, reply, ReAssociate() local 1035 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_DISCONNECT), data, reply, Disconnect() local 1066 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_START_WPS), data, reply, StartWps() local 1094 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_CANCEL_WPS), data, reply, CancelWps() local 1122 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_IS_WIFI_ACTIVE), data, reply, IsWifiActive() local 1156 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_GET_WIFI_STATE), data, reply, GetWifiState() local 1243 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_GET_DISCONNECTED_REASON), GetDisconnectedReason() local 1282 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_IS_METERED_HOTSPOT), IsMeteredHotspot() local 1316 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_GET_LINKED_INFO), data, GetLinkedInfo() local 1351 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_GET_DHCP_INFO), data, reply, GetIpInfo() local 1391 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_GET_DHCP_IPV6INFO), GetIpv6Info() local 1433 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_SET_COUNTRY_CODE), data, SetCountryCode() local 1461 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_GET_COUNTRY_CODE), data, GetCountryCode() local 1520 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_REGISTER_CALLBACK_CLIENT), RegisterCallBack() local 1551 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_GET_SIGNAL_LEVEL), data, GetSignalLevel() local 1586 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_GET_SUPPORTED_FEATURES), GetSupportedFeatures() local 1621 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_GET_DERVICE_MAC_ADD), GetDeviceMacAddress() local 1657 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_SET_LOW_LATENCY_MODE), data, SetLowLatencyMode() local 1708 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_GET_BANDTYPE_SUPPORTED), IsBandTypeSupported() local 1743 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_GET_5G_CHANNELLIST), data, Get5GHzChannelList() local 1791 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_SET_FROZEN_APP), data, SetAppFrozen() local 1819 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_RESET_ALL_FROZEN_APP), data, ResetAllFrozenApp() local 1848 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_DISABLE_AUTO_JOIN), data, DisableAutoJoin() local 1877 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_ENABLE_AUTO_JOIN), data, EnableAutoJoin() local 1939 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_START_PORTAL_CERTIF), data, StartPortalCertification() local 1973 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_GET_DEVICE_CONFIG_CHANGE), GetChangeDeviceConfig() local 2014 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_IS_SET_FACTORY_RESET), data, FactoryReset() local 2051 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_LIMIT_SPEED), data, LimitSpeed() local 2091 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_SET_LOW_TX_POWER), data, SetLowTxPower() local 2131 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_IS_HILINK_CONNECT), data, EnableHiLinkHandshake() local 2167 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_SET_SATELLITE_STATE), data, SetSatelliteState() local 2201 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_ENABLE_SEMI_WIFI), data, EnableSemiWifi() local 2229 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_GET_WIFI_DETAIL_STATE), data, GetWifiDetailState() local 2314 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_GET_DEVICE_CONFIG), GetDeviceConfig() local 2351 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_SVR_CMD_SET_DPI_MARK_RULE), SetDpiMarkRule() local [all...] |
/foundation/arkui/ace_engine_lite/frameworks/targets/linux/ |
H A D | acelite_config.h | 29 #error "must keep the global configuration unique" 38 #error "must keep the global configuration unique" 47 #error "must keep the global configuration unique" 56 #error "must keep the system capability unique" 65 #error "must keep the global configuration unique" 121 #error "must keep the global configuration unique" 129 #error "must keep the global configuration unique" 135 #error "must keep the global configuration unique" 145 #error "must keep the global configuration unique" 156 #error "mus [all...] |
/third_party/skia/third_party/externals/freetype/src/gxvalid/ |
H A D | gxvmod.c | 55 FT_Error error; in gxv_load_table() local 59 error = FT_Load_Sfnt_Table( face, tag, 0, NULL, table_len ); in gxv_load_table() 60 if ( FT_ERR_EQ( error, Table_Missing ) ) in gxv_load_table() 62 if ( error ) in gxv_load_table() 68 error = FT_Load_Sfnt_Table( face, tag, 0, *table, table_len ); in gxv_load_table() 71 return error; in gxv_load_table() 84 error = gxv_load_table( face, TTAG_ ## _sfnt, \ 86 if ( error ) \ 99 error = valid.error; \ 118 FT_Error error = FT_Err_Ok; gxv_validate() local 206 FT_Error volatile error; classic_kern_validate() local [all...] |
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | status_test.cc | 42 EXPECT_EQ(util::error::OK, util::Status::OK.error_code()); in TEST() 43 EXPECT_EQ(util::error::OK, util::Status::OK.code()); in TEST() 48 EXPECT_EQ(util::error::OK, util::Status::OK.error_code()); in TEST() 49 EXPECT_EQ(util::error::OK, util::Status::OK.code()); in TEST() 50 EXPECT_EQ(util::error::CANCELLED, util::Status::CANCELLED.error_code()); in TEST() 51 EXPECT_EQ(util::error::CANCELLED, util::Status::CANCELLED.code()); in TEST() 52 EXPECT_EQ(util::error::UNKNOWN, util::Status::UNKNOWN.error_code()); in TEST() 53 EXPECT_EQ(util::error::UNKNOWN, util::Status::UNKNOWN.code()); in TEST() 57 util::Status status(util::error::OK, "msg"); in TEST() 70 util::Status status(util::error in TEST() [all...] |
/third_party/skia/third_party/externals/tint/src/writer/spirv/ |
H A D | builder_assign_test.cc | 35 EXPECT_TRUE(b.GenerateGlobalVariable(v)) << b.error(); in TEST_F() 36 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 38 EXPECT_TRUE(b.GenerateAssignStatement(assign)) << b.error(); in TEST_F() 62 EXPECT_TRUE(b.GenerateGlobalVariable(v)) << b.error(); in TEST_F() 63 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 65 EXPECT_FALSE(b.GenerateAssignStatement(assign)) << b.error(); in TEST_F() 67 EXPECT_EQ(b.error(), in TEST_F() 68 "Internal error: trying to add SPIR-V instruction 62 outside a " in TEST_F() 83 EXPECT_TRUE(b.GenerateGlobalVariable(v)) << b.error(); in TEST_F() 84 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | rpl.c | 71 static int32_t read_int(const char* line, const char** endptr, int* error) in read_int() argument 76 *error = -1; in read_int() 83 static int32_t read_line_and_int(AVIOContext * pb, int* error) in read_line_and_int() argument 87 *error |= read_line(pb, line, sizeof(line)); in read_line_and_int() 88 return read_int(line, &endptr, error); in read_line_and_int() 95 static AVRational read_fps(const char* line, int* error) in read_fps() argument 99 num = read_int(line, &line, error); in read_fps() 110 *error = -1; in read_fps() 121 int error = 0; in rpl_read_header() local 139 error | in rpl_read_header() [all...] |
/third_party/skia/tests/ |
H A D | SRGBReadWritePixelsTest.cpp | 40 /** tests a conversion with an error tolerance */ 42 float error) { in check_conversion() 50 float lower = std::max(0.f, (float) inputComponent - error); in check_conversion() 51 float upper = std::min(255.f, (float) inputComponent + error); in check_conversion() 65 /** tests a forward and backward conversion with an error tolerance */ 67 static bool check_double_conversion(uint32_t input, uint32_t output, float error) { in check_double_conversion() argument 75 float lower = std::max(0.f, (float) inputComponent - error); in check_double_conversion() 76 float upper = std::min(255.f, (float) inputComponent + error); in check_double_conversion() 83 lower = std::max(0.f, (float) lowerComponent - error); in check_double_conversion() 84 upper = std::min(255.f, (float) upperComponent + error); in check_double_conversion() 41 check_conversion(uint32_t input, uint32_t output, float error) check_conversion() argument 100 check_srgb_to_linear_conversion(uint32_t srgb, uint32_t linear, float error) check_srgb_to_linear_conversion() argument 104 check_linear_to_srgb_conversion(uint32_t linear, uint32_t srgb, float error) check_linear_to_srgb_conversion() argument 108 check_linear_to_srgb_to_linear_conversion(uint32_t input, uint32_t output, float error) check_linear_to_srgb_to_linear_conversion() argument 112 check_srgb_to_linear_to_srgb_conversion(uint32_t input, uint32_t output, float error) check_srgb_to_linear_to_srgb_conversion() argument 116 check_no_conversion(uint32_t input, uint32_t output, float error) check_no_conversion() argument 123 read_and_check_pixels(skiatest::Reporter* reporter, GrDirectContext* dContext, skgpu::SurfaceContext* sc, uint32_t* origData, const SkImageInfo& dstInfo, CheckFn checker, float error, const char* subtestName) read_and_check_pixels() argument 210 test_write_read(Encoding contextEncoding, Encoding writeEncoding, Encoding readEncoding, float error, CheckFn check, GrDirectContext* dContext, skiatest::Reporter* reporter) test_write_read() argument 245 float error = context->priv().caps()->shaderCaps()->halfIs32Bits() ? 0.5f : 1.2f; DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local [all...] |
/third_party/skia/third_party/externals/freetype/src/cache/ |
H A D | ftcbasic.c | 100 FT_Error error; in FT_CALLBACK_DEF() local 105 error = FTC_Manager_LookupFace( manager, family->attrs.scaler.face_id, in FT_CALLBACK_DEF() 108 if ( error || !face ) in FT_CALLBACK_DEF() 122 if ( !error ) in FT_CALLBACK_DEF() 136 FT_Error error; in FT_CALLBACK_DEF() local 140 error = FTC_Manager_LookupSize( manager, &family->attrs.scaler, &size ); in FT_CALLBACK_DEF() 141 if ( !error ) in FT_CALLBACK_DEF() 146 error = FT_Load_Glyph( in FT_CALLBACK_DEF() 150 if ( !error ) in FT_CALLBACK_DEF() 154 return error; in FT_CALLBACK_DEF() 165 FT_Error error; FT_CALLBACK_DEF() local 297 FT_Error error; FT_EXPORT_DEF() local 378 FT_Error error; FT_EXPORT_DEF() local 495 FT_Error error; FT_EXPORT_DEF() local 578 FT_Error error; FT_EXPORT_DEF() local [all...] |
/third_party/skia/third_party/externals/freetype/src/gzip/ |
H A D | ftgzip.c | 130 FT_Error error; in ft_gzip_alloc() local 212 FT_Error error; in ft_gzip_check_header() local 227 error = FT_THROW( Invalid_File_Format ); in ft_gzip_check_header() 279 return error; in ft_gzip_check_header() 289 FT_Error error = FT_Err_Ok; in ft_gzip_file_init() local 304 error = ft_gzip_check_header( stream ); in ft_gzip_file_init() 305 if ( error ) in ft_gzip_file_init() 321 error = FT_THROW( Invalid_File_Format ); in ft_gzip_file_init() 324 return error; in ft_gzip_file_init() 355 FT_Error error; in ft_gzip_file_reset() local 424 FT_Error error = FT_Err_Ok; ft_gzip_file_fill_output() local 469 FT_Error error = FT_Err_Ok; ft_gzip_file_skip_output() local 503 FT_Error error; ft_gzip_file_io() local 602 FT_Error error; ft_gzip_get_uncompressed_size() local 627 FT_Error error; FT_EXPORT_DEF() local [all...] |
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta_sa/ |
H A D | wifi_device_callback_proxy.cpp | 36 WIFI_LOGE("Write interface token error: %{public}s", __func__); in OnWifiStateChanged() 41 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_CBK_CMD_STATE_CHANGE), data, reply, in OnWifiStateChanged() local 43 if (error != ERR_NONE) { in OnWifiStateChanged() 44 WIFI_LOGE("Set Attr(%{public}d) failed,error code is %{public}d", in OnWifiStateChanged() 45 static_cast<int32_t>(DevInterfaceCode::WIFI_CBK_CMD_STATE_CHANGE), error); in OnWifiStateChanged() 58 WIFI_LOGE("Write interface token error: %{public}s", __func__); in OnWifiConnectionChanged() 83 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_CBK_CMD_CONNECTION_CHANGE), data, in OnWifiConnectionChanged() local 85 if (error != ERR_NONE) { in OnWifiConnectionChanged() 86 WIFI_LOGE("Set Attr(%{public}d) failed,error code is %{public}d", in OnWifiConnectionChanged() 87 static_cast<int32_t>(DevInterfaceCode::WIFI_CBK_CMD_CONNECTION_CHANGE), error); in OnWifiConnectionChanged() 105 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_CBK_CMD_RSSI_CHANGE), data, reply, OnWifiRssiChanged() local 128 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_CBK_CMD_WPS_STATE_CHANGE), data, OnWifiWpsStateChanged() local 150 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_CBK_CMD_STREAM_DIRECTION), data, OnStreamChanged() local 172 int error = Remote()->SendRequest(static_cast<uint32_t>(DevInterfaceCode::WIFI_CBK_CMD_DEVICE_CONFIG_CHANGE), data, OnDeviceConfigChanged() local [all...] |
/third_party/skia/third_party/externals/tint/src/diagnostic/ |
H A D | diagnostic.h | 65 /// code is the error code, for example a validation error might have the code 150 /// adds the error message without a source to the end of this list. 151 /// @param system the system raising the error message 152 /// @param err_msg the error message 154 diag::Diagnostic error{}; in add_error() 155 error.severity = diag::Severity::Error; in add_error() 156 error.system = system; in add_error() 157 error.message = std::move(err_msg); in add_error() 158 add(std::move(error)); in add_error() [all...] |
/third_party/skia/tools/ |
H A D | build_command_buffer.py | 97 except subprocess.CalledProcessError as error: 98 sys.exit('Error (ret code: %s) calling "%s" in %s' % (error.returncode, 99 error.cmd, chrome_src_dir)) 104 except subprocess.CalledProcessError as error: 105 sys.exit('Error (ret code: %s) calling "%s" in %s' % (error.returncode, 106 error.cmd, chrome_src_dir)) 113 except subprocess.CalledProcessError as error: 114 sys.exit('Error (ret code: %s) calling "%s" in %s' % (error.returncode, 115 error.cmd, chrome_src_dir)) 120 except subprocess.CalledProcessError as error [all...] |