/foundation/distributedhardware/device_manager/test/unittest/ |
H A D | UTTest_ipc_cmd_parser_client.cpp | 589 int32_t result = 1; in HWTEST_F() local 594 data.WriteInt32(result); in HWTEST_F() 612 int32_t result = 1; in HWTEST_F() local 616 data.WriteInt32(result); in HWTEST_F() 672 int32_t result = 1; in HWTEST_F() local 674 data.WriteInt32(result); in HWTEST_F() 689 int32_t result = 1; in HWTEST_F() local 691 data.WriteInt32(result); in HWTEST_F() 706 int32_t result = 1; in HWTEST_F() local 710 data.WriteInt32(result); in HWTEST_F() [all...] |
/test/xts/hats/hdf/input/hdi_passthrough/ |
H A D | hdf_input_hdi_test.cpp | 855 std::string result; in HWTEST_F() local 858 ret = g_inputInterfaces->RunCapacitanceTest(TOUCH_INDEX, testType, result, TEST_RESULT_LEN); in HWTEST_F() 880 std::string result; in HWTEST_F() local 883 ret = g_inputInterfaces->RunCapacitanceTest(TOUCH_INDEX, testType, result, TEST_RESULT_LEN); in HWTEST_F() 905 std::string result; in HWTEST_F() local 908 ret = g_inputInterfaces->RunCapacitanceTest(TOUCH_INDEX, testType, result, TEST_RESULT_LEN); in HWTEST_F() 930 std::string result; in HWTEST_F() local 933 ret = g_inputInterfaces->RunCapacitanceTest(TOUCH_INDEX, testType, result, TEST_RESULT_LEN); in HWTEST_F() 955 std::string result; in HWTEST_F() local 958 ret = g_inputInterfaces->RunCapacitanceTest(INVALID_INDEX, testType, result, TEST_RESULT_LE in HWTEST_F() [all...] |
/third_party/backends/backend/ |
H A D | plustek-pp_ptdrv.c | 655 DBG( DBG_HIGH, "ioctl() failed - result = %i\n", retval ); in ptdrvIoctl() 1056 "pt_drv%u: calibration failed, result = %i\n", in ptdrvRead() 1213 int result = _OK; in PtDrvInit() local 1218 result = sanei_pp_open( dev_name, &fd ); in PtDrvInit() 1219 if( SANE_STATUS_GOOD != result ) in PtDrvInit() 1220 return result; in PtDrvInit() 1225 result = ptdrvInit( 0 ); in PtDrvInit() 1227 if( _OK == result ) { in PtDrvInit() 1233 return result; in PtDrvInit() 1238 int result; in PtDrvShutdown() local [all...] |
/third_party/gn/src/gn/ |
H A D | ohos_components_checker.cc | 221 auto result = std::find(all_deps_config_.begin(), all_deps_config_.end(), label);
in InterceptAllDepsConfig() local 222 if (result != all_deps_config_.end()) {
in InterceptAllDepsConfig() 238 auto result = std::find(includes_over_range_.begin(), includes_over_range_.end(), label);
in InterceptIncludesOverRange() local 239 if (result != includes_over_range_.end()) {
in InterceptIncludesOverRange() 272 auto result = std::find(innerapi_not_lib_.begin(), innerapi_not_lib_.end(), label);
in InterceptInnerApiNotLib() local 273 if (result != innerapi_not_lib_.end()) {
in InterceptInnerApiNotLib() 315 auto result = std::find(innerapi_not_declare_.begin(), innerapi_not_declare_.end(), label);
in InterceptInnerApiNotDeclare() local 316 if (result != innerapi_not_declare_.end()) {
in InterceptInnerApiNotDeclare() 604 auto result = std::find(visibility.begin(), visibility.end(), from_component->name());
in CheckInnerApiVisibilityDenied() local 605 if (result ! in CheckInnerApiVisibilityDenied() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | NumberFormatDataDrivenTest.java | 138 StringBuilder result = new StringBuilder(); 143 result.append("Expected toPattern=" + expected + ", got " + actual); 150 result.append("Expected toLocalizedPattern=" + expected + ", got " + actual); 153 return result.length() == 0 ? null : result.toString(); 315 StringBuilder result = new StringBuilder(); 320 result.append("Expected toPattern=" + expected + ", got " + actual); 327 result.append("Expected toLocalizedPattern=" + expected + ", got " + actual); 330 return result.length() == 0 ? null : result [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | NumberFormatDataDrivenTest.java | 141 StringBuilder result = new StringBuilder(); 146 result.append("Expected toPattern=" + expected + ", got " + actual); 153 result.append("Expected toLocalizedPattern=" + expected + ", got " + actual); 156 return result.length() == 0 ? null : result.toString(); 318 StringBuilder result = new StringBuilder(); 323 result.append("Expected toPattern=" + expected + ", got " + actual); 330 result.append("Expected toLocalizedPattern=" + expected + ", got " + actual); 333 return result.length() == 0 ? null : result [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | region.cpp | 182 int32_t result = ICU_Utility::parseAsciiInteger(r->idStr, pos); in loadRegionData() local 184 r->code = result; // Convert string to number in loadRegionData() 252 int32_t result = ICU_Utility::parseAsciiInteger(aliasFromRegion->idStr, pos); in loadRegionData() local 254 aliasFromRegion->code = result; // Convert string to number in loadRegionData() 300 int32_t result = ICU_Utility::parseAsciiInteger(codeMappingNumber, pos); in loadRegionData() local 302 r->code = result; // Convert string to number in loadRegionData() 637 UVector result(nullptr, uhash_compareChars, status); in getContainedRegions() 647 result.addElement(const_cast<UnicodeString *>(&r->idStr), status); in getContainedRegions() 653 result.addElement(const_cast<UnicodeString *>(&r2->idStr), status); in getContainedRegions() 658 new RegionNameEnumeration(&result, statu in getContainedRegions() [all...] |
/third_party/libcoap/src/ |
H A D | coap_debug.c | 170 unsigned char *result, size_t buflen, int encode_always) { in print_readable() 182 *result++ = *data; in print_readable() 189 *result++ = '\\'; in print_readable() 190 *result++ = 'x'; in print_readable() 191 *result++ = hex[(*data & 0xf0) >> 4]; in print_readable() 192 *result++ = hex[*data & 0x0f]; in print_readable() 202 *result = '\0'; /* add a terminating zero */ in print_readable() 609 unsigned char *result, unsigned int buflen) { in print_content_format() 654 return snprintf((char *)result, buflen, "%s", formats[i].name); in print_content_format() 659 return snprintf((char *)result, bufle in print_content_format() 169 print_readable(const uint8_t *data, size_t len, unsigned char *result, size_t buflen, int encode_always) print_readable() argument 608 print_content_format(unsigned int format_type, unsigned char *result, unsigned int buflen) print_content_format() argument [all...] |
/third_party/mesa3d/src/gallium/frontends/omx/bellagio/ |
H A D | vid_dec_h265.c | 653 struct dpb_list *entry, *result = NULL; in vid_dec_h265_Flush() local 659 if (result && entry->poc == 0) in vid_dec_h265_Flush() 662 if (!result || entry->poc < result->poc) in vid_dec_h265_Flush() 663 result = entry; in vid_dec_h265_Flush() 666 if (!result) in vid_dec_h265_Flush() 669 buf = result->buffer; in vid_dec_h265_Flush() 671 *timestamp = result->timestamp; in vid_dec_h265_Flush() 674 list_del(&result->list); in vid_dec_h265_Flush() 675 FREE(result); in vid_dec_h265_Flush() [all...] |
/third_party/mesa3d/src/gallium/tools/trace/ |
H A D | dump_state.py | 111 self.result = None 114 self.result = None 116 return self.result 119 self.result = node.value 122 self.result = node 125 self.result = node.name 131 self.result = array 139 self.result = struct 142 self.result = self.interpreter.lookup_object(node.address) 786 self.result [all...] |
/third_party/node/deps/histogram/src/ |
H A D | hdr_histogram.c | 128 int64_t result = 1; in power() local 131 result *= base; exp--; in power() 133 return result; in power() 412 struct hdr_histogram** result) in hdr_init() 440 *result = histogram; in hdr_init() 453 int hdr_alloc(int64_t highest_trackable_value, int significant_figures, struct hdr_histogram** result) in hdr_alloc() argument 455 return hdr_init(1, highest_trackable_value, significant_figures, result); in hdr_alloc() 875 bool result = move_next(iter); in all_values_iter_next() local 877 if (result) in all_values_iter_next() 882 return result; in all_values_iter_next() 408 hdr_init( int64_t lowest_discernible_value, int64_t highest_trackable_value, int significant_figures, struct hdr_histogram** result) hdr_init() argument [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | region.cpp | 182 int32_t result = ICU_Utility::parseAsciiInteger(r->idStr, pos); in loadRegionData() local 184 r->code = result; // Convert string to number in loadRegionData() 252 int32_t result = ICU_Utility::parseAsciiInteger(aliasFromRegion->idStr, pos); in loadRegionData() local 254 aliasFromRegion->code = result; // Convert string to number in loadRegionData() 300 int32_t result = ICU_Utility::parseAsciiInteger(codeMappingNumber, pos); in loadRegionData() local 302 r->code = result; // Convert string to number in loadRegionData() 637 UVector result(nullptr, uhash_compareChars, status); in getContainedRegions() 647 result.addElement(const_cast<UnicodeString *>(&r->idStr), status); in getContainedRegions() 653 result.addElement(const_cast<UnicodeString *>(&r2->idStr), status); in getContainedRegions() 658 new RegionNameEnumeration(&result, statu in getContainedRegions() [all...] |
/third_party/node/deps/v8/src/runtime/ |
H A D | runtime-literals.cc | 314 MaybeHandle<JSObject> result = v.StructureWalk(object); in DeepWalk() local 316 DCHECK(!result.ToHandle(&for_assert) || for_assert.is_identical_to(object)); in DeepWalk() 317 return result; in DeepWalk() 323 MaybeHandle<JSObject> result = v.StructureWalk(object); in DeepWalk() local 325 DCHECK(!result.ToHandle(&for_assert) || for_assert.is_identical_to(object)); in DeepWalk() 326 return result; in DeepWalk() 494 Handle<JSObject> result = in CreateArrayLiteral() local 496 fixed_array_values_copy->set(i, *result); in CreateArrayLiteral() 503 Handle<JSObject> result = CreateObjectLiteral( in CreateArrayLiteral() local 505 fixed_array_values_copy->set(i, *result); in CreateArrayLiteral() [all...] |
H A D | runtime-internal.cc | 117 // If the result of a BigInt computation is truncated to 64 bit, Turbofan in RUNTIME_FUNCTION() 486 Handle<SeqOneByteString> result; in RUNTIME_FUNCTION() 488 isolate, result, isolate->factory()->NewRawOneByteString(length)); in RUNTIME_FUNCTION() 489 return *result; in RUNTIME_FUNCTION() 497 Handle<SeqTwoByteString> result; in RUNTIME_FUNCTION() 499 isolate, result, isolate->factory()->NewRawTwoByteString(length)); in RUNTIME_FUNCTION() 500 return *result; in RUNTIME_FUNCTION() 579 // Without arguments, the result is returned as a string. in RUNTIME_FUNCTION() 582 Handle<String> result = isolate->factory()->NewStringFromAsciiChecked( in RUNTIME_FUNCTION() local 585 return *result; in RUNTIME_FUNCTION() 717 Handle<String> result = isolate->factory()->NewStringFromAsciiChecked(str); RUNTIME_FUNCTION() local [all...] |
H A D | runtime-wasm.cc | 124 bool result = internal::wasm::TypecheckJSObject(isolate, module, value, type, in RUNTIME_FUNCTION() local 126 return Smi::FromInt(result); in RUNTIME_FUNCTION() 311 Object result = isolate->stack_guard()->HandleInterrupts(); in RUNTIME_FUNCTION() local 312 if (result.IsException()) return result; in RUNTIME_FUNCTION() 518 int result = WasmTableObject::Grow(isolate, table, delta, value); in RUNTIME_FUNCTION() local 520 return Smi::FromInt(result); in RUNTIME_FUNCTION() 792 i::Handle<i::Object> result; in RUNTIME_FUNCTION() local 796 .ToHandle(&result); in RUNTIME_FUNCTION() 799 return *result; in RUNTIME_FUNCTION() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
H A D | vktYCbCrImageQueryTests.cpp | 128 spec.outputs.push_back(Symbol("result", glu::VarType(resultType, glu::PRECISION_HIGHP))); in getShaderSpec() 134 string("result = ") + expr + ";\n"; in getShaderSpec() 490 UVec2 result (~0u, ~0u); in testImageQuery() 492 void* outputs[] = { result.getPtr() }; in testImageQuery() 504 if (result != reference) in testImageQuery() 508 << ": got " << result in testImageQuery() 518 if (result.x() != 1u) in testImageQuery() 522 << ": got " << result.x() in testImageQuery() 735 const Vec2 result = resultImg.getPixel(x, y).swizzle(0,1); in testImageQueryLod() local 736 const bool levelOk = result in testImageQueryLod() [all...] |
/third_party/skia/third_party/externals/dawn/generator/ |
H A D | dawn_json_generator.py | 70 result = self.chunks[0].lower() 72 if not result[-1].isdigit(): 73 result += '-' 74 result += chunk.lower() 75 return result 239 # nextInChain, so setting both extensible and chained would result in 378 result = sorted(structs, key=lambda struct: struct.subdag_depth) 384 return result 500 # result object handle 502 result [all...] |
/third_party/skia/third_party/externals/freetype/src/base/ |
H A D | ftcalc.c | 539 * the result of right-shift of a negative signed value is in FT_EXPORT_DEF() 630 /* compute result directly */ in FT_EXPORT_DEF() 998 FT_Int result; in FT_BASE_DEF() 1009 result = +1; in FT_BASE_DEF() 1011 result = -1; in FT_BASE_DEF() 1013 result = 0; in FT_BASE_DEF() 1025 result = +1; in FT_BASE_DEF() 1027 result = -1; in FT_BASE_DEF() 1029 result = +1; in FT_BASE_DEF() 1031 result in FT_BASE_DEF() [all...] |
/third_party/skia/tools/perf-canvaskit-puppeteer/ |
H A D | canvas_perf.js | 378 ctx.result = CanvasKit.Matrix.multiply(ctx.first, ctx.second); 379 if (ctx.result.length === 18) { 380 throw 'this is here to keep the result from being optimized away'; 416 ctx.result = CanvasKit.Matrix.invert(ctx.matr); 417 if (ctx.result.length === 18) { 418 throw 'this is here to keep the result from being optimized away'; 472 ctx.result = CanvasKit.M44.multiply(ctx.first, ctx.second); 473 if (ctx.result.length === 18) { 474 throw 'this is here to keep the result from being optimized away'; 490 const result [all...] |
/third_party/vixl/src/aarch64/ |
H A D | instructions-aarch64.cc | 41 uint64_t result = value & ((UINT64_C(1) << width) - 1); in RepeatBitsAcrossReg() local 43 result |= (result << i); in RepeatBitsAcrossReg() 45 return result; in RepeatBitsAcrossReg() 780 uint16_t result = (bit7 << 15) | ((4 - bit6) << 12) | (bit5_to_0 << 6); in Imm8ToFloat16() local 781 return RawbitsToFloat16(result); in Imm8ToFloat16() 793 uint32_t result = (bit7 << 31) | ((32 - bit6) << 25) | (bit5_to_0 << 19); in Imm8ToFP32() local 795 return RawbitsToFloat(result); in Imm8ToFP32() 814 uint64_t result = (bit7 << 63) | ((256 - bit6) << 54) | (bit5_to_0 << 48); in Imm8ToFP64() local 816 return RawbitsToDouble(result); in Imm8ToFP64() [all...] |
/third_party/protobuf/src/google/protobuf/io/ |
H A D | zero_copy_stream_unittest.cc | 225 int result = output->ByteCount(); in WriteStuff() local 226 return result; in WriteStuff() 257 int result = output->ByteCount(); in WriteStuffLarge() local 258 return result; in WriteStuffLarge() 541 std::string result; in Compress() local 543 StringOutputStream output(&result); in Compress() 547 return result; in Compress() 551 std::string result; in Uncompress() local 558 result.append(reinterpret_cast<const char*>(buffer), size); in Uncompress() 561 return result; in Uncompress() [all...] |
/third_party/python/Lib/tomllib/ |
H A D | _parser.py | 535 result = src[pos:end_pos] 539 pos, result = parse_basic_str(src, pos, multiline=True) 544 return pos, result 547 return pos, result + delim 549 return pos, result + (delim * 2) 559 result = "" 568 return pos + 1, result + src[start_pos:pos] 570 return pos + 3, result + src[start_pos:pos] 574 result += src[start_pos:pos] 576 result [all...] |
/third_party/python/Python/ |
H A D | ast_unparse.c | 577 PyObject *result; in escape_braces() local 582 result = PyUnicode_Replace(temp, &_Py_STR(close_br), &_Py_STR(dbl_close_br), -1); in escape_braces() 584 return result; in escape_braces() 591 int result = -1; in append_fstring_unicode() local 594 result = _PyUnicodeWriter_WriteStr(writer, escaped); in append_fstring_unicode() 597 return result; in append_fstring_unicode() 645 int result = -1; in append_joinedstr() local 655 result = 0; in append_joinedstr() 659 result = _PyUnicodeWriter_WriteStr(writer, body); in append_joinedstr() 662 return result; in append_joinedstr() [all...] |
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | CodedOutputStreamTest.java | 494 byte[] result = outputStream.toByteArray(); in testWriteByteBuffer() 495 assertEquals(6, result.length); in testWriteByteBuffer() 497 assertEquals(value[i], result[i]); in testWriteByteBuffer() 499 assertEquals(value[2], result[5]); in testWriteByteBuffer() 647 * Parses the given bytes using writeRawLittleEndian32() and checks that the result matches the 668 * Parses the given bytes using writeRawLittleEndian64() and checks that the result matches the 706 char[] result = new char[length]; in fullString() 707 Arrays.fill(result, c); in fullString() 708 return new String(result); in fullString() 725 List<Byte> result in toList() [all...] |
/third_party/protobuf/js/experimental/runtime/kernel/ |
H A D | writer_test.js | 152 const result = writer.getAndResetResultBuffer(); 153 expect(result).toEqual(arrayBufferSlice(expected, 1, 3)); 163 const result = writer.getAndResetResultBuffer(); 164 expect(result).toEqual(arrayBufferSlice(expected, 1, 9)); 174 const result = writer.getAndResetResultBuffer(); 175 expect(result).toEqual(arrayBufferSlice(expected, 1, 5)); 185 const result = writer.getAndResetResultBuffer(); 186 expect(result).toEqual(arrayBufferSlice(expected, 1, 6)); 196 const result = writer.getAndResetResultBuffer(); 197 expect(result) [all...] |