/third_party/node/lib/internal/ |
H A D | event_target.js | 784 let result; 786 result = FunctionPrototypeCall(callback, this, arg); 791 if (result !== undefined && result !== null) 792 addCatch(result); 1038 // test, for example this input will result in a false positive:
|
/third_party/node/deps/v8/tools/ |
H A D | callstats.py | 178 result = result_template.format(domain=domain, count=count) 204 with open(result, "wt") as f: 214 if os.path.isfile(result) and os.path.getsize(result) > 0: 216 with open(result, "at") as f:
|
/third_party/node/src/ |
H A D | inspector_socket.cc | 700 TcpHolder* result = new TcpHolder(std::move(delegate)); in Accept() local 701 uv_stream_t* tcp = reinterpret_cast<uv_stream_t*>(&result->tcp_); in Accept() 702 int err = uv_tcp_init(server->loop, &result->tcp_); in Accept() 710 return TcpHolder::Pointer(result); in Accept() 712 delete result; in Accept()
|
H A D | node_options.cc | 364 AddOption("--dns-result-order", in EnvironmentOptionsParser() 682 "evaluate script and print result", in EnvironmentOptionsParser() 860 "Path to the snapshot blob that's either the result of snapshot" in PerProcessOptionsParser() 1011 const unsigned long result = // NOLINT(runtime/int) in ParseAndValidatePort() local 1014 (result != 0 && result < 1024) || result > 65535) { in ParseAndValidatePort() 1017 return static_cast<int>(result); in ParseAndValidatePort()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | collationruleparser.cpp | 135 int32_t result = parseRelationOperator(errorCode); in parseRuleChain() local 137 if(result < 0) { in parseRuleChain() 148 int32_t strength = result & STRENGTH_MASK; in parseRuleChain() 163 int32_t i = ruleIndex + (result >> OFFSET_SHIFT); // skip over the relation operator in parseRuleChain() 164 if((result & STARRED_FLAG) == 0) { in parseRuleChain()
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/ |
H A D | DumbTextComponent.java | 752 * @param width line.substring(0, result) must be <= width 825 String result = Integer.toString(ch,16).toUpperCase(); in hex() 826 result = "0000".substring(result.length(),4) + result; in hex() 827 return result; in hex()
|
/third_party/python/Lib/multiprocessing/ |
H A D | connection.py | 235 result = self._recv_bytes() 236 size = result.tell() 238 raise BufferTooShort(result.getvalue()) 240 result.seek(0) 241 result.readinto(m[offset // itemsize :
|
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_taskgroups.py | 45 self.assertEqual(t1.result(), 42) 46 self.assertEqual(t2.result(), 11) 63 self.assertEqual(t1.result(), 42) 64 self.assertEqual(t2.result(), 11) 86 self.assertEqual(t2.result(), 11)
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
H A D | vktSparseResourcesTestsUtil.cpp | 998 vk::VkFormat result = formatInfo.planes[planeNdx].planeCompatibleFormat; 1000 // redirect result for some of the YCbCr image formats 1012 auto it = std::find_if(std::begin(ycbcrFormats), std::end(ycbcrFormats), [result](const std::pair<vk::VkFormat, vk::VkFormat>& p) { return p.first == result; }); 1014 result = it->second; 1015 return result;
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationCoordinatesTests.cpp | 96 std::vector<TessLevels> result; in genTessLevelCases() local 97 result.reserve(DE_LENGTH_OF_ARRAY(rawTessLevelCases)); in genTessLevelCases() 126 result.push_back(curTessLevelCase); in genTessLevelCases() 129 DE_ASSERT(static_cast<int>(result.size()) == DE_LENGTH_OF_ARRAY(rawTessLevelCases)); in genTessLevelCases() 130 return result; in genTessLevelCases() 350 // Check that all points in reference also exist in result. 351 success = oneWayComparePointSets(log, refVisual, primitiveType, refCoords, resCoords, "reference", "result", tcu::RGBA::blue()) && success; 352 // Check that all points in result also exist in reference. 353 success = oneWayComparePointSets(log, resVisual, primitiveType, resCoords, refCoords, "result", "reference", tcu::RGBA::red()) && success; 357 log << tcu::TestLog::Message << "Note: in the following reference visualization, points that are missing in result poin [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ |
H A D | vktCustomInstancesDevices.cpp | 455 vk::VkResult result = vkp.createInstance(&createInfo, pAllocator, &raw_instance); in createUncheckedInstance() local 463 return result; in createUncheckedInstance() 598 const vk::VkDevice result = getDeviceSupportingQueue(queueFlagsRequired, videoCodecOperation, videoDeviceFlags); in VideoDevice() local 600 DE_ASSERT(result != DE_NULL); in VideoDevice() 601 DE_UNREF(result); in VideoDevice()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/ |
H A D | DisplayGLX.cpp | 927 int result; in getGLXFBConfigAttrib() local 928 mGLX.getFBConfigAttrib(config, attrib, &result); in getGLXFBConfigAttrib() 929 return result; in getGLXFBConfigAttrib() 1018 Bool result = mFunctions->makeCurrent(mBuffer, mContext); in makeCurrent() local 1019 if (result != True) in makeCurrent()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/ |
H A D | esextcGeometryShaderInput.cpp | 392 * Sets the test result to QP_TEST_RESULT_FAIL if the test failed, QP_TEST_RESULT_PASS otherwise. 408 bool result = true; in iterate() local 460 /* Map buffer object storage holding XFB result into process space. */ in iterate() 472 result = false; in iterate() 481 if (true != result) in iterate() 653 * Sets the test result to QP_TEST_RESULT_FAIL if the test failed, QP_TEST_RESULT_PASS otherwise. 691 glw::GLint* result = (glw::GLint*)gl.mapBufferRange(GL_TRANSFORM_FEEDBACK_BUFFER, 0 /* offset */, in iterate() local 697 result_value = *result; in iterate() 972 * Sets the test result to QP_TEST_RESULT_FAIL if the test failed, QP_TEST_RESULT_PASS otherwise. 1243 * Sets the test result t [all...] |
/third_party/skia/src/codec/ |
H A D | SkJpegCodec.cpp | 260 Result* result) { in MakeFromStream() 261 return SkJpegCodec::MakeFromStream(std::move(stream), result, nullptr); in MakeFromStream() 265 Result* result, std::unique_ptr<SkEncodedInfo::ICCProfile> defaultColorProfile) { in MakeFromStream() 267 *result = ReadHeader(stream.get(), &codec, nullptr, std::move(defaultColorProfile)); in MakeFromStream() 268 if (kSuccess == *result) { in MakeFromStream() 259 MakeFromStream(std::unique_ptr<SkStream> stream, Result* result) MakeFromStream() argument 264 MakeFromStream(std::unique_ptr<SkStream> stream, Result* result, std::unique_ptr<SkEncodedInfo::ICCProfile> defaultColorProfile) MakeFromStream() argument
|
/third_party/skia/src/effects/imagefilters/ |
H A D | SkBlurImageFilter.cpp | 931 sk_sp<SkSpecialImage> result; in onFilterImage() local 938 result = this->gpuFilter(ctx, sigma, input, inputBounds, dstBounds, inputOffset, in onFilterImage() 949 result = cpu_blur(ctx, sigma, input, inputBounds, dstBounds); in onFilterImage() 953 if (result != nullptr) { in onFilterImage() 956 return result; in onFilterImage()
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
H A D | LLVMJIT.cpp | 26 __pragma(warning(disable : 4146)) // unary minus operator applied to unsigned type, result still unsigned 310 int result = 0; in flagsToPermissions() local 313 result |= rr::PERMISSION_READ; in flagsToPermissions() 317 result |= rr::PERMISSION_WRITE; in flagsToPermissions() 321 result |= rr::PERMISSION_EXECUTE; in flagsToPermissions() 323 return result; in flagsToPermissions()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | upgrade_memory_model.cpp | 744 // The result is now a struct of the original result. The zero'th element is in UpgradeExtInst() 745 // old result and should replace the old result. The one'th element needs to in UpgradeExtInst() 762 uint32_t result = 1; in MemoryAccessNumWords() local 763 if (mask & SpvMemoryAccessAlignedMask) ++result; in MemoryAccessNumWords() 764 if (mask & SpvMemoryAccessMakePointerAvailableKHRMask) ++result; in MemoryAccessNumWords() 765 if (mask & SpvMemoryAccessMakePointerVisibleKHRMask) ++result; in MemoryAccessNumWords() 766 return result; in MemoryAccessNumWords()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | upgrade_memory_model.cpp | 744 // The result is now a struct of the original result. The zero'th element is in UpgradeExtInst() 745 // old result and should replace the old result. The one'th element needs to in UpgradeExtInst() 762 uint32_t result = 1; in MemoryAccessNumWords() local 763 if (mask & SpvMemoryAccessAlignedMask) ++result; in MemoryAccessNumWords() 764 if (mask & SpvMemoryAccessMakePointerAvailableKHRMask) ++result; in MemoryAccessNumWords() 765 if (mask & SpvMemoryAccessMakePointerVisibleKHRMask) ++result; in MemoryAccessNumWords() 766 return result; in MemoryAccessNumWords()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | collationruleparser.cpp | 133 int32_t result = parseRelationOperator(errorCode); in parseRuleChain() local 135 if(result < 0) { in parseRuleChain() 146 int32_t strength = result & STRENGTH_MASK; in parseRuleChain() 161 int32_t i = ruleIndex + (result >> OFFSET_SHIFT); // skip over the relation operator in parseRuleChain() 162 if((result & STARRED_FLAG) == 0) { in parseRuleChain()
|
/third_party/skia/tests/ |
H A D | SkRuntimeEffectTest.cpp | 888 FpAndKey result; in DEF_GPUTEST_FOR_ALL_CONTEXTS() 889 result.fp = GrSkSLFP::Make(std::move(effect), "color_fp", /*inputFP=*/nullptr, in DEF_GPUTEST_FOR_ALL_CONTEXTS() 892 GrProcessorKeyBuilder builder(&result.key); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 893 result.fp->addToKey(*ctxInfo.directContext()->priv().caps()->shaderCaps(), &builder); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 895 return result; in DEF_GPUTEST_FOR_ALL_CONTEXTS()
|
/third_party/skia/src/sksl/ |
H A D | SkSLAnalysis.cpp | 314 SampleUsage result = visitor.visit(program); in GetSampleUsage() local 321 result.setKind(SampleUsage::Kind::kPassThrough); in GetSampleUsage() 323 return result; in GetSampleUsage() 497 bool result = this->visitStatement(*f.statement()); variable 499 return result;
|
/third_party/python/Lib/test/ |
H A D | test_tokenize.py | 23 result = [] 34 result.append(f" {type:10} {token!r:13} {start} {end}") 36 return result 49 result = stringify_tokens_from_source(tokenize(f.readline), s) 50 self.assertEqual(result, 954 result = stringify_tokens_from_source(generate_tokens(f.readline), s) 955 self.assertEqual(result, expected.rstrip().splitlines()) 959 result = [] 963 result.extend([ 970 result [all...] |
H A D | test_urllib2_localnet.py | 380 with self.opener.open(self.URL) as result: 381 while result.read(): 389 result = self.opener.open(self.URL) 396 with result: 397 while result.read():
|
/third_party/selinux/libsepol/src/ |
H A D | conditional.c | 196 cond_node_t *result = cond_node_find(p, cn, list, &was_created); in cond_node_search() local 197 if (result != NULL && was_created) { in cond_node_search() 199 result->next = p->cond_list; in cond_node_search() 200 p->cond_list = result; in cond_node_search() 202 return result; in cond_node_search() 304 * a cond_node_t and if the result is different than the 306 * list appropriately. If the result of the expression is undefined 318 WARN(NULL, "expression result was undefined - disabling all rules."); in evaluate_cond_node() 423 ERR(NULL, "While testing expression, expression result " in cond_normalize_expr() 859 * av table, and if so, add them to the result [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | ir_builder.h | 160 // Use |result| for the result id if non-zero. 163 uint32_t result = 0) { in AddNaryOp() 171 result != 0 ? result : GetContext()->TakeNextId(), ops)); in AddNaryOp() 288 uint32_t result = 0) { in AddPhi() 290 return AddNaryOp(type, spv::Op::OpPhi, incomings, result); in AddPhi()
|