/third_party/node/deps/icu-small/source/i18n/unicode/ |
H A D | tzrule.h | 45 * Clone this TimeZoneRule object polymorphically. The caller owns the result and 109 * @param result Receives the very first time when this rule takes effect. 111 * "result" is unchanged. 114 virtual UBool getFirstStart(int32_t prevRawOffset, int32_t prevDSTSavings, UDate& result) const = 0; 122 * @param result Receives the final time when this rule takes effect. 124 * "result" is unchanged. 127 virtual UBool getFinalStart(int32_t prevRawOffset, int32_t prevDSTSavings, UDate& result) const = 0; 137 * @param result Receives The first time when this rule takes effect after 140 * "result" is unchanged. 144 UBool inclusive, UDate& result) cons [all...] |
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_bld_blend.c | 189 * e.g. (0.9 * 0.9) + (0.9 * 0.9) != 0.9 * (0.9 + 0.9) as result of + is always <= 1. 203 LLVMValueRef result, src_term, dst_term; in lp_build_blend() local 215 result = lp_build_add(bld, src, dst); in lp_build_blend() 218 result = lp_build_mul(bld, result, src_factor); in lp_build_blend() 219 return lp_build_sub(bld, result, dst); in lp_build_blend() 221 result = lp_build_mul(bld, result, dst_factor); in lp_build_blend() 222 return lp_build_sub(bld, src, result); in lp_build_blend() 225 result in lp_build_blend() 241 LLVMValueRef result; lp_build_blend() local [all...] |
/third_party/icu/icu4c/source/i18n/unicode/ |
H A D | tzrule.h | 45 * Clone this TimeZoneRule object polymorphically. The caller owns the result and 109 * @param result Receives the very first time when this rule takes effect. 111 * "result" is unchanged. 114 virtual UBool getFirstStart(int32_t prevRawOffset, int32_t prevDSTSavings, UDate& result) const = 0; 122 * @param result Receives the final time when this rule takes effect. 124 * "result" is unchanged. 127 virtual UBool getFinalStart(int32_t prevRawOffset, int32_t prevDSTSavings, UDate& result) const = 0; 137 * @param result Receives The first time when this rule takes effect after 140 * "result" is unchanged. 144 UBool inclusive, UDate& result) cons [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | tsputil.cpp | 84 double result = uprv_IEEEremainder(x,y); 86 if( uprv_isNaN(result) && 88 errln(UnicodeString("FAIL: got NaN as result without NaN as argument")); 89 errln(UnicodeString(" IEEEremainder(") + x + ", " + y + ") is " + result + ", expected " + exp); 91 else if(result != exp) 92 errln(UnicodeString("FAIL: IEEEremainder(") + x + ", " + y + ") is " + result + ", expected " + exp); 94 logln(UnicodeString("OK: IEEEremainder(") + x + ", " + y + ") is " + result); 186 double result = 0.0; in maxMinTest() local 189 result = uprv_fmax(a, b); in maxMinTest() 191 result in maxMinTest() 210 logln(UnicodeString("OK: max(") + a + ", " + b + ") is " + result); maxMinTest() local 212 logln(UnicodeString("OK: min(") + a + ", " + b + ") is " + result); maxMinTest() local [all...] |
/third_party/ltp/testcases/kernel/syscalls/epoll/ |
H A D | epoll-ltp.c | 151 #define PROTECT_REGION_END(result, errval) \ 156 (result) = WEXITSTATUS(kid_status); \ 158 (result) = (errval); \ 296 /* RES_PASS indicates a PASS result */ 300 * RES_FAIL_* indicates a FAIL result 302 * failure. The return value (result = epoll_ctl(...)) and 474 int result; in test_epoll_ctl() local 484 returns -1 in the variable result if a protection violation in test_epoll_ctl() 485 occurs (see PROTECT_REGION_END for the result) */ in test_epoll_ctl() 491 result in test_epoll_ctl() [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | spaces-inl.h | 154 AllocationResult result, in FromResult() 156 if (result.IsFailure()) return InvalidBuffer(); in FromResult() 158 bool ok = result.To(&obj); in FromResult() 245 AllocationResult result; in AllocateRaw() local 248 result = AllocateFastAligned(size_in_bytes, nullptr, alignment, origin); in AllocateRaw() 250 result = AllocateFastUnaligned(size_in_bytes, origin); in AllocateRaw() 253 return result.IsFailure() ? AllocateRawSlow(size_in_bytes, alignment, origin) in AllocateRaw() 254 : result; in AllocateRaw() 269 AllocationResult result = AllocateFastUnaligned(size_in_bytes, origin); in AllocateRawUnaligned() local 270 DCHECK(!result in AllocateRawUnaligned() 153 FromResult(Heap* heap, AllocationResult result, intptr_t size) FromResult() argument 291 AllocationResult result = AllocateFastAligned( AllocateRawAligned() local 304 AllocationResult result = AllocateRawSlow() local [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | eliminate_dead_member_test.cpp | 624 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( in TEST_F() local 626 EXPECT_EQ(opt::Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 685 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( in TEST_F() local 687 EXPECT_EQ(opt::Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 726 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( in TEST_F() local 728 EXPECT_EQ(opt::Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 769 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( in TEST_F() local 771 EXPECT_EQ(opt::Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 811 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( in TEST_F() local 813 EXPECT_EQ(opt::Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 1087 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( TEST_F() local 1115 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( TEST_F() local 1143 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( TEST_F() local 1283 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( TEST_F() local [all...] |
/third_party/skia/src/codec/ |
H A D | SkIcoCodec.cpp | 31 Result* result) { in MakeFromStream() 35 // byte size is stored in the stream as a uint32_t, and may result in a large or in MakeFromStream() 55 *result = kIncompleteInput; in MakeFromStream() 63 *result = kInvalidInput; in MakeFromStream() 83 *result = kInternalError; in MakeFromStream() 93 *result = kIncompleteInput; in MakeFromStream() 136 *result = kInvalidInput; in MakeFromStream() 185 *result = kIncompleteInput; in MakeFromStream() 227 *result = kSuccess; in MakeFromStream() 304 SkCodec::Result result in onGetPixels() local 30 MakeFromStream(std::unique_ptr<SkStream> stream, Result* result) MakeFromStream() argument 335 SkCodec::Result result = kInvalidScale; onStartScanlineDecode() local [all...] |
/third_party/skia/src/gpu/ops/ |
H A D | GrSimpleMeshDrawOpHelper.cpp | 61 bool result = fPipelineFlags == that.fPipelineFlags && in isCompatible() local 63 SkASSERT(!result || fCompatibleWithCoverageAsAlpha == that.fCompatibleWithCoverageAsAlpha); in isCompatible() 64 SkASSERT(!result || fUsesLocalCoords == that.fUsesLocalCoords); in isCompatible() 65 return result; in isCompatible() 72 auto result = this->finalizeProcessors(caps, clip, clampType, geometryCoverage, &color); in finalizeProcessors() local 77 return result; in finalizeProcessors() 240 static void dump_pipeline_flags(GrPipeline::InputFlags flags, SkString* result) { in dump_pipeline_flags() argument 243 result->append("Snap vertices to pixel center.\n"); in dump_pipeline_flags() 246 result->append("Wireframe enabled.\n"); in dump_pipeline_flags() 249 result in dump_pipeline_flags() 258 SkString result = processors.dumpProcessors(); dumpInfo() local [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_add_equation_instructions.cpp | 73 // Get all available instructions with result ids and types that are not in Apply() 127 // Make sure a result type exists in the module. in Apply() 160 // Make sure a result type exists in the module. in Apply() 202 // Instructions of integer (scalar or vector) result type are in Apply() 213 // scalar/vector result type of the same number of components in Apply() 256 // result type and equate its negation with a fresh id. in Apply() 300 std::vector<opt::Instruction*> result; in GetIntegerInstructions() local 305 result.push_back(inst); in GetIntegerInstructions() 308 return result; in GetIntegerInstructions() 314 std::vector<opt::Instruction*> result; in GetFloatInstructions() local 328 std::vector<opt::Instruction*> result; GetBooleanInstructions() local 343 std::vector<opt::Instruction*> result; RestrictToVectorWidth() local 362 std::vector<opt::Instruction*> result; RestrictToElementBitWidth() local 383 std::vector<opt::Instruction*> result; GetNumericalInstructions() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | fuzzer_pass_add_equation_instructions.cpp | 73 // Get all available instructions with result ids and types that are not in Apply() 127 // Make sure a result type exists in the module. in Apply() 160 // Make sure a result type exists in the module. in Apply() 202 // Instructions of integer (scalar or vector) result type are in Apply() 213 // scalar/vector result type of the same number of components in Apply() 256 // result type and equate its negation with a fresh id. in Apply() 300 std::vector<opt::Instruction*> result; in GetIntegerInstructions() local 305 result.push_back(inst); in GetIntegerInstructions() 308 return result; in GetIntegerInstructions() 314 std::vector<opt::Instruction*> result; in GetFloatInstructions() local 328 std::vector<opt::Instruction*> result; GetBooleanInstructions() local 343 std::vector<opt::Instruction*> result; RestrictToVectorWidth() local 362 std::vector<opt::Instruction*> result; RestrictToElementBitWidth() local 383 std::vector<opt::Instruction*> result; GetNumericalInstructions() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | eliminate_dead_member_test.cpp | 624 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( in TEST_F() local 626 EXPECT_EQ(opt::Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 685 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( in TEST_F() local 687 EXPECT_EQ(opt::Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 726 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( in TEST_F() local 728 EXPECT_EQ(opt::Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 769 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( in TEST_F() local 771 EXPECT_EQ(opt::Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 811 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( in TEST_F() local 813 EXPECT_EQ(opt::Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 1087 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( TEST_F() local 1115 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( TEST_F() local 1143 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( TEST_F() local 1283 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( TEST_F() local [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | PassResourceUsageTracker.cpp | 151 SyncScopeResourceUsage result; in AcquireSyncScopeUsage() local 152 result.buffers.reserve(mBufferUsages.size()); in AcquireSyncScopeUsage() 153 result.bufferUsages.reserve(mBufferUsages.size()); in AcquireSyncScopeUsage() 154 result.textures.reserve(mTextureUsages.size()); in AcquireSyncScopeUsage() 155 result.textureUsages.reserve(mTextureUsages.size()); in AcquireSyncScopeUsage() 158 result.buffers.push_back(it.first); in AcquireSyncScopeUsage() 159 result.bufferUsages.push_back(it.second); in AcquireSyncScopeUsage() 163 result.textures.push_back(it.first); in AcquireSyncScopeUsage() 164 result.textureUsages.push_back(std::move(it.second)); in AcquireSyncScopeUsage() 168 result in AcquireSyncScopeUsage() 230 RenderPassResourceUsage result; AcquireResourceUsage() local [all...] |
/third_party/skia/modules/skparagraph/src/ |
H A D | TextStyle.cpp | 14 TextStyle result; in cloneForPlaceholder() local 15 result.fColor = fColor; in cloneForPlaceholder() 16 result.fFontSize = fFontSize; in cloneForPlaceholder() 17 result.fFontFamilies = fFontFamilies; in cloneForPlaceholder() 18 result.fDecoration = fDecoration; in cloneForPlaceholder() 19 result.fHasBackground = fHasBackground; in cloneForPlaceholder() 20 result.fHasForeground = fHasForeground; in cloneForPlaceholder() 21 result.fBackground = fBackground; in cloneForPlaceholder() 22 result.fForeground = fForeground; in cloneForPlaceholder() 23 result in cloneForPlaceholder() [all...] |
/third_party/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_add_equation_instructions.cpp | 76 // Get all available instructions with result ids and types that are not in Apply() 131 // Make sure a result type exists in the module. in Apply() 164 // Make sure a result type exists in the module. in Apply() 206 // Instructions of integer (scalar or vector) result type are in Apply() 217 // scalar/vector result type of the same number of components in Apply() 260 // result type and equate its negation with a fresh id. in Apply() 304 std::vector<opt::Instruction*> result; in GetIntegerInstructions() local 309 result.push_back(inst); in GetIntegerInstructions() 312 return result; in GetIntegerInstructions() 318 std::vector<opt::Instruction*> result; in GetFloatInstructions() local 332 std::vector<opt::Instruction*> result; GetBooleanInstructions() local 347 std::vector<opt::Instruction*> result; RestrictToVectorWidth() local 366 std::vector<opt::Instruction*> result; RestrictToElementBitWidth() local 387 std::vector<opt::Instruction*> result; GetNumericalInstructions() local [all...] |
/third_party/spirv-tools/test/opt/ |
H A D | eliminate_dead_member_test.cpp | 623 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( in TEST_F() local 625 EXPECT_EQ(opt::Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 684 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( in TEST_F() local 686 EXPECT_EQ(opt::Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 725 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( in TEST_F() local 727 EXPECT_EQ(opt::Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 768 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( in TEST_F() local 770 EXPECT_EQ(opt::Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 810 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( in TEST_F() local 812 EXPECT_EQ(opt::Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 1087 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( TEST_F() local 1115 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( TEST_F() local 1143 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( TEST_F() local 1283 auto result = SinglePassRunAndDisassemble<opt::EliminateDeadMembersPass>( TEST_F() local [all...] |
/third_party/python/Modules/_decimal/ |
H A D | _decimal.c | 2309 * which always gives a positive result. */ in PyDecType_FromFloatExact() 2377 /* result = n * 5**k */ in PyDecType_FromFloatExact() 2385 /* result = +- n * 5**k * 10**-k */ in PyDecType_FromFloatExact() 2694 PyObject *result; in dec_from_float() local 2697 result = PyDecType_FromFloatExact(&PyDec_Type, pyfloat, context); in dec_from_float() 2698 if (type != (PyObject *)&PyDec_Type && result != NULL) { in dec_from_float() 2699 Py_SETREF(result, PyObject_CallFunctionObjArgs(type, result, NULL)); in dec_from_float() 2702 return result; in dec_from_float() 2716 PyObject *result; in dec_apply() local 2787 PyObject *result; PyDec_FromObject() local 2958 PyObject *result; multiply_by_denominator() local 3226 _mpd_round(mpd_t *result, const mpd_t *a, mpd_ssize_t prec, const mpd_context_t *ctx, uint32_t *status) _mpd_round() argument 3303 PyObject *result = NULL; dec_format() local 3586 PyObject *result = NULL; dec_as_integer_ratio() local 3682 PyObject *result; PyDec_ToIntegralValue() local 3723 PyObject *result; PyDec_ToIntegralExact() local 3795 PyObject *result; PyDec_Round() local 3845 PyObject *result = NULL; PyDec_AsTuple() local 4230 PyObject *result; nm_mpd_qpow() local 4346 PyObject *result; dec_mpd_radix() local 4360 PyObject *result; dec_mpd_qcopy_abs() local 4380 PyObject *result; dec_mpd_qcopy_negate() local 4422 PyObject *result; dec_mpd_to_eng() local 4455 PyObject *result; dec_mpd_qcopy_sign() local 4490 PyObject *result; dec_mpd_same_quantum() local 4523 PyObject *result; dec_mpd_qquantize() local 4698 Py_hash_t result; _dec_hash() local 4801 PyObject *result, *str; dec_reduce() local 4848 PyObject *result; dec_imag() local 5287 PyObject *result; ctx_mpd_qpow() local 5369 PyObject *result, *a; PyDecContext_Apply() local 5394 PyObject *result, *a; ctx_mpd_qcopy_abs() local 5418 PyObject *result; ctx_copy_decimal() local 5427 PyObject *result, *a; ctx_mpd_qcopy_negate() local 5468 PyObject *result; ctx_mpd_to_sci() local 5491 PyObject *result; ctx_mpd_to_eng() local 5520 PyObject *result; ctx_mpd_qcopy_sign() local 5560 PyObject *result; ctx_mpd_same_quantum() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/ |
H A D | vktMemoryRequirementsTests.cpp | 276 virtual void verifyMemoryRequirements (tcu::ResultCollector& result, 306 virtual void verifyMemoryRequirements (tcu::ResultCollector& result, 404 tcu::ResultCollector result(log, "ERROR: "); in execTest() 412 verifyMemoryRequirements(result, memoryProperties, limits, bufferFlags, usage); in execTest() 419 result.check(m_currentTestRequirements.memoryTypeBits == previousMemoryTypeBits, in execTest() 422 result.check(m_currentTestRequirements.alignment == previousAlignment, in execTest() 426 if (result.getResult() != QP_TEST_RESULT_PASS) in execTest() 457 void BufferMemoryRequirementsOriginal::verifyMemoryRequirements (tcu::ResultCollector& result, in verifyMemoryRequirements() argument 463 if (result.check(m_currentTestRequirements.memoryTypeBits != 0, "VkMemoryRequirements memoryTypeBits has no bits set")) in verifyMemoryRequirements() 474 result in verifyMemoryRequirements() 667 verifyMemoryRequirements(tcu::ResultCollector& result, const VkPhysicalDeviceMemoryProperties& deviceMemoryProperties, const VkPhysicalDeviceLimits& limits, const VkBufferCreateFlags bufferFlags, const VkBufferUsageFlags usage) verifyMemoryRequirements() argument 753 verifyMemoryRequirements(tcu::ResultCollector& result, const VkPhysicalDeviceMemoryProperties& deviceMemoryProperties, const VkPhysicalDeviceLimits& limits, const VkBufferCreateFlags bufferFlags, const VkBufferUsageFlags usage) verifyMemoryRequirements() argument 951 verifyMemoryRequirements(tcu::ResultCollector& result, const VkPhysicalDeviceMemoryProperties& deviceMemoryProperties) verifyMemoryRequirements() argument 1193 const VkResult result = vki.getPhysicalDeviceImageFormatProperties( isImageSupported() local 1715 verifyMemoryRequirements(tcu::ResultCollector& result, const VkPhysicalDeviceMemoryProperties& deviceMemoryProperties) verifyMemoryRequirements() argument 1791 verifyMemoryRequirements(tcu::ResultCollector& result, const VkPhysicalDeviceMemoryProperties& deviceMemoryProperties) verifyMemoryRequirements() argument 1906 const VkResult result = vki.getPhysicalDeviceImageFormatProperties( isMultiplaneImageSupported() local [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/tl/ |
H A D | mali_kbase_timeline.c | 99 struct kbase_timeline *result; in kbase_timeline_init() local 108 result = kzalloc(sizeof(*result), GFP_KERNEL); in kbase_timeline_init() 109 if (!result) { in kbase_timeline_init() 113 mutex_init(&result->reader_lock); in kbase_timeline_init() 114 init_waitqueue_head(&result->event_queue); in kbase_timeline_init() 118 kbase_tlstream_init(&result->streams[i], i, &result->event_queue); in kbase_timeline_init() 122 atomic_set(&result->autoflush_timer_active, 0); in kbase_timeline_init() 123 kbase_timer_setup(&result in kbase_timeline_init() [all...] |
/foundation/ability/idl_tool/test/sa_test/ |
H A D | test_base.py | 102 result = self.run_success(no_output) 104 result = self.run_fail() 106 return result 108 def deal_result(self, result): 110 return result 113 status, result = exec_command(self.command) 123 if self.deal_result(result) == expected_output: 130 def hdi_gen_fail_check_ignore_line(self, result: str, target: str): 132 result_lines = result.split("\n") 135 print_failure(f"[ERROR] result lin [all...] |
/foundation/ability/dmsfwk_lite/source/ |
H A D | dmslite_session.c | 48 static int32_t OnSessionOpened(int32_t sessionId, int result);
96 int32_t result = SAMGR_SendRequest((const Identity*)&(GetDmsLiteFeature()->identity), &request, NULL);
in OnBytesReceived() local 97 if (result != EC_SUCCESS) {
in OnBytesReceived() 100 HILOGD("[OnBytesReceived errCode = %d]", result);
in OnBytesReceived() 121 int32_t result = SAMGR_SendRequest((const Identity*)&(GetDmsLiteFeature()->identity), &request, NULL);
in OnSessionClosed() local 122 if (result != EC_SUCCESS) {
in OnSessionClosed() 124 HILOGD("[OnSessionClosed SendRequest errCode = %d]", result);
in OnSessionClosed() 137 int32_t OnSessionOpened(int32_t sessionId, int32_t result)
in OnSessionOpened() argument 139 HILOGD("[OnSessionOpened result = %d]", result);
in OnSessionOpened() 232 InvokeCallback(const void *data, int32_t result) InvokeCallback() argument [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/ |
H A D | number_format_module.cpp | 72 const char *result = nullptr; in CreateNumberFormat() local 80 result = SetStyle(*numModule, key, args[1]); in CreateNumberFormat() 84 if (result != nullptr) { in CreateNumberFormat() 87 return jerry_create_error(JERRY_ERROR_RANGE, reinterpret_cast<const jerry_char_t *>(result)); in CreateNumberFormat() 110 std::string result; in Format() local 113 result = numModule->formatter_->Format(number, numModule->formatType_, status); in Format() 115 result = numModule->formatter_->FormatNoGroup(number, numModule->formatType_, status); in Format() 121 if (!result.empty()) { in Format() 122 return jerry_create_string(reinterpret_cast<const jerry_char_t*>(result.c_str())); in Format() 149 const char *result in SetStyle() local [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/ |
H A D | bluetooth_a2dp_sink_stub.cpp | 80 int result = Connect(RawAddress(addr)); in ConnectInner() local 82 bool ret = reply.WriteInt32(result); in ConnectInner() 95 int result = Disconnect(RawAddress(addr)); in DisconnectInner() local 97 bool ret = reply.WriteInt32(result); in DisconnectInner() 153 int result = GetDeviceState(RawAddress(addr)); in GetDeviceStateInner() local 155 bool ret = reply.WriteInt32(result); in GetDeviceStateInner() 168 int result = GetPlayingState(RawAddress(addr), state); in GetPlayingStateInner() local 170 (void)reply.WriteInt32(result); in GetPlayingStateInner() 180 int result = SetConnectStrategy(RawAddress(addr), strategy); in SetConnectStrategyInner() local 182 bool ret = reply.WriteInt32(result); in SetConnectStrategyInner() 194 int result = GetConnectStrategy(RawAddress(addr)); GetConnectStrategyInner() local 210 int result = SendDelay(RawAddress(addr), delayValue); SendDelayInner() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_manager_test/ |
H A D | bms_bundle_installer_manager_test.cpp | 94 ErrCode result = receiver->GetResultCode(); in HWTEST_F() local 95 EXPECT_NE(ERR_OK, result); in HWTEST_F() 112 ErrCode result = receiver->GetResultCode(); in HWTEST_F() local 113 EXPECT_NE(ERR_OK, result); in HWTEST_F() 132 ErrCode result = receiver->GetResultCode(); in HWTEST_F() local 133 EXPECT_NE(ERR_OK, result); in HWTEST_F() 150 ErrCode result = receiver->GetResultCode(); in HWTEST_F() local 151 EXPECT_NE(ERR_OK, result); in HWTEST_F() 168 ErrCode result = receiver->GetResultCode(); in HWTEST_F() local 169 EXPECT_NE(ERR_OK, result); in HWTEST_F() 187 ErrCode result = receiver->GetResultCode(); HWTEST_F() local 206 ErrCode result = receiver->GetResultCode(); HWTEST_F() local [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | data_share_subscriber_managers_test.cpp | 113 auto result = TemplateManager::GetInstance().Add(key, context->currentUserId, tpl);
in HWTEST_F() local 114 EXPECT_EQ(result, DataShare::E_ERROR);
in HWTEST_F() 115 result = TemplateManager::GetInstance().Delete(key, context->currentUserId);
in HWTEST_F() 116 EXPECT_EQ(result, DataShare::E_ERROR);
in HWTEST_F() 146 auto result = RdbSubscriberManager::GetInstance().Delete(key, tokenId);
147 EXPECT_EQ(result, E_SUBSCRIBER_NOT_EXIST);
164 auto result = RdbSubscriberManager::GetInstance().Disable(key, tokenId);
local 165 EXPECT_EQ(result, E_SUBSCRIBER_NOT_EXIST);
167 result = RdbSubscriberManager::GetInstance().Enable(key, context);
168 EXPECT_EQ(result, E_SUBSCRIBER_NOT_EXIS 188 auto result = RdbSubscriberManager::GetInstance().GetEnableObserverCount(keys); HWTEST_F() local 213 auto result = PublishedDataSubscriberManager::GetInstance().IsNotifyOnEnabled(keys, tokenId); HWTEST_F() local [all...] |