/third_party/json/include/nlohmann/detail/output/ |
H A D | binary_writer.hpp | 1111 const std::size_t embedded_document_size = std::accumulate(std::begin(value), std::end(value), static_cast<std::size_t>(0), [&array_index](std::size_t result, const typename BasicJsonType::array_t::value_type & el) in calc_bson_array_size() 1113 return result + calc_bson_element_size(std::to_string(array_index++), el); in calc_bson_array_size() 1262 [](size_t result, const typename BasicJsonType::object_t::value_type & el) in calc_bson_object_size() 1264 return result += calc_bson_element_size(el.first, el.second); in calc_bson_object_size() 1806 CharType result; variable 1807 std::memcpy(&result, &x, sizeof(x)); 1808 return result;
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
H A D | ecma-builtin-array-prototype.c | 1012 * sort to the end of the result, followed by non-existent property values. in ecma_builtin_array_prototype_object_sort_compare_helper() 1027 ecma_number_t result = ECMA_NUMBER_ZERO; in ecma_builtin_array_prototype_object_sort_compare_helper() local 1047 result = ECMA_NUMBER_MINUS_ONE; in ecma_builtin_array_prototype_object_sort_compare_helper() 1051 result = ECMA_NUMBER_ONE; in ecma_builtin_array_prototype_object_sort_compare_helper() 1055 result = ECMA_NUMBER_ZERO; in ecma_builtin_array_prototype_object_sort_compare_helper() 1091 result = ret_num; in ecma_builtin_array_prototype_object_sort_compare_helper() 1095 result = ecma_get_number_from_value (call_value); in ecma_builtin_array_prototype_object_sort_compare_helper() 1101 return ecma_make_number_value (result); in ecma_builtin_array_prototype_object_sort_compare_helper()
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_nir_to_llvm.c | 219 LLVMValueRef result; in load_sample_position() local 229 result = ac_build_load_invariant(&ctx->ac, ptr, sample_id); in load_sample_position() 231 return result; in load_sample_position() 295 LLVMValueRef result; in radv_load_rsrc() local 301 result = LLVMBuildLoad(ctx->ac.builder, ptr, ""); in radv_load_rsrc() 302 LLVMSetMetadata(result, ctx->ac.invariant_load_md_kind, ctx->ac.empty_md); in radv_load_rsrc() 304 return result; in radv_load_rsrc()
|
/third_party/node/tools/inspector_protocol/encoding/ |
H A D | encoding.cc | 176 T result = 0; in ReadBytesMostSignificantByteFirst() local 178 result |= T(in[sizeof(T) - 1 - shift_bytes]) << (shift_bytes * 8); in ReadBytesMostSignificantByteFirst() 179 return result; in ReadBytesMostSignificantByteFirst() 1554 bool CharsToDouble(const uint16_t* chars, size_t length, double* result) { in CharsToDouble() argument 1563 return platform_->StrToD(buffer.c_str(), result); in CharsToDouble() 1566 bool CharsToDouble(const uint8_t* chars, size_t length, double* result) { in CharsToDouble() argument 1568 return platform_->StrToD(buffer.c_str(), result); in CharsToDouble()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | number_skeletons.cpp | 136 UnicodeString result; in initNumberSkeletons() local 137 b.buildUnicodeString(USTRINGTRIE_BUILD_FAST, result, status); in initNumberSkeletons() 140 // Copy the result into the global constant pointer in initNumberSkeletons() 141 size_t numBytes = result.length() * sizeof(char16_t); in initNumberSkeletons() 143 uprv_memcpy(kSerializedStemTrie, result.getBuffer(), numBytes); in initNumberSkeletons() 1004 UStringTrieResult result = tempStemTrie.next( in parseExponentSignOption() local 1007 if (result != USTRINGTRIE_INTERMEDIATE_VALUE && result != USTRINGTRIE_FINAL_VALUE) { in parseExponentSignOption()
|
/third_party/node/deps/v8/src/compiler/ |
H A D | scheduler.cc | 798 // mutating any existing order so that the result is still valid. 1109 // The list should be in same order as the final result. in VerifySpecialRPO() 1216 // existing cache entry) or the result. Make a list of any empty bus stops in GetCommonDominator() 1220 // {result}, we want to cache [(B11, B12) -> result, (B21, B22) -> result], in GetCommonDominator() 1243 BasicBlock* result = b1; in GetCommonDominator() local 1257 mapping->insert({id2, result}); in GetCommonDominator() 1259 return result; in GetCommonDominator() 1783 BasicBlock* result in GetBlockForUse() local [all...] |
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_resource.c | 427 * configuration result). 590 * configuration result). 984 bool result; in crocus_resource_get_param() local 1016 result = crocus_bo_flink(bo, &handle) == 0; in crocus_resource_get_param() 1017 if (result) in crocus_resource_get_param() 1019 return result; in crocus_resource_get_param() 1033 result = crocus_bo_export_dmabuf(bo, (int *) &handle) == 0; in crocus_resource_get_param() 1034 if (result) in crocus_resource_get_param() 1036 return result; in crocus_resource_get_param()
|
/third_party/python/Lib/http/ |
H A D | cookiejar.py | 394 result = [] 421 if pairs: result.append(pairs) 430 if pairs: result.append(pairs) 431 return result 485 result = [] 529 result.append(pairs) 531 return result
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineDepthTests.cpp | 1069 // Compare color result with reference image in verifyImage() 1077 de::MovePtr<tcu::TextureLevel> result = readColorAttachment(vk, vkDevice, queue, queueFamilyIndex, allocator, *m_colorImage, m_colorFormat, m_renderSize); in verifyImage() local 1083 result->getAccess(), in verifyImage() 1094 // Compare depth result with reference image in verifyImage() 1101 de::MovePtr<tcu::TextureLevel> result = readDepthAttachment(vk, vkDevice, queue, queueFamilyIndex, allocator, *m_depthImage, m_depthFormat, m_renderSize); in verifyImage() local 1128 if (tcu::getTextureChannelClass(result->getFormat().type) == tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT) in verifyImage() 1130 const tcu::IVec4 formatBits = tcu::getTextureFormatBitDepth(result->getFormat()); in verifyImage() 1133 else if (tcu::getTextureChannelClass(result->getFormat().type) == tcu::TEXTURECHANNELCLASS_FLOATING_POINT) in verifyImage() 1144 result->getAccess(), in verifyImage()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingCallableShadersTests.cpp | 205 std::vector<de::SharedPtr<BottomLevelAccelerationStructure> > result; in initBottomAccelerationStructures() local 218 result.push_back(de::SharedPtr<BottomLevelAccelerationStructure>(bottomLevelAccelerationStructure.release())); in initBottomAccelerationStructures() 220 return result; in initBottomAccelerationStructures() 230 de::MovePtr<TopLevelAccelerationStructure> result = makeTopLevelAccelerationStructure(); in initTopAccelerationStructure() local 231 result->setInstanceCount(1); in initTopAccelerationStructure() 232 result->addInstance(bottomLevelAccelerationStructures[0]); in initTopAccelerationStructure() 234 return result; in initTopAccelerationStructure() 367 // create result image in verifyImage() 405 // compare result and reference in verifyImage() 483 "layout(r32ui, set = 0, binding = 0) uniform uimage2D result;\ in initPrograms() [all...] |
H A D | vktRayTracingShaderBindingTableTests.cpp | 238 std::vector<de::SharedPtr<BottomLevelAccelerationStructure> > result; in initBottomAccelerationStructures() local 256 result.push_back(de::SharedPtr<BottomLevelAccelerationStructure>(bottomLevelAccelerationStructure.release())); in initBottomAccelerationStructures() 258 return result; in initBottomAccelerationStructures() 268 de::MovePtr<TopLevelAccelerationStructure> result = makeTopLevelAccelerationStructure(); in initTopAccelerationStructure() local 270 result->setInstanceCount(instanceCount); in initTopAccelerationStructure() 274 result->addInstance(bottomLevelAccelerationStructures[i], identityMatrix, 0u, 0xFF, (testParams.shaderTestType == STT_MISS) ? 0 : i); in initTopAccelerationStructure() 276 return result; in initTopAccelerationStructure() 550 // create result image in verifyImage() 612 // compare result and reference in verifyImage() 693 "layout(r32ui, set = 0, binding = 0) uniform uimage2D result;\ in initPrograms() [all...] |
/third_party/skia/src/core/ |
H A D | SkBlurMF.cpp | 1217 SkBitmap result; in create_mask_on_cpu() local 1218 if (!result.tryAllocPixels(SkImageInfo::MakeA8(dimensions.width(), dimensions.height()))) { in create_mask_on_cpu() 1240 uint8_t* scanline = result.getAddr8(0, y); in create_mask_on_cpu() 1254 memcpy(result.getAddr8(0, dimensions.height() - y - 1), scanline, result.rowBytes()); in create_mask_on_cpu() 1257 result.setImmutable(); in create_mask_on_cpu() 1259 auto view = std::get<0>(GrMakeUncachedBitmapProxyView(rContext, result)); in create_mask_on_cpu()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | number_skeletons.cpp | 135 UnicodeString result; in initNumberSkeletons() local 136 b.buildUnicodeString(USTRINGTRIE_BUILD_FAST, result, status); in initNumberSkeletons() 139 // Copy the result into the global constant pointer in initNumberSkeletons() 140 size_t numBytes = result.length() * sizeof(char16_t); in initNumberSkeletons() 142 uprv_memcpy(kSerializedStemTrie, result.getBuffer(), numBytes); in initNumberSkeletons() 998 UStringTrieResult result = tempStemTrie.next( in parseExponentSignOption() local 1001 if (result != USTRINGTRIE_INTERMEDIATE_VALUE && result != USTRINGTRIE_FINAL_VALUE) { in parseExponentSignOption()
|
/third_party/skia/third_party/externals/freetype/src/cff/ |
H A D | cffload.c | 216 FT_ULong result = 0; in cff_index_read_offset() local 225 result = ( result << 8 ) | tmp[nn]; in cff_index_read_offset() 229 return result; in cff_index_read_offset() 871 FT_UInt result = 0; in FT_LOCAL_DEF() local 875 result = charset->cids[cid]; in FT_LOCAL_DEF() 877 return result; in FT_LOCAL_DEF() 1376 /* Push blended result as Type 2 5-byte fixed point number. This */ in FT_LOCAL_DEF()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-cmap-table.hh | 1126 hb_pair_t<unsigned, unsigned> result = src_tbl->record[i].copy (c, unicodes, glyphs_requested, glyph_map, base); in serialize() local 1127 if (result.first || result.second) in serialize() 1128 obj_indices.push (result); in serialize() 1755 const EncodingRecord &result = encodingRecord.bsearch (key); in find_subtable() local 1756 if (!result.subtable) in find_subtable() 1759 return &(this+result.subtable); in find_subtable()
|
/third_party/python/Lib/xml/dom/ |
H A D | minidom.py | 1757 result = None 1774 result = node 1780 result = node 1786 result = node 1794 result = node 1795 if result is not None: 1797 return result
|
/third_party/python/Lib/test/test_sqlite3/ |
H A D | test_dbapi.py | 199 # Extended result codes 1642 result = con.execute("select 5").fetchone()[0] 1643 self.assertEqual(result, 5, "Basic test of Connection.execute") 1649 result = con.execute("select foo from test order by foo").fetchall() 1650 self.assertEqual(result[0][0], 3, "Basic test of Connection.executemany") 1651 self.assertEqual(result[1][0], 4, "Basic test of Connection.executemany") 1656 result = con.execute("select foo from test").fetchone()[0] 1657 self.assertEqual(result, 5, "Basic test of Connection.executescript")
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/DartARM32/ |
H A D | assembler_arm.h | 794 // a list of 'length' registers starting with dn. The result is placed in dd. 797 // The words of qd and qm are interleaved with the low words of the result 848 void IntegerDivide(Register result, Register left, Register right, 930 void LoadClassId(Register result, Register object, Condition cond = AL); 931 void LoadClassById(Register result, Register class_id); 932 void LoadClass(Register result, Register object, Register scratch); 934 void LoadClassIdMayBeSmi(Register result, Register object); 935 void LoadTaggedClassIdMayBeSmi(Register result, Register object); 937 void ComputeRange(Register result, Register value, Register scratch,
|
/third_party/python/Python/ |
H A D | dtoa.c | 109 * result in the hard case, we use floating-point 490 entry, y9 contains the result of converting the first 9 digits. Returns 685 /* multiply the Bigint b by 5**k. Returns a pointer to the result, or NULL on 792 /* shift a Bigint b left by k bits. Return a pointer to the shifted result, 874 result is set appropriately. */ 1106 /* Compute the ratio of two Bigints, as a double. The result may have an 1451 double result; in _Py_dg_strtod() local 1755 zeros on the result by updating nd, nd0, e and y suitably. (There's in _Py_dg_strtod() 1933 next double, so the correctly rounded result is either rv - 0.5 in _Py_dg_strtod() 1964 /* exact result */ in _Py_dg_strtod() [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fSeparateShaderTests.cpp | 1360 const bool result = tcu::fuzzyCompare( 1361 m_testCtx.getLog(), "Program pipeline result", 1365 m_status.check(result, "Pipeline rendering differs from equivalent monolithic program"); 1395 bool result = tcu::pixelThresholdCompare( 1396 m_testCtx.getLog(), "Active program rendering result", 1397 "Active program rendering result", 1400 m_status.check(result, "glBindProgramPipeline() affects glUseProgram()"); 1401 if (!result) 1458 bool result = tcu::fuzzyCompare( 1459 m_testCtx.getLog(), "Active program uniform result", [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineDepthTests.cpp | 1027 // Compare color result with reference image in verifyImage() 1035 de::MovePtr<tcu::TextureLevel> result = readColorAttachment(vk, vkDevice, queue, queueFamilyIndex, allocator, *m_colorImage, m_colorFormat, m_renderSize); in verifyImage() local 1041 result->getAccess(), in verifyImage() 1052 // Compare depth result with reference image in verifyImage() 1059 de::MovePtr<tcu::TextureLevel> result = readDepthAttachment(vk, vkDevice, queue, queueFamilyIndex, allocator, *m_depthImage, m_depthFormat, m_renderSize); in verifyImage() local 1086 if (tcu::getTextureChannelClass(result->getFormat().type) == tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT) in verifyImage() 1088 const tcu::IVec4 formatBits = tcu::getTextureFormatBitDepth(result->getFormat()); in verifyImage() 1091 else if (tcu::getTextureChannelClass(result->getFormat().type) == tcu::TEXTURECHANNELCLASS_FLOATING_POINT) in verifyImage() 1102 result->getAccess(), in verifyImage()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
H A D | vktRayTracingShaderBindingTableTests.cpp | 238 std::vector<de::SharedPtr<BottomLevelAccelerationStructure> > result; in initBottomAccelerationStructures() local 256 result.push_back(de::SharedPtr<BottomLevelAccelerationStructure>(bottomLevelAccelerationStructure.release())); in initBottomAccelerationStructures() 258 return result; in initBottomAccelerationStructures() 268 de::MovePtr<TopLevelAccelerationStructure> result = makeTopLevelAccelerationStructure(); in initTopAccelerationStructure() local 270 result->setInstanceCount(instanceCount); in initTopAccelerationStructure() 274 result->addInstance(bottomLevelAccelerationStructures[i], identityMatrix, 0u, 0xFF, (testParams.shaderTestType == STT_MISS) ? 0 : i); in initTopAccelerationStructure() 276 return result; in initTopAccelerationStructure() 550 // create result image in verifyImage() 612 // compare result and reference in verifyImage() 693 "layout(r32ui, set = 0, binding = 0) uniform uimage2D result;\ in initPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/ |
H A D | vktSparseResourcesImageSparseResidency.cpp | 67 std::string result = "( "; in getFormatValueString() local 71 result += formatValueStrings[channelsOnPlane[i].first]; in getFormatValueString() 73 result += ", "; in getFormatValueString() 77 result += "0"; in getFormatValueString() 79 result += ", "; in getFormatValueString() 81 result += " )"; in getFormatValueString() 82 return result; in getFormatValueString() 758 // write result images to log file in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/transform_feedback/ |
H A D | vktPrimitivesGeneratedQueryTests.cpp | 1209 { QUERY_RESULT_TYPE_32_BIT, "32bit", "Tests for default query result size" }, in testGenerator() 1311 for (const ResultTypes& result : resultTypes) in testGenerator() 1313 tcu::TestCaseGroup* const resultGroup = new tcu::TestCaseGroup(testCtx, result.name, result.desc); in testGenerator() 1323 // Only test multiple result types with XFB enabled. in testGenerator() 1324 if ((result.type == QUERY_RESULT_TYPE_PGQ_32_XFB_64 || result.type == QUERY_RESULT_TYPE_PGQ_64_XFB_32) && !xfbState.enable) in testGenerator() 1335 || (result.type != QUERY_RESULT_TYPE_32_BIT))) in testGenerator() 1381 result.type, // QueryResultType queryResultType in testGenerator()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | drv_callbacks.c | 238 * offload) without hostapd's knowledge, can result in a disconnection in hostapd_notif_assoc() 719 int result = wpa_vendor_ext_process_hostapd_assoc(hapd, req_ies, req_ies_len, sta); in hostapd_notif_assoc() local 720 if (result == -1) { in hostapd_notif_assoc() 723 if (result == 1) { in hostapd_notif_assoc() 1036 int result = os_snprintf((char*)hostapdApCbParm.content, WIFI_HOSTAPD_CB_CONTENT_LENGTH, in hostapd_event_ch_switch() local 1038 if (os_snprintf_error(WIFI_HOSTAPD_CB_CONTENT_LENGTH, result)) { in hostapd_event_ch_switch() 1051 int result = os_snprintf((char*)hostapdApCbParm.content, WIFI_HOSTAPD_CB_CONTENT_LENGTH, in hostapd_event_ch_switch() local 1053 if (os_snprintf_error(WIFI_HOSTAPD_CB_CONTENT_LENGTH, result)) { in hostapd_event_ch_switch()
|