/third_party/python/Lib/test/ |
H A D | mock_socket.py | 25 result = self.lines.pop(0) + b'\r\n' 28 self.lines.insert(0, result[limit:-2]) 29 result = result[:limit] 30 return result
|
/third_party/python/Lib/idlelib/ |
H A D | outwin.py | 140 result = file_line_helper(line) 141 if not result: 146 result = file_line_helper(line) 147 if not result: 154 filename, lineno = result
|
/third_party/skia/third_party/externals/angle2/src/tests/deqp_support/ |
H A D | angle_deqp_libtester_main.cpp | 157 const tcu::TestStatus &result = g_executor->execute(caseName); in deqp_libtester_run() local 158 switch (result.getCode()) in deqp_libtester_run() 163 std::cout << "Not supported! " << result.getDescription() << std::endl; in deqp_libtester_run() 166 std::cout << "Quality warning! " << result.getDescription() << std::endl; in deqp_libtester_run() 169 std::cout << "Compatiblity warning! " << result.getDescription() << std::endl; in deqp_libtester_run()
|
/third_party/skia/src/gpu/ |
H A D | GrProcessorAnalysis.h | 66 GrProcessorAnalysisColor result; in Combine() local 69 result.fColor = a.fColor; in Combine() 70 result.fFlags = a.fFlags; in Combine() 72 result.fFlags = kIsOpaque_Flag; in Combine() 74 return result; in Combine() 105 * the first fragment processor. This result assumes that processors that should be eliminated 113 * Do any of the fragment processors require local coords. This result assumes that 130 * If we detected that the result after the first N processors is a known color then we
|
/third_party/skia/src/gpu/dawn/ |
H A D | GrDawnTexture.cpp | 54 sk_sp<GrDawnTexture> result; in Make() local 56 result = sk_sp<GrDawnTextureRenderTarget>(new GrDawnTextureRenderTarget(gpu, in Make() 62 result = sk_sp<GrDawnTexture>( in Make() 65 result->registerWithCache(budgeted); in Make() 66 return result; in Make()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkSemaphoreExternalLinux.hpp | 81 bool result = (--ref_count == 0); in deref() local 83 return result; in deref() 107 bool result = signaled; in tryWait() local 108 if(result) in tryWait() 113 return result; in tryWait()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | vzone.h | 131 * @param result Output param to filled in with the VTIMEZONE data. 132 * @param resultLength, length of the result output 136 vzone_write(VZone* zone, UChar* & result, int32_t & resultLength, UErrorCode& status); 143 * @param result Output param to filled in with the VTIMEZONE data. 144 * @param resultLength, length of the result output 148 vzone_writeFromStart(VZone* zone, UDate start, UChar* & result, int32_t & resultLength, UErrorCode& status); 160 * @param result Output param to filled in with the VTIMEZONE data. 164 vzone_writeSimple(VZone* zone, UDate time, UChar* & result, int32_t & resultLength, UErrorCode& status); 305 * @param result Receives the first transition after the base time. 309 vzone_getNextTransition(VZone* zone, UDate base, UBool inclusive, ZTrans* result); [all...] |
/third_party/skia/third_party/externals/icu/source/samples/numfmt/ |
H A D | main.cpp | 61 Formattable result; in cppapi() local 62 fmt->parse(str, result, status); in cppapi() 65 printf("NumberFormat::parse(\""); // Display the result in cppapi() 68 uprintf(formattableToString(result)); in cppapi() 74 fmt->format(result, str, status); in cppapi() 77 printf("NumberFormat::format("); // Display the result in cppapi() 78 uprintf(formattableToString(result)); in cppapi()
|
H A D | util.cpp | 118 UnicodeString result((UChar)U_LEFT_SQUARE_BRACKET); in formattableToString() 121 (result += (UChar)U_COMMA) += (UChar)U_SPACE; in formattableToString() 123 result += formattableToString(array[i]); in formattableToString() 125 result += (UChar)U_RIGHT_SQUARE_BRACKET; in formattableToString() 126 return result; in formattableToString()
|
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
H A D | filetools.cpp | 109 int32_t result = 0; in whichFileModTimeIsLater() local 121 result = 2; in whichFileModTimeIsLater() 123 result = 1; in whichFileModTimeIsLater() 128 result = -1; in whichFileModTimeIsLater() 131 return result; in whichFileModTimeIsLater()
|
H A D | flagparser.cpp | 30 int32_t result = 0; in parseFlagsFile() local 75 result = currentBufferSize; in parseFlagsFile() 77 result = -1; in parseFlagsFile() 106 if (U_SUCCESS(*status) && result == 0) { in parseFlagsFile() 110 return result; in parseFlagsFile()
|
/third_party/skia/src/sksl/ir/ |
H A D | SkSLConstructor.h | 37 String result = this->type().description() + "("; variable 40 result += separator; 41 result += arg->description(); 44 result += ")"; 45 return result;
|
H A D | SkSLIfStatement.cpp | 27 String result; in description() local 29 result += "@"; in description() 31 result += "if (" + this->test()->description() + ") " + this->ifTrue()->description(); in description() 33 result += " else " + this->ifFalse()->description(); in description() 35 return result; in description()
|
/third_party/skia/third_party/externals/freetype/src/cid/ |
H A D | cidriver.c | 54 const char* result = face->cid.cid_font_name; in cid_get_postscript_name() local 57 if ( result && result[0] == '/' ) in cid_get_postscript_name() 58 result++; in cid_get_postscript_name() 60 return result; in cid_get_postscript_name()
|
/third_party/skia/third_party/externals/tint/fuzzers/tint_ast_fuzzer/ |
H A D | cli.cc | 123 auto result = FuzzingTarget::kNone; in ParseCliParams() local 131 result = result | tmp; in ParseCliParams() 134 if (result == FuzzingTarget::kNone) { in ParseCliParams() 138 cli_params.fuzzing_target = result; in ParseCliParams()
|
/third_party/skia/third_party/externals/tint/src/writer/spirv/ |
H A D | test_helper.h | 76 auto result = Sanitize(program.get()); in SanitizeAndBuild() local 78 ASSERT_TRUE(result.program.IsValid()) in SanitizeAndBuild() 79 << diag::Formatter().format(result.program.Diagnostics()); in SanitizeAndBuild() 81 *program = std::move(result.program); in SanitizeAndBuild() 93 auto binary = writer.result(); in Validate()
|
/third_party/skia/third_party/externals/tint/src/writer/wgsl/ |
H A D | generator_impl_global_decl_test.cc | 38 EXPECT_EQ(gen.result(), R"( [[stage(compute), workgroup_size(1, 1, 1)]] in TEST_F() 78 EXPECT_EQ(gen.result(), R"( var<private> a0 : f32; in TEST_F() 115 EXPECT_EQ(gen.result(), " [[group(0), binding(0)]] var s : sampler;\n"); in TEST_F() 131 EXPECT_EQ(gen.result(), in TEST_F() 144 EXPECT_EQ(gen.result(), R"( [[override]] let a : f32; in TEST_F()
|
/third_party/python/Objects/ |
H A D | boolobject.c | 20 PyObject *result; in PyBool_FromLong() local 23 result = Py_True; in PyBool_FromLong() 25 result = Py_False; in PyBool_FromLong() 26 Py_INCREF(result); in PyBool_FromLong() 27 return result; in PyBool_FromLong()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | mutex.h | 151 T* result = static_cast<T*>(pthread_getspecific(key_)); in Get() local 152 if (result == nullptr) { in Get() 153 result = new T(); in Get() 154 pthread_setspecific(key_, result); in Get() 156 return result; in Get()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
H A D | mock_helpers.h | 74 ReturnT result; in InvokeMockImpl() local 76 &result)) { in InvokeMockImpl() 77 return result; in InvokeMockImpl() 86 void* args_tuple, void* result) { in PrivateInvokeMock() 87 return urbg->InvokeMock(type, args_tuple, result); in PrivateInvokeMock() 85 PrivateInvokeMock(URBG* urbg, IdType type, void* args_tuple, void* result) PrivateInvokeMock() argument
|
/third_party/selinux/libselinux/src/ |
H A D | ignore_path.c | 92 bool result = true; in load_ignore_cfg_from_file() local 113 return result; in load_ignore_cfg_from_file() 121 bool result = true; in load_ignore_cfg() local 129 result = false; in load_ignore_cfg() 131 return result; in load_ignore_cfg()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fBooleanStateQueryTests.cpp | 76 tcu::ResultCollector result(m_testCtx.getLog(), " // ERROR: "); in iterate() 80 verifyStateBoolean(result, *this, m_targetName, m_initial, m_verifier); in iterate() 86 verifyStateBoolean(result, *this, m_targetName, true, m_verifier); in iterate() 90 verifyStateBoolean(result, *this, m_targetName, false, m_verifier); in iterate() 92 result.setTestContextResult(m_testCtx); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/ |
H A D | vktVideoSessionNvUtils.cpp | 108 bool result = true; in deinitialize() local 112 result = m_vulkanVideoDecodeParser->Deinitialize(); in deinitialize() 117 return result; in deinitialize() 133 bool result = m_vulkanVideoDecodeParser->ParseByteStream(&pkt, &parsed); in parseByteStream() local 135 return result && (parsed > 0); in parseByteStream()
|
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglInfoTests.cpp | 91 void validateString (const std::string& result) in validateString() argument 94 std::vector<std::string> tokens = de::splitString(result, ' '); in validateString() 126 const char* result = egl.queryString(m_display, m_query); in iterate() local 129 m_testCtx.getLog() << tcu::TestLog::Message << result << tcu::TestLog::EndMessage; in iterate() 132 validateString(result); in iterate()
|
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/ |
H A D | app_mgr_proxy.cpp | 196 int result = reply.ReadInt32(); in GetAllRunningProcesses() local 197 return result; in GetAllRunningProcesses() 218 int result = reply.ReadInt32(); in GetRunningMultiAppInfoByBundleName() local 219 return result; in GetRunningMultiAppInfoByBundleName() 235 int32_t result = reply.ReadInt32(); in GetAllRunningInstanceKeysBySelf() local 236 return result; in GetAllRunningInstanceKeysBySelf() 255 int32_t result = reply.ReadInt32(); in GetAllRunningInstanceKeysByBundleName() local 256 return result; in GetAllRunningInstanceKeysByBundleName() 278 int result = reply.ReadInt32(); in GetRunningProcessesByBundleType() local 279 return result; in GetRunningProcessesByBundleType() 298 int result = reply.ReadInt32(); GetAllRenderProcesses() local 318 int result = reply.ReadInt32(); GetAllChildrenProcesses() local 356 int result = reply.ReadInt32(); GetProcessRunningInfosByUserId() local 455 int32_t result = SendRequest(code, data, reply, option); SendTransactCmd() local 764 auto result = reply.ReadInt32(); PreStartNWebSpawnProcess() local 813 auto result = reply.ReadInt32(); StartRenderProcess() local 893 auto result = reply.ReadInt32(); GetRenderProcessTerminationStatus() local 1357 auto result = reply.ReadInt32(); GetProcessMemoryByPid() local 1614 auto result = reply.ReadInt32(); StartChildProcess() local 1633 auto result = reply.ReadInt32(); GetChildProcessInfoForSelf() local 1782 auto result = reply.ReadInt32(); GetAppRunningUniqueIdByPid() local [all...] |