/third_party/protobuf/php/tests/ |
H A D | EncodeDecodeTest.php | 1173 $result = $m->serializeToJsonString(); variable 1174 $this->assertTrue($expected1 === $result || $expected2 === $result);
|
/third_party/python/Lib/ |
H A D | imaplib.py | 342 # On Windows, this may result in WSAEINVAL (error 10022): 1151 result = self.tagged_commands[tag] 1152 if result is not None: 1154 return result 1203 # Save result, return success. 1417 # line feed from the result and append. "Even"
|
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | stringpiece_unittest.cc | 146 #define COMPARE(result, op, x, y) \ in TEST() 147 EXPECT_EQ(result, StringPiece((x)) op StringPiece((y))); \ in TEST() 148 EXPECT_EQ(result, StringPiece((x)).compare(StringPiece((y))) op 0) in TEST()
|
/third_party/python/Modules/ |
H A D | timemodule.c | 878 More likely, the format yields an empty result, 913 PyObject *module, *func, *result; local 925 result = PyObject_Call(func, args, NULL); 927 return result;
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
H A D | float_conversion.cc | 93 // Calculates `10 * (*v) + carry` and stores the result in `*v` and returns 817 // adjust the mantissa and exponent so that the result is always 1.0eXXX. in FormatARound() 959 absl::string_view result; 964 result = absl::string_view(space.data(), n); 969 sink->Append(result);
|
/third_party/rust/crates/rust-openssl/openssl/src/x509/ |
H A D | mod.rs | 173 pub fn set_error(&mut self, result: X509VerifyResult) { in set_error() 175 ffi::X509_STORE_CTX_set_error(self.as_ptr(), result.as_raw()); in set_error() 1060 pub fn append_entry(&mut self, ne: &X509NameEntryRef) -> std::result::Result<(), ErrorStack> { in append_entry() 1920 /// The result of peer certificate verification.
|
/third_party/spirv-tools/test/fuzz/ |
H A D | transformation_replace_id_with_synonym_test.cpp | 198 protobufs::Fact result; in MakeSynonymFact() local 199 *result.mutable_data_synonym_fact() = data_synonym_fact; in MakeSynonymFact() 200 return result; in MakeSynonymFact() 1579 // the result type
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fTextureSpecificationTests.cpp | 174 // Initialize case result to pass. in iterate() 282 tcu::Surface result; in verifyTexture() local 289 tcu::Surface& dst = ndx ? reference : result; in verifyTexture() 303 bool isFaceOk = tcu::fuzzyCompare(m_testCtx.getLog(), name.c_str(), desc.c_str(), reference, result, threshold, in verifyTexture()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fShaderApiTests.cpp | 582 const std::string result = readSource(shader); in verifyShaderSourceReplaced() local 584 if (result == firstSource) in verifyShaderSourceReplaced() 589 else if (result != secondSource) in verifyShaderSourceReplaced() 807 log << TestLog::Message << "Fail, link status may only change as a result of linking or loading a program binary." << TestLog::EndMessage; in verify()
|
H A D | es2fTextureFilteringTests.cpp | 569 tcu::Surface result (viewport.width, viewport.height); in iterate() 581 glu::readPixels(m_renderCtx, viewport.x, viewport.y, result.getAccess()); in iterate() 598 const bool isOk = verifyTextureResult(m_testCtx, result.getAccess(), curCase.texture->getRefTexture(), in iterate()
|
H A D | es2fVertexTextureTests.cpp | 103 tcu::Vector<float, Size> result; in safeCoords() local 105 result[i] = safeCoord(raw[i], scale[i], fraction[i]); in safeCoords() 106 return result; in safeCoords() 385 return tcu::pixelThresholdCompare(log, "Result", "Image compare result", ref, res, threshold, tcu::COMPARE_LOG_RESULT); in compareImages()
|
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | tx.c | 1716 bool result = true; in __ieee80211_tx() local 1755 result = ieee80211_tx_frags(local, vif, sta, skbs, txpending); in __ieee80211_tx() 1761 return result; in __ieee80211_tx() 1906 bool result = true; in ieee80211_tx() local 1938 result = __ieee80211_tx(local, &tx.skbs, led_len, in ieee80211_tx() 1941 return result; in ieee80211_tx() 4419 bool result; in ieee80211_tx_pending_skb() local 4431 result = ieee80211_tx(sdata, NULL, skb, true); in ieee80211_tx_pending_skb() 4441 result = ieee80211_tx_8023(sdata, skb, skb->len, sta, true); in ieee80211_tx_pending_skb() 4451 result in ieee80211_tx_pending_skb() [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | shmem.c | 1632 gfp_t result = huge_gfp & ~(allowflags | GFP_ZONEMASK); in limit_gfp_mask() local 1635 result |= zoneflags; in limit_gfp_mask() 1638 * Minimize the result gfp by taking the union with the deny flags, in limit_gfp_mask() 1641 result |= (limit_gfp & denyflags); in limit_gfp_mask() 1642 result |= (huge_gfp & limit_gfp) & allowflags; in limit_gfp_mask() 1644 return result; in limit_gfp_mask() 2841 * splice() - or others? - can result in confusion: in shmem_file_read_iter() 3903 struct fs_parse_result result; in shmem_parse_one() local 3910 opt = fs_parse(fc, shmem_fs_parameters, param, &result); in shmem_parse_one() 3941 ctx->mode = result in shmem_parse_one() [all...] |
/third_party/backends/backend/ |
H A D | bh.c | 1698 * file that's built as a result of processing barcode and patchcode in start_setup() 1828 * A single scan on the B&H may result in up to 56 different in start_scan() 1977 sense_handler (int scsi_fd, u_char *result, void *arg) in sense_handler() argument 1988 ErrorCode = result[0] & 0x7F; in sense_handler() 1989 ValidData = (result[0] & 0x80) != 0; in sense_handler() 1990 sense = result[2] & 0x0f; /* Key */ in sense_handler() 1991 asc = result[12]; /* Code */ in sense_handler() 1992 ascq = result[13]; /* Qual */ in sense_handler() 1993 EOM = (result[2] & 0x40) != 0; /* End Of Media */ in sense_handler() 1994 ILI = (result[ in sense_handler() [all...] |
/third_party/ntfs-3g/ntfsprogs/ |
H A D | mkntfs.c | 1211 * non-resident as this most likely will result in a crash! 3458 BOOL result = FALSE; in mkntfs_open_partition() local 3542 result = TRUE; in mkntfs_open_partition() 3544 return result; in mkntfs_open_partition() 4968 int result = 1; in mkntfs_redirect() local 5161 result = 0; in mkntfs_redirect() 5165 return result; in mkntfs_redirect() 5179 int result = 1; in main() local 5187 result = mkntfs_parse_options(argc, argv, &opts); in main() 5189 if (result < in main() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | af_hdcd.c | 1045 int result = count; in hdcd_integrate() local 1053 result = FFMIN(states[i].readahead, result); in hdcd_integrate() 1055 for (j = result - 1; j >= 0; j--) { in hdcd_integrate() 1062 states[i].window = (states[i].window << result) | bits[i]; in hdcd_integrate() 1063 states[i].readahead -= result; in hdcd_integrate() 1124 return result; in hdcd_integrate() 1129 int result; in hdcd_scan() local 1148 result = 0; in hdcd_scan() 1149 while (result < ma in hdcd_scan() 1537 int n, c, result; filter_frame() local [all...] |
/third_party/skia/third_party/externals/imgui/ |
H A D | imgui_widgets.cpp | 62 #pragma warning (disable: 26451) // [Static Analyzer] Arithmetic overflow : Using operator 'xxx' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator 'xxx' to avoid overflow(io.2). 1707 if (window->SkipItems || !window->ClipRect.Overlaps(g.LastItemData.Rect)) // FIXME: Because we don't have a ImGuiItemStatusFlags_Visible flag to test last ItemAdd() result in BeginComboPreview() 2066 // Small types need a 32-bit buffer to receive the result from scanf() in DataTypeApplyOpFromText() 2334 // Apply result in DragBehaviorT() 2685 float result; in ScaleRatioFromValueT() 2688 result = 0.0f; // Workaround for values that are in-range but below our fudge in ScaleRatioFromValueT() 2690 result = 1.0f; // Workaround for values that are in-range but above our fudge in ScaleRatioFromValueT() 2697 result = zero_point_center; // Special case for exactly zero in ScaleRatioFromValueT() 2699 result = (1.0f - (float)(ImLog(-(FLOATTYPE)v_clamped / logarithmic_zero_epsilon) / ImLog(-v_min_fudged / logarithmic_zero_epsilon))) * zero_point_snap_L; in ScaleRatioFromValueT() 2701 result in ScaleRatioFromValueT() [all...] |
/kernel/linux/linux-6.6/drivers/dma/ti/ |
H A D | k3-udma.c | 3967 struct dmaengine_result *result) in udma_desc_pre_callback() 3981 if (result) { in udma_desc_pre_callback() 3987 result->residue = d->residue - in udma_desc_pre_callback() 3989 if (result->residue) in udma_desc_pre_callback() 3990 result->result = DMA_TRANS_ABORTED; in udma_desc_pre_callback() 3992 result->result = DMA_TRANS_NOERROR; in udma_desc_pre_callback() 3994 result->residue = 0; in udma_desc_pre_callback() 3998 result in udma_desc_pre_callback() 3965 udma_desc_pre_callback(struct virt_dma_chan *vc, struct virt_dma_desc *vd, struct dmaengine_result *result) udma_desc_pre_callback() argument 4031 struct dmaengine_result result; udma_vchan_complete() local [all...] |
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | exported-sql-viewer.py | 20 # The result is a GUI window with a tree representing a context-sensitive 202 done, result = self.task() 204 done, result = self.task(self.param) 205 self.done.emit(result) 227 result = self.Item(parent).childCount() 228 if result < 0: 229 result = 0 231 return result 784 # Turn the query result into a list of ids that the tree view can walk 979 # Turn the query result int [all...] |
/third_party/python/Lib/test/ |
H A D | test_socket.py | 1033 # any result. But some ISPs, e.g. AWS and AT&T, may successfully 2728 # result. Should be used for tests which can use either 2732 result = sock.recvmsg(bufsize, *args) 2733 self.registerRecvmsgResult(result) 2734 return result 2736 def registerRecvmsgResult(self, result): 2823 result = sock.recvmsg_into([buf], *args) 2824 self.registerRecvmsgResult(result) 2825 self.assertGreaterEqual(result[0], 0) 2826 self.assertLessEqual(result[ [all...] |
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/ |
H A D | hmac_sme_sta.c | 635 static hi_u32 hmac_send_connect_result_to_dmac_sta(const hmac_vap_stru *hmac_vap, hi_u32 result) in hmac_send_connect_result_to_dmac_sta() argument 653 *((hi_u32 *)(event->auc_event_data)) = result; in hmac_send_connect_result_to_dmac_sta()
|
/device/soc/rockchip/common/sdk_linux/kernel/cgroup/ |
H A D | cgroup-v1.c | 278 * The two pid files - task and cgroup.procs - guaranteed that the result 955 struct fs_parse_result result; 958 opt = fs_parse(fc, cgroup1_fs_parameters, param, &result);
|
/kernel/linux/linux-5.10/drivers/crypto/amcc/ |
H A D | crypto4xx_alg.c | 688 sg_init_one(&dst, req->result, ds); in crypto4xx_hash_update() 707 sg_init_one(&dst, req->result, ds); in crypto4xx_hash_digest()
|
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ss/ |
H A D | sun8i-ss-core.c | 500 ss->flows[i].result = devm_kmalloc(ss->dev, SHA256_DIGEST_SIZE, in allocate_flows() 502 if (!ss->flows[i].result) { in allocate_flows()
|
/kernel/linux/linux-5.10/arch/microblaze/pci/ |
H A D | pci-common.c | 1030 long result = -EOPNOTSUPP; in sys_pciconfig_iobase() local 1049 return result; in sys_pciconfig_iobase()
|