/third_party/skia/third_party/externals/icu/source/common/ |
H A D | rbbidata.cpp | 33 RBBIDataWrapper::RBBIDataWrapper(const RBBIDataHeader *data, UErrorCode &status) { in RBBIDataWrapper() argument 35 init(data, status); in RBBIDataWrapper() 38 RBBIDataWrapper::RBBIDataWrapper(const RBBIDataHeader *data, enum EDontAdopt, UErrorCode &status) { in RBBIDataWrapper() argument 40 init(data, status); in RBBIDataWrapper() 44 RBBIDataWrapper::RBBIDataWrapper(UDataMemory* udm, UErrorCode &status) { in RBBIDataWrapper() argument 46 if (U_FAILURE(status)) { in RBBIDataWrapper() 60 status = U_INVALID_FORMAT_ERROR; in RBBIDataWrapper() 65 init(rbbidh, status); in RBBIDataWrapper() 92 void RBBIDataWrapper::init(const RBBIDataHeader *data, UErrorCode &status) { in init() argument 93 if (U_FAILURE(status)) { in init() 305 ubrk_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *status) ubrk_swap() argument [all...] |
/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
H A D | napi_cert_crl_common.cpp | 73 napi_status status = napi_wrap( in ConvertCertToNapiValue() local 81 if (status != napi_ok) { in ConvertCertToNapiValue() 92 napi_status status = napi_is_array(env, object, &flag); in GetArrayCertFromNapiValue() local 93 if (status != napi_ok || !flag) { in GetArrayCertFromNapiValue() 98 status = napi_get_array_length(env, object, &length); in GetArrayCertFromNapiValue() 99 if (status != napi_ok || length == 0) { in GetArrayCertFromNapiValue() 116 status = napi_get_element(env, object, i, &element); in GetArrayCertFromNapiValue() 117 if (status != napi_ok) { in GetArrayCertFromNapiValue() 143 napi_status status = napi_is_array(env, object, &flag); in GetArrayCRLFromNapiValue() local 144 if (status ! in GetArrayCRLFromNapiValue() [all...] |
/base/theme/screenlock_mgr/frameworks/js/napi/include/ |
H A D | napi_screenlock_ability.h | 25 napi_status status; member 37 napi_status status; member 40 : Context(nullptr, nullptr), param(0), eventInfo(""), flag(false), status(napi_generic_failure), in SendEventInfo() 44 status(napi_generic_failure), allowed(false){}; in SendEventInfo() 51 napi_status status; member 54 : Context(nullptr, nullptr), disable(false), userId(-1), status(napi_generic_failure), in ScreenLockDisableInfo() 58 status(napi_generic_failure), allowed(false){}; in ScreenLockDisableInfo() 66 napi_status status; member 69 : Context(nullptr, nullptr), userId(-1), authState(-1), authToken(""), status(napi_generic_failure), in ScreenLockAuthStatInfo() 73 status(napi_generic_failur in ScreenLockAuthStatInfo() 80 napi_status status; global() member [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/ |
H A D | response_manager.c | 69 u32 status; in lio_process_ordered_list() local 87 status = OCTEON_REQUEST_PENDING; in lio_process_ordered_list() 99 * 4. if non-FF, use the low 32-bit status code in lio_process_ordered_list() 100 * 5. if either byte 0 or byte 7 is FF, don't use status in lio_process_ordered_list() 105 /* retrieve 16-bit firmware status */ in lio_process_ordered_list() 106 status = (u32)(status64 & 0xffffULL); in lio_process_ordered_list() 107 if (status) { in lio_process_ordered_list() 108 status = in lio_process_ordered_list() 109 FIRMWARE_STATUS_CODE(status); in lio_process_ordered_list() 112 status in lio_process_ordered_list() [all...] |
/kernel/linux/linux-5.10/drivers/usb/typec/ucsi/ |
H A D | trace.h | 43 TP_PROTO(int port, struct ucsi_connector_status *status), 44 TP_ARGS(port, status), 58 __entry->change = status->change; 59 __entry->opmode = UCSI_CONSTAT_PWR_OPMODE(status->flags); 60 __entry->connected = !!(status->flags & UCSI_CONSTAT_CONNECTED); 61 __entry->pwr_dir = !!(status->flags & UCSI_CONSTAT_PWR_DIR); 62 __entry->partner_flags = UCSI_CONSTAT_PARTNER_FLAGS(status->flags); 63 __entry->partner_type = UCSI_CONSTAT_PARTNER_TYPE(status->flags); 64 __entry->request_data_obj = status->request_data_obj; 65 __entry->bc_status = UCSI_CONSTAT_BC_STATUS(status [all...] |
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
H A D | acpi_pcihp.c | 40 acpi_status status; in acpi_run_oshp() local 46 status = acpi_evaluate_object(handle, METHOD_NAME_OSHP, NULL, NULL); in acpi_run_oshp() 47 if (ACPI_FAILURE(status)) in acpi_run_oshp() 48 if (status != AE_NOT_FOUND) in acpi_run_oshp() 50 __func__, (char *)string.pointer, status); in acpi_run_oshp() 59 return status; in acpi_run_oshp() 72 acpi_status status; in acpi_get_hp_hw_control_from_firmware() local 123 status = acpi_run_oshp(handle); in acpi_get_hp_hw_control_from_firmware() 124 if (ACPI_SUCCESS(status)) in acpi_get_hp_hw_control_from_firmware() 129 status in acpi_get_hp_hw_control_from_firmware() 147 acpi_status status; pcihp_is_ejectable() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/liquidio/ |
H A D | response_manager.c | 71 u32 status; in lio_process_ordered_list() local 89 status = OCTEON_REQUEST_PENDING; in lio_process_ordered_list() 101 * 4. if non-FF, use the low 32-bit status code in lio_process_ordered_list() 102 * 5. if either byte 0 or byte 7 is FF, don't use status in lio_process_ordered_list() 107 /* retrieve 16-bit firmware status */ in lio_process_ordered_list() 108 status = (u32)(status64 & 0xffffULL); in lio_process_ordered_list() 109 if (status) { in lio_process_ordered_list() 110 status = in lio_process_ordered_list() 111 FIRMWARE_STATUS_CODE(status); in lio_process_ordered_list() 114 status in lio_process_ordered_list() [all...] |
/kernel/linux/linux-6.6/drivers/usb/typec/ucsi/ |
H A D | trace.h | 43 TP_PROTO(int port, struct ucsi_connector_status *status), 44 TP_ARGS(port, status), 58 __entry->change = status->change; 59 __entry->opmode = UCSI_CONSTAT_PWR_OPMODE(status->flags); 60 __entry->connected = !!(status->flags & UCSI_CONSTAT_CONNECTED); 61 __entry->pwr_dir = !!(status->flags & UCSI_CONSTAT_PWR_DIR); 62 __entry->partner_flags = UCSI_CONSTAT_PARTNER_FLAGS(status->flags); 63 __entry->partner_type = UCSI_CONSTAT_PARTNER_TYPE(status->flags); 64 __entry->request_data_obj = status->request_data_obj; 65 __entry->bc_status = UCSI_CONSTAT_BC_STATUS(status [all...] |
/kernel/linux/linux-6.6/drivers/pci/hotplug/ |
H A D | acpi_pcihp.c | 40 acpi_status status; in acpi_run_oshp() local 46 status = acpi_evaluate_object(handle, METHOD_NAME_OSHP, NULL, NULL); in acpi_run_oshp() 47 if (ACPI_FAILURE(status)) in acpi_run_oshp() 48 if (status != AE_NOT_FOUND) in acpi_run_oshp() 50 __func__, (char *)string.pointer, status); in acpi_run_oshp() 59 return status; in acpi_run_oshp() 72 acpi_status status; in acpi_get_hp_hw_control_from_firmware() local 123 status = acpi_run_oshp(handle); in acpi_get_hp_hw_control_from_firmware() 124 if (ACPI_SUCCESS(status)) in acpi_get_hp_hw_control_from_firmware() 129 status in acpi_get_hp_hw_control_from_firmware() 147 acpi_status status; pcihp_is_ejectable() local [all...] |
/kernel/liteos_m/arch/arm/cortex-m4/iar/ |
H A D | los_arch_atomic.h | 58 UINT32 status;
in ArchAtomicSet() local 64 : "=&r"(status)
in ArchAtomicSet() 72 UINT32 status;
in ArchAtomicAdd() local 78 : "=&r"(status), "=&r"(val)
in ArchAtomicAdd() 81 } while (status != 0);
in ArchAtomicAdd() 89 UINT32 status;
in ArchAtomicSub() local 95 : "=&r"(status), "=&r"(val)
in ArchAtomicSub() 98 } while (status != 0);
in ArchAtomicSub() 144 UINT32 status = 0;
in ArchAtomicXchg32bits() local 149 : "=&r"(prevVal), "=&r"(status)
in ArchAtomicXchg32bits() 179 UINT32 status = 0; ArchAtomicCmpXchg32bits() local [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | utmscale.cpp | 40 utmscale_getTimeScaleValue(UDateTimeScale timeScale, UTimeScaleValue value, UErrorCode *status) in utmscale_getTimeScaleValue() argument 42 if (status == NULL || U_FAILURE(*status)) { in utmscale_getTimeScaleValue() 49 *status = U_ILLEGAL_ARGUMENT_ERROR; in utmscale_getTimeScaleValue() 57 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status) in utmscale_fromInt64() argument 61 if (status == NULL || U_FAILURE(*status)) { in utmscale_fromInt64() 66 *status = U_ILLEGAL_ARGUMENT_ERROR; in utmscale_fromInt64() 73 *status = U_ILLEGAL_ARGUMENT_ERROR; in utmscale_fromInt64() 81 utmscale_toInt64(int64_t universalTime, UDateTimeScale timeScale, UErrorCode *status) in utmscale_toInt64() argument [all...] |
H A D | number_longnames.h | 27 UErrorCode& status); 36 UErrorCode& status); 40 const MicroPropsGenerator *parent, UErrorCode &status); 67 UErrorCode &status); 74 processQuantity(DecimalQuantity &quantity, MicroProps µs, UErrorCode &status) const U_OVERRIDE; 109 UErrorCode &status); 121 UErrorCode &status); 124 void simpleFormatsToModifiers(const UnicodeString *simpleFormats, Field field, UErrorCode &status); 132 Field field, UErrorCode &status); 163 UErrorCode &status); [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | utmscale.cpp | 40 utmscale_getTimeScaleValue(UDateTimeScale timeScale, UTimeScaleValue value, UErrorCode *status) in utmscale_getTimeScaleValue() argument 42 if (status == nullptr || U_FAILURE(*status)) { in utmscale_getTimeScaleValue() 49 *status = U_ILLEGAL_ARGUMENT_ERROR; in utmscale_getTimeScaleValue() 57 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status) UPRV_NO_SANITIZE_UNDEFINED { 60 if (status == nullptr || U_FAILURE(*status)) { 65 *status = U_ILLEGAL_ARGUMENT_ERROR; 72 *status = U_ILLEGAL_ARGUMENT_ERROR; 80 utmscale_toInt64(int64_t universalTime, UDateTimeScale timeScale, UErrorCode *status) UPRV_NO_SANITIZE_UNDEFINE [all...] |
H A D | number_longnames.h | 27 UErrorCode& status); 36 UErrorCode& status); 40 const MicroPropsGenerator *parent, UErrorCode &status); 67 UErrorCode &status); 74 processQuantity(DecimalQuantity &quantity, MicroProps µs, UErrorCode &status) const override; 109 UErrorCode &status); 121 UErrorCode &status); 124 void simpleFormatsToModifiers(const UnicodeString *simpleFormats, Field field, UErrorCode &status); 132 Field field, UErrorCode &status); 163 UErrorCode &status); [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | number_longnames.h | 27 UErrorCode& status); 36 UErrorCode& status); 40 const MicroPropsGenerator *parent, UErrorCode &status); 67 UErrorCode &status); 74 processQuantity(DecimalQuantity &quantity, MicroProps µs, UErrorCode &status) const U_OVERRIDE; 109 UErrorCode &status); 121 UErrorCode &status); 124 void simpleFormatsToModifiers(const UnicodeString *simpleFormats, Field field, UErrorCode &status); 132 Field field, UErrorCode &status); 163 UErrorCode &status); [all...] |
H A D | utmscale.cpp | 40 utmscale_getTimeScaleValue(UDateTimeScale timeScale, UTimeScaleValue value, UErrorCode *status) in utmscale_getTimeScaleValue() argument 42 if (status == NULL || U_FAILURE(*status)) { in utmscale_getTimeScaleValue() 49 *status = U_ILLEGAL_ARGUMENT_ERROR; in utmscale_getTimeScaleValue() 57 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status) in utmscale_fromInt64() argument 61 if (status == NULL || U_FAILURE(*status)) { in utmscale_fromInt64() 66 *status = U_ILLEGAL_ARGUMENT_ERROR; in utmscale_fromInt64() 73 *status = U_ILLEGAL_ARGUMENT_ERROR; in utmscale_fromInt64() 81 utmscale_toInt64(int64_t universalTime, UDateTimeScale timeScale, UErrorCode *status) in utmscale_toInt64() argument [all...] |
/third_party/skia/modules/skunicode/src/ |
H A D | SkUnicode_icu_bidi.cpp | 39 UErrorCode status = U_ZERO_ERROR; in makeBidiIterator() local 40 SkUnicodeBidi bidi(SkUnicode_IcuBidi::bidi_openSized(utf16Units, 0, &status)); in makeBidiIterator() 41 if (U_FAILURE(status)) { in makeBidiIterator() 42 SkDEBUGF("Bidi error: %s", SkUnicode_IcuBidi::errorName(status)); in makeBidiIterator() 49 SkUnicode_IcuBidi::bidi_setPara(bidi.get(), (const UChar*)utf16, utf16Units, bidiLevel, nullptr, &status); in makeBidiIterator() 50 if (U_FAILURE(status)) { in makeBidiIterator() 51 SkDEBUGF("Bidi error: %s", SkUnicode_IcuBidi::errorName(status)); in makeBidiIterator() 93 UErrorCode status = U_ZERO_ERROR; in extractBidi() local 94 SkUnicodeBidi bidi(SkUnicode_IcuBidi::bidi_openSized(utf16.size(), 0, &status)); in extractBidi() 95 if (U_FAILURE(status)) { in extractBidi() [all...] |
/kernel/linux/linux-5.10/drivers/staging/kpc2000/ |
H A D | kpc2000_i2c.c | 136 int status; in i801_check_pre() local 138 status = inb_p(SMBHSTSTS(priv)); in i801_check_pre() 139 if (status & SMBHSTSTS_HOST_BUSY) { in i801_check_pre() 141 "SMBus is busy, can't use it! (status=%x)\n", status); in i801_check_pre() 145 status &= STATUS_FLAGS; in i801_check_pre() 146 if (status) { in i801_check_pre() 147 outb_p(status, SMBHSTSTS(priv)); in i801_check_pre() 148 status = inb_p(SMBHSTSTS(priv)) & STATUS_FLAGS; in i801_check_pre() 149 if (status) { in i801_check_pre() 159 i801_check_post(struct kpc_i2c *priv, int status, int timeout) i801_check_post() argument 211 int status; i801_transaction() local 241 int status; i801_wait_hwpec() local 259 int status; i801_block_transaction_by_block() local 295 int status; i801_block_transaction_byte_by_byte() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/elx/libefc/ |
H A D | efc_cmds.c | 34 efc_nport_get_mbox_status(struct efc_nport *nport, u8 *mqe, int status) in efc_nport_get_mbox_status() argument 40 if (status || le16_to_cpu(hdr->status)) { in efc_nport_get_mbox_status() 41 efc_log_debug(efc, "bad status vpi=%#x st=%x hdr=%x\n", in efc_nport_get_mbox_status() 42 nport->indicator, status, le16_to_cpu(hdr->status)); in efc_nport_get_mbox_status() 50 efc_nport_free_unreg_vpi_cb(struct efc *efc, int status, u8 *mqe, void *arg) in efc_nport_free_unreg_vpi_cb() argument 56 rc = efc_nport_get_mbox_status(nport, mqe, status); in efc_nport_free_unreg_vpi_cb() 105 efc_nport_alloc_init_vpi_cb(struct efc *efc, int status, u8 *mqe, void *arg) in efc_nport_alloc_init_vpi_cb() argument 109 if (efc_nport_get_mbox_status(nport, mqe, status)) { in efc_nport_alloc_init_vpi_cb() 148 efc_nport_alloc_read_sparm64_cb(struct efc *efc, int status, u8 *mqe, void *arg) efc_nport_alloc_read_sparm64_cb() argument 247 efc_nport_attach_reg_vpi_cb(struct efc *efc, int status, u8 *mqe, void *arg) efc_nport_attach_reg_vpi_cb() argument 317 efc_domain_get_mbox_status(struct efc_domain *domain, u8 *mqe, int status) efc_domain_get_mbox_status() argument 366 efc_domain_alloc_read_sparm64_cb(struct efc *efc, int status, u8 *mqe, void *arg) efc_domain_alloc_read_sparm64_cb() argument 407 efc_domain_alloc_init_vfi_cb(struct efc *efc, int status, u8 *mqe, void *arg) efc_domain_alloc_init_vfi_cb() argument 496 efc_domain_attach_reg_vfi_cb(struct efc *efc, int status, u8 *mqe, void *arg) efc_domain_attach_reg_vfi_cb() argument 550 efc_domain_free_unreg_vfi_cb(struct efc *efc, int status, u8 *mqe, void *arg) efc_domain_free_unreg_vfi_cb() argument 634 efc_cmd_node_attach_cb(struct efc *efc, int status, u8 *mqe, void *arg) efc_cmd_node_attach_cb() argument 720 efc_cmd_node_free_cb(struct efc *efc, int status, u8 *mqe, void *arg) efc_cmd_node_free_cb() argument [all...] |
/drivers/hdf_core/framework/core/shared/test/unittest/common/ |
H A D | hdf_core_shared_test.cpp | 69 ServiceStatus *status = (struct ServiceStatus *)OsalMemCalloc(sizeof(struct ServiceStatus)); in HWTEST_F() local 70 ASSERT_NE(status, nullptr); in HWTEST_F() 71 ret = ServiceStatusMarshalling(status, nullptr); in HWTEST_F() 76 ret = ServiceStatusMarshalling(status, sBuf); in HWTEST_F() 78 OsalMemFree(status); in HWTEST_F() 86 ServiceStatus *status = (struct ServiceStatus *)OsalMemCalloc(sizeof(struct ServiceStatus)); in HWTEST_F() local 87 ASSERT_NE(status, nullptr); in HWTEST_F() 90 ret = ServiceStatusUnMarshalling(status, sBuf); in HWTEST_F() 94 ret = ServiceStatusUnMarshalling(status, sBuf); in HWTEST_F() 96 OsalMemFree(status); in HWTEST_F() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | task_kfunc_common.h | 32 long status; in tasks_kfunc_map_value_lookup() local 34 status = bpf_probe_read_kernel(&pid, sizeof(pid), &p->pid); in tasks_kfunc_map_value_lookup() 35 if (status) in tasks_kfunc_map_value_lookup() 44 long status; in tasks_kfunc_map_insert() local 48 status = bpf_probe_read_kernel(&pid, sizeof(pid), &p->pid); in tasks_kfunc_map_insert() 49 if (status) in tasks_kfunc_map_insert() 50 return status; in tasks_kfunc_map_insert() 53 status = bpf_map_update_elem(&__tasks_kfunc_map, &pid, &local, BPF_NOEXIST); in tasks_kfunc_map_insert() 54 if (status) in tasks_kfunc_map_insert() 55 return status; in tasks_kfunc_map_insert() [all...] |
H A D | cgrp_kfunc_common.h | 33 long status; in cgrps_kfunc_map_value_lookup() local 35 status = bpf_probe_read_kernel(&id, sizeof(id), &cgrp->self.id); in cgrps_kfunc_map_value_lookup() 36 if (status) in cgrps_kfunc_map_value_lookup() 45 long status; in cgrps_kfunc_map_insert() local 49 status = bpf_probe_read_kernel(&id, sizeof(id), &cgrp->self.id); in cgrps_kfunc_map_insert() 50 if (status) in cgrps_kfunc_map_insert() 51 return status; in cgrps_kfunc_map_insert() 54 status = bpf_map_update_elem(&__cgrps_kfunc_map, &id, &local, BPF_NOEXIST); in cgrps_kfunc_map_insert() 55 if (status) in cgrps_kfunc_map_insert() 56 return status; in cgrps_kfunc_map_insert() [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | cfintst.c | 82 UErrorCode status = U_ZERO_ERROR; in TestTertiary() local 83 myCollation = ucol_open("fi_FI@collation=standard", &status); in TestTertiary() 84 if(U_FAILURE(status)){ in TestTertiary() 85 log_err_status(status, "ERROR: in creation of rule based collator: %s\n", myErrorName(status)); in TestTertiary() 100 UErrorCode status = U_ZERO_ERROR; in TestPrimary() local 101 myCollation = ucol_open("fi_FI@collation=standard", &status); in TestPrimary() 102 if(U_FAILURE(status)){ in TestPrimary() 103 log_err_status(status, "ERROR: in creation of rule based collator: %s\n", myErrorName(status)); in TestPrimary() [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | servnotf.cpp | 41 ICUNotifier::addListener(const EventListener* l, UErrorCode& status) in addListener() argument 43 if (U_SUCCESS(status)) { in addListener() 45 status = U_ILLEGAL_ARGUMENT_ERROR; in addListener() 52 LocalPointer<UVector> lpListeners(new UVector(5, status), status); in addListener() 53 if (U_FAILURE(status)) { in addListener() 66 listeners->addElement((void*)l, status); // cast away const in addListener() 78 ICUNotifier::removeListener(const EventListener *l, UErrorCode& status) in removeListener() argument 80 if (U_SUCCESS(status)) { in removeListener() 82 status in removeListener() [all...] |
/third_party/mbedtls/programs/psa/ |
H A D | hmac_demo.c | 85 * programs/psa/psa_constant_name status <value> */ 89 status = (expr); \ 90 if (status != PSA_SUCCESS) \ 93 (int) status, \ 107 psa_status_t status; in hmac_demo() local 122 status = psa_import_key(&attributes, in hmac_demo() 124 if (status != PSA_SUCCESS) { in hmac_demo() 125 return status; in hmac_demo() 151 return status; in hmac_demo() 156 psa_status_t status in main() local [all...] |