/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/reduce/ |
H A D | reducer_test.cpp | 45 bool result; in IsInteresting() local 47 result = true; in IsInteresting() 49 result = is_interesting_; in IsInteresting() 53 return result; in IsInteresting() 568 std::unordered_map<uint32_t, uint32_t> result; in GetFunctionInstructionCount() local 570 uint32_t& count = result[function.result_id()] = 0; in GetFunctionInstructionCount() 573 return result; in GetFunctionInstructionCount()
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
H A D | decimfmt.h | 149 * cout << "format result " << form->format(myNumber, str) << endl; 290 * "#,##0.0#;(#)" has precisely the same result as "#,##0.0#;(#,##0.0#)". 591 * <p>DecimalFormat supports padding the result of 897 * result and should delete it when done. 921 * @param appendTo Output parameter to receive result. 935 * @param appendTo Output parameter to receive result. 951 * @param appendTo Output parameter to receive result. 967 * @param appendTo Output parameter to receive result. 981 * @param appendTo Output parameter to receive result. 997 * @param appendTo Output parameter to receive result [all...] |
/third_party/skia/src/pdf/ |
H A D | SkPDFGraphicStackState.cpp | 11 static void emit_pdf_color(SkColor4f color, SkWStream* result) { in emit_pdf_color() argument 13 SkPDFUtils::AppendColorComponentF(color.fR, result); in emit_pdf_color() 14 result->writeText(" "); in emit_pdf_color() 15 SkPDFUtils::AppendColorComponentF(color.fG, result); in emit_pdf_color() 16 result->writeText(" "); in emit_pdf_color() 17 SkPDFUtils::AppendColorComponentF(color.fB, result); in emit_pdf_color() 18 result->writeText(" "); in emit_pdf_color()
|
/third_party/skia/third_party/externals/angle2/util/fuchsia/ |
H A D | ScenicWindow.cpp | 36 zx_status_t result = zx::channel::create(0, &clientChannel, &serverChannel); in ConnectToServiceRoot() local 37 ASSERT(result == ZX_OK); in ConnectToServiceRoot() 38 result = fdio_service_connect("/svc/.", serverChannel.release()); in ConnectToServiceRoot() 39 ASSERT(result == ZX_OK); in ConnectToServiceRoot() 54 fidl::InterfacePtr<Interface> result; in ConnectToService() local 55 ConnectToService(serviceRoot, result.NewRequest(dispatcher)); in ConnectToService() 56 return result; in ConnectToService()
|
/third_party/skia/third_party/externals/tint/src/writer/glsl/ |
H A D | generator_impl_sanitizer_test.cc | 50 auto got = gen.result(); in TEST_F() 101 auto got = gen.result(); in TEST_F() 155 auto got = gen.result(); in TEST_F() 198 auto got = gen.result(); in TEST_F() 239 auto got = gen.result(); in TEST_F() 286 auto got = gen.result(); in TEST_F() 339 auto got = gen.result(); in TEST_F()
|
/third_party/skia/third_party/externals/tint/src/writer/msl/ |
H A D | generator_impl_test.cc | 35 EXPECT_EQ(gen.result(), R"(#include <metal_stdlib> in TEST_F() 95 EXPECT_EQ(gen.result(), R"(#include <metal_stdlib> in TEST_F() 126 EXPECT_EQ(gen.result(), R"(#include <metal_stdlib> in TEST_F() 149 EXPECT_EQ(gen.result(), R"(#include <metal_stdlib> in TEST_F() 187 EXPECT_EQ(gen.result(), R"(#include <metal_stdlib> in TEST_F() 236 EXPECT_EQ(gen.result(), R"(#include <metal_stdlib> in TEST_F() 311 EXPECT_EQ(gen.result(), R"(#include <metal_stdlib> in TEST_F()
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | usc_impl.cpp | 194 UScriptRun *result = NULL; in uscript_openRun() local 200 result = (UScriptRun *)uprv_malloc(sizeof (UScriptRun)); in uscript_openRun() 202 if (result == NULL) { in uscript_openRun() 207 uscript_setRunText(result, src, length, pErrorCode); in uscript_openRun() 211 uprv_free(result); in uscript_openRun() 212 result = NULL; in uscript_openRun() 215 return result; in uscript_openRun()
|
H A D | uresbund.cpp | 1062 UResourceBundle *result = resB; in init_resb_result() local 1115 result = init_resb_result(&(mainRes->fResData), r, temp, -1, mainRes->fData, mainRes, noAlias+1, resB, status); in init_resb_result() 1118 result = resB; in init_resb_result() 1140 result = mainRes; in init_resb_result() 1148 resB = init_resb_result(&(dataEntry->fData), r, temp, -1, dataEntry, result, noAlias+1, resB, status); in init_resb_result() 1149 result = resB; in init_resb_result() 1150 if(result) { in init_resb_result() 1151 r = result->fRes; /* switch to a new resource, possibly a new tree */ in init_resb_result() 1152 dataEntry = result->fData; in init_resb_result() 1164 result in init_resb_result() 1486 const UChar* result = 0; ures_getStringWithAlias() local 1726 UResourceBundle *result = fillIn; ures_findResource() local 1781 UResourceBundle *result = fillIn; ures_findSubResource() local 2154 const UChar* result = 0; ures_getStringByKey() local 2176 const UChar* result = 0; ures_getStringByKey() local 2414 int32_t result = res_countArrayItems(&resData.fResData, resData.fRes); ures_countArrayItems() local 2529 const char *result = NULL; ures_loc_nextLocale() local 2617 ures_getFunctionalEquivalent(char *result, int32_t resultCapacity, const char *path, const char *resName, const char *keyword, const char *locid, UBool *isAvailable, UBool omitDefault, UErrorCode *status) ures_getFunctionalEquivalent() argument [all...] |
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
H A D | Durations.java | 220 StringBuilder result = new StringBuilder(); in toString() 222 result.append("-"); in toString() 226 result.append(seconds); in toString() 228 result.append("."); in toString() 229 result.append(Timestamps.formatNanos(nanos)); in toString() 231 result.append("s"); in toString() 232 return result.toString(); in toString() 335 * Convert a Duration to the number of days. The result will be rounded towards 0 to the nearest 344 * Convert a Duration to the number of hours. The result will be rounded towards 0 to the nearest 353 * Convert a Duration to the number of minutes. The result wil [all...] |
H A D | FieldMaskUtil.java | 65 StringBuilder result = new StringBuilder(); in toString() 75 result.append(FIELD_PATH_SEPARATOR); in toString() 77 result.append(value); in toString() 79 return result.toString(); in toString() 294 FieldMaskTree result = new FieldMaskTree(); in intersection() 296 tree.intersectFieldPath(path, result); in intersection() 298 return result.toFieldMask(); in intersection()
|
/third_party/spirv-tools/source/fuzz/ |
H A D | transformation_access_chain.cpp | 54 // The result id must be fresh. in IsApplicable() 197 // the new access chain. The result type of the access chain should be a in IsApplicable() 213 // The result type of the access chain is determined by where the indices in Apply() 217 // component reached by following all the indices, and the result type is in Apply() 333 // The access chain's result type is a pointer to the composite component in Apply() 354 // the pointee value of the result of this access chain. in Apply() 363 protobufs::Transformation result; in ToMessage() local 364 *result.mutable_access_chain() = message_; in ToMessage() 365 return result; in ToMessage() 429 std::unordered_set<uint32_t> result in GetFreshIds() local [all...] |
/third_party/spirv-tools/test/reduce/ |
H A D | reducer_test.cpp | 45 bool result; in IsInteresting() local 47 result = true; in IsInteresting() 49 result = is_interesting_; in IsInteresting() 53 return result; in IsInteresting() 568 std::unordered_map<uint32_t, uint32_t> result; in GetFunctionInstructionCount() local 570 uint32_t& count = result[function.result_id()] = 0; in GetFunctionInstructionCount() 573 return result; in GetFunctionInstructionCount()
|
/third_party/vk-gl-cts/modules/internal/ |
H A D | ditImageCompareTests.cpp | 70 float result = 0.0f; in iterate() local 82 result = tcu::fuzzyCompare(params, refImg, cmpImg, errorMask); in iterate() 90 m_testCtx.getLog() << TestLog::Float("Result", "Result metric", "", QP_KEY_TAG_NONE, result) in iterate() 96 const bool isOk = de::inRange(result, m_minBound, m_maxBound); in iterate() 127 bool result; in iterate() local 135 result = tcu::bilinearCompare(m_testCtx.getLog(), "CompareResult", "Image comparison result", refImg, cmpImg, m_threshold, tcu::COMPARE_LOG_EVERYTHING); in iterate() 142 const bool isOk = result == m_expectedResult; in iterate() 144 isOk ? "Pass" : "Wrong comparison result"); in iterate() 177 addChild(new FuzzyComparisonMetricCase(m_testCtx, "lessThan0", "lessThan0-reference.png", "lessThan0-result in init() [all...] |
/base/hiviewdfx/hiview/plugins/eventlogger/test/unittest/common/ |
H A D | event_logger_test.cpp | 323 int result = eventLogger->GetFile(sysEvent, logFile, true);
324 printf("GetFile result=%d\n", result);
326 result = eventLogger->GetFile(sysEvent, logFile, false);
327 EXPECT_TRUE(result > 0);
332 result = eventLogger->GetFile(sysEvent, logFile, false);
333 EXPECT_TRUE(result > 0);
335 result = eventLogger->GetFile(sysEvent, logFile, true);
336 printf("GetFile result=%d\n", result);
[all...] |
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | notification_subscriber_manager.cpp | 100 ErrCode result = ERR_ANS_TASK_ERR; in AddSubscriber() local 103 return result; in AddSubscriber() 106 ffrt::task_handle handler = notificationSubQueue_->submit_h(std::bind([this, &subscriber, &subInfo, &result]() { in AddSubscriber() 107 result = this->AddSubscriberInner(subscriber, subInfo); in AddSubscriber() 111 std::to_string(subInfo->GetAppUserId()) + " " + std::to_string(result)); in AddSubscriber() 113 return result; in AddSubscriber() 125 ErrCode result = ERR_ANS_TASK_ERR; in RemoveSubscriber() local 128 return result; in RemoveSubscriber() 132 &subscribeInfo, &result]() { in RemoveSubscriber() 134 result in RemoveSubscriber() [all...] |
/base/telephony/call_manager/test/fuzztest/telephonyinteraction_fuzzer/ |
H A D | telephonyinteraction_fuzzer.cpp | 38 bool result = true; in ServiceInited() local 44 result = false; in ServiceInited() 46 return result; in ServiceInited() 183 callWaitResponse.result = static_cast<int32_t>(size); in UpdateGetWaitingResult() 204 callRestrictionResult.result = static_cast<int32_t>(size); in UpdateGetRestrictionResult() 225 callTransferResponse.result = static_cast<int32_t>(size); in UpdateGetTransferResult() 256 clipResponse.result = static_cast<int32_t>(size); in UpdateGetCallClipResult() 277 response.result = static_cast<int32_t>(size); in GetImsConfigResult() 297 response.result = static_cast<int32_t>(size); in GetImsFeatureValueResult() 317 info.result in SendMmiCodeResult() [all...] |
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ss/ |
H A D | sun8i-ss-hash.c | 124 rctx->fallback_req.result = areq->result; in sun8i_ss_hash_final() 165 rctx->fallback_req.result = areq->result; in sun8i_ss_hash_finup() 190 rctx->fallback_req.result = areq->result; in sun8i_ss_hash_digest_fb() 330 void *pad, *result; in sun8i_ss_hash_run() local 344 result = ss->flows[rctx->flow].result; in sun8i_ss_hash_run() 367 addr_res = dma_map_single(ss->dev, result, digestsiz in sun8i_ss_hash_run() [all...] |
/kernel/linux/linux-5.10/drivers/md/persistent-data/ |
H A D | dm-space-map-common.c | 169 unsigned *result) in sm_find_free() 179 *result = begin; in sm_find_free() 277 int sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result) in sm_ll_lookup_bitmap() argument 299 *result = sm_lookup_bitmap(dm_bitmap_data(blk), b); in sm_ll_lookup_bitmap() 307 uint32_t *result) in sm_ll_lookup_big_ref_count() 316 *result = le32_to_cpu(le_rc); in sm_ll_lookup_big_ref_count() 321 int sm_ll_lookup(struct ll_disk *ll, dm_block_t b, uint32_t *result) in sm_ll_lookup() argument 323 int r = sm_ll_lookup_bitmap(ll, b, result); in sm_ll_lookup() 328 if (*result != 3) in sm_ll_lookup() 331 return sm_ll_lookup_big_ref_count(ll, b, result); in sm_ll_lookup() 168 sm_find_free(void *addr, unsigned begin, unsigned end, unsigned *result) sm_find_free() argument 306 sm_ll_lookup_big_ref_count(struct ll_disk *ll, dm_block_t b, uint32_t *result) sm_ll_lookup_big_ref_count() argument 334 sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin, dm_block_t end, dm_block_t *result) sm_ll_find_free_block() argument [all...] |
/kernel/linux/linux-5.10/drivers/leds/ |
H A D | leds-blinkm.c | 295 int result; in blinkm_write() local 299 result = i2c_smbus_write_byte(client, blinkm_cmds[cmd].cmdbyte); in blinkm_write() 300 if (result < 0) in blinkm_write() 301 return result; in blinkm_write() 308 result = i2c_smbus_write_byte(client, arg[i]); in blinkm_write() 309 if (result < 0) in blinkm_write() 310 return result; in blinkm_write() 317 int result; in blinkm_read() local 322 result = i2c_smbus_read_byte(client); in blinkm_read() 323 if (result < in blinkm_read() [all...] |
/kernel/linux/linux-5.10/drivers/usb/cdns3/ |
H A D | ep0.c | 141 int result = 0; in cdns3_req_ep0_set_configuration() local 145 result = cdns3_ep0_delegate_req(priv_dev, ctrl_req); in cdns3_req_ep0_set_configuration() 147 if (result || !config) in cdns3_req_ep0_set_configuration() 152 result = cdns3_ep0_delegate_req(priv_dev, ctrl_req); in cdns3_req_ep0_set_configuration() 153 if (!config && !result) in cdns3_req_ep0_set_configuration() 164 if (result != USB_GADGET_DELAYED_STATUS) in cdns3_req_ep0_set_configuration() 170 return result; in cdns3_req_ep0_set_configuration() 535 int result; in cdns3_ep0_setup_phase() local 556 result = cdns3_ep0_standard_request(priv_dev, ctrl); in cdns3_ep0_setup_phase() 558 result in cdns3_ep0_setup_phase() [all...] |
/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | generic.c | 108 int result = 0; in usb_serial_generic_open() local 113 result = usb_serial_generic_submit_read_urbs(port, GFP_KERNEL); in usb_serial_generic_open() 115 return result; in usb_serial_generic_open() 158 int count, result; in usb_serial_generic_write_start() local 186 result = usb_submit_urb(urb, mem_flags); in usb_serial_generic_write_start() 187 if (result) { in usb_serial_generic_write_start() 189 __func__, result); in usb_serial_generic_write_start() 196 return result; in usb_serial_generic_write_start() 216 int result; in usb_serial_generic_write() local 225 result in usb_serial_generic_write() [all...] |
/kernel/linux/linux-5.10/drivers/usb/misc/ |
H A D | legousbtower.c | 312 int result; in tower_open() local 344 result = usb_control_msg_recv(dev->udev, 0, in tower_open() 350 if (result < 0) { in tower_open() 353 retval = result; in tower_open() 748 int result; in tower_probe() local 763 result = usb_find_common_endpoints_reverse(interface->cur_altsetting, in tower_probe() 767 if (result) { in tower_probe() 769 retval = result; in tower_probe() 792 result = usb_control_msg_recv(udev, 0, in tower_probe() 800 if (result) { in tower_probe() [all...] |
/kernel/linux/linux-6.6/drivers/usb/cdns3/ |
H A D | cdns3-ep0.c | 141 int result = 0; in cdns3_req_ep0_set_configuration() local 145 result = cdns3_ep0_delegate_req(priv_dev, ctrl_req); in cdns3_req_ep0_set_configuration() 147 if (result || !config) in cdns3_req_ep0_set_configuration() 152 result = cdns3_ep0_delegate_req(priv_dev, ctrl_req); in cdns3_req_ep0_set_configuration() 153 if (!config && !result) in cdns3_req_ep0_set_configuration() 164 if (result != USB_GADGET_DELAYED_STATUS) in cdns3_req_ep0_set_configuration() 170 return result; in cdns3_req_ep0_set_configuration() 535 int result; in cdns3_ep0_setup_phase() local 556 result = cdns3_ep0_standard_request(priv_dev, ctrl); in cdns3_ep0_setup_phase() 558 result in cdns3_ep0_setup_phase() [all...] |
/kernel/linux/linux-6.6/drivers/usb/misc/ |
H A D | legousbtower.c | 312 int result; in tower_open() local 344 result = usb_control_msg_recv(dev->udev, 0, in tower_open() 350 if (result < 0) { in tower_open() 353 retval = result; in tower_open() 748 int result; in tower_probe() local 763 result = usb_find_common_endpoints_reverse(interface->cur_altsetting, in tower_probe() 767 if (result) { in tower_probe() 769 retval = result; in tower_probe() 792 result = usb_control_msg_recv(udev, 0, in tower_probe() 800 if (result) { in tower_probe() [all...] |
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | generic.c | 108 int result = 0; in usb_serial_generic_open() local 113 result = usb_serial_generic_submit_read_urbs(port, GFP_KERNEL); in usb_serial_generic_open() 115 return result; in usb_serial_generic_open() 158 int count, result; in usb_serial_generic_write_start() local 186 result = usb_submit_urb(urb, mem_flags); in usb_serial_generic_write_start() 187 if (result) { in usb_serial_generic_write_start() 189 __func__, result); in usb_serial_generic_write_start() 196 return result; in usb_serial_generic_write_start() 216 int result; in usb_serial_generic_write() local 225 result in usb_serial_generic_write() [all...] |