/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/ |
H A D | val_memory_test.cpp | 352 "operand of the result type.")); in TEST_F() 3582 spv_result_t result = ValidateInstructions(target); in TEST_P() local 3586 EXPECT_EQ(SPV_ERROR_WRONG_VERSION, result); in TEST_P() 3590 EXPECT_EQ(SPV_ERROR_WRONG_VERSION, result); in TEST_P() 3594 EXPECT_EQ(SPV_SUCCESS, result); in TEST_P() 3596 EXPECT_EQ(SPV_ERROR_INVALID_ID, result); in TEST_P()
|
/third_party/skia/tests/ |
H A D | MatrixTest.cpp | 31 int result; in float_bits() local 32 memcpy(&result, &f, 4); in float_bits() 33 return result; in float_bits() 475 bool result = scalar_nearly_equal_relative(mat[SkMatrix::kMScaleX], in check_matrix_recomposition() local 483 return result; in check_matrix_recomposition()
|
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | command_line_interface.cc | 1170 bool result = true; in ParseInputFiles() local 1177 result = false; in ParseInputFiles() 1188 result = false; in ParseInputFiles() 1207 result = false; in ParseInputFiles() 1213 return result; in ParseInputFiles()
|
/third_party/protobuf/src/google/protobuf/ |
H A D | test_util.h | 180 const FieldDescriptor* result = nullptr; in F() local 183 result = base_descriptor_->file()->FindExtensionByName(name + "_extension"); in F() 185 result = base_descriptor_->FindFieldByName(name); in F() 187 GOOGLE_CHECK(result != nullptr); in F() 188 return result; in F()
|
/third_party/python/Lib/test/ |
H A D | test_long.py | 111 result = math.ldexp(q, exp) 112 return -result if negative else result 217 # 2**(x+y) - 2**x - 2**y + 1, so the proper result is easy to check. 769 result = eval(underflow, namespace) 770 self.assertEqual(result, 0.0, 796 """Verify that the result of a/b is correctly rounded, by 828 # result of true division of ints is always correctly rounded. 883 # test round-half-to-even behaviour, normal result 889 # test round-half-to-even, subnormal result [all...] |
/third_party/spirv-tools/source/val/ |
H A D | validate_memory.cpp | 271 int result = 1; // Count the mask in MemoryAccessNumWords() local 272 if (mask & uint32_t(spv::MemoryAccessMask::Aligned)) ++result; in MemoryAccessNumWords() 273 if (mask & uint32_t(spv::MemoryAccessMask::MakePointerAvailableKHR)) ++result; in MemoryAccessNumWords() 274 if (mask & uint32_t(spv::MemoryAccessMask::MakePointerVisibleKHR)) ++result; in MemoryAccessNumWords() 275 return result; in MemoryAccessNumWords() 521 << "operand of the result type."; in ValidateVariable() 1282 // The result type must be OpTypePointer. in ValidateAccessChain() 1308 // The result pointer storage class and base pointer storage class must match. in ValidateAccessChain() 1314 << "The result pointer storage class and base " in ValidateAccessChain() 1343 // instruction. The second index will apply similarly to that result, an in ValidateAccessChain() [all...] |
/third_party/spirv-tools/test/val/ |
H A D | val_memory_test.cpp | 360 "operand of the result type.")); in TEST_F() 4074 spv_result_t result = ValidateInstructions(target); in TEST_P() local 4078 EXPECT_EQ(SPV_ERROR_WRONG_VERSION, result); in TEST_P() 4082 EXPECT_EQ(SPV_ERROR_WRONG_VERSION, result); in TEST_P() 4086 EXPECT_EQ(SPV_SUCCESS, result); in TEST_P() 4088 EXPECT_EQ(SPV_ERROR_INVALID_ID, result); in TEST_P()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/ |
H A D | vktVideoDecodeTests.cpp | 129 MovePtr<tcu::TextureLevel> result (new tcu::TextureLevel(format, size.x(), size.y())); in convertToRGBASized() 130 tcu::PixelBufferAccess access (result->getAccess()); in convertToRGBASized() 132 for (int y = 0; y < result->getHeight(); ++y) in convertToRGBASized() 133 for (int x = 0; x < result->getWidth(); ++x) in convertToRGBASized() 136 return result; in convertToRGBASized()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eapol_supp/ |
H A D | eapol_supp_sm.c | 325 * IDLE state could result in a transition to the FAILURE state. in SM_STATE() 997 enum eapol_supp_result result; in eapol_sm_step() local 999 result = EAPOL_SUPP_RESULT_SUCCESS; in eapol_sm_step() 1001 result = EAPOL_SUPP_RESULT_EXPECTED_FAILURE; in eapol_sm_step() 1003 result = EAPOL_SUPP_RESULT_FAILURE; in eapol_sm_step() 1005 sm->ctx->cb(sm, result, sm->ctx->cb_ctx); in eapol_sm_step() 1331 * completion of EAP authentication. This can result in in eapol_sm_rx_eapol()
|
/third_party/vk-gl-cts/modules/gles2/stress/ |
H A D | es2sSpecialFloatTests.cpp | 113 bool checkResultImage (const tcu::Surface& result); 177 bool RenderCase::checkResultImage (const tcu::Surface& result) in checkResultImage() argument 187 const tcu::RGBA col = result.getPixel(x, y); in checkResultImage() 203 << tcu::TestLog::Image("Result", "Result", result) in checkResultImage() 211 << tcu::TestLog::Image("Result", "Result", result) in checkResultImage() 1127 // Draw a grid and texture it with a texture and sample it using special special values. The result samples should all have the green channel at 255 as per the test image.
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eapol_supp/ |
H A D | eapol_supp_sm.c | 348 * IDLE state could result in a transition to the FAILURE state. in SM_STATE() 1022 enum eapol_supp_result result; in eapol_sm_step() local 1024 result = EAPOL_SUPP_RESULT_SUCCESS; in eapol_sm_step() 1026 result = EAPOL_SUPP_RESULT_EXPECTED_FAILURE; in eapol_sm_step() 1028 result = EAPOL_SUPP_RESULT_FAILURE; in eapol_sm_step() 1030 sm->ctx->cb(sm, result, sm->ctx->cb_ctx); in eapol_sm_step() 1356 * completion of EAP authentication. This can result in in eapol_sm_rx_eapol()
|
/third_party/node/deps/v8/src/codegen/ppc/ |
H A D | macro-assembler-ppc.cc | 1903 Register result, in CallRecordWriteStub() 1908 TryInlineTruncateDoubleToI(result, double_input, &done); in CallRecordWriteStub() 1927 LoadU64(result, MemOperand(sp)); in CallRecordWriteStub() 1935 void TurboAssembler::TryInlineTruncateDoubleToI(Register result, in CallRecordWriteStub() 1947 result, double_scratch); in CallRecordWriteStub() 1951 TestIfInt32(result, r0); in CallRecordWriteStub() 1953 TestIfInt32(scratch, result, r0); in CallRecordWriteStub() 2435 void TurboAssembler::LoadDoubleLiteral(DoubleRegister result, in CallRecordWriteStub() argument 2442 lfd(result, MemOperand(scratch, 0)); in CallRecordWriteStub() 2444 lfd(result, MemOperan in CallRecordWriteStub() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Program.cpp | 1491 angle::Result result = linkImpl(context); in link() local 1500 return result; in link() 1553 bool result = linkValidateShaders(infoLog); in linkImpl() local 1554 ASSERT(result); in linkImpl() 1701 angle::Result result = mLinkingState->linkEvent->wait(context); in resolveLinkImpl() local 1703 mLinked = result == angle::Result::Continue; in resolveLinkImpl() 1909 angle::Result result; in loadBinary() 1917 result = angle::Result::Continue; in loadBinary() 1921 result = angle::Result::Incomplete; in loadBinary() 1925 return result; in loadBinary() 1987 angle::Result result = getBinaryLength() local [all...] |
/third_party/protobuf/python/google/protobuf/internal/ |
H A D | reflection_test.py | 92 result, self._pos = decoder._DecodeVarint(self._bytes, self._pos) 93 return result 109 result = struct.unpack('<f', self._bytes[self._pos:self._pos+4])[0] 111 return result 114 result = struct.unpack('<d', self._bytes[self._pos:self._pos+8])[0] 116 return result 1240 result = [] 1242 result.append(i) 1243 self.assertEqual([5, 35, 40, 45, 30], result) 1355 result [all...] |
/third_party/glfw/deps/ |
H A D | nuklear.h | 869 /// Converts an encoded unicode rune into UTF-8 and copies the result into an 886 /// Converts a unicode rune into UTF-8 and copies the result 1313 /// and `nk_end`. Calling any widgets outside these two functions will result in an 1334 /// nest `nk_begin_xxx` calls which will hopefully result in an assert or if not 1345 /// handling and before drawing to screen. Not doing so can result in higher 1505 /// All widget calls after this functions will result in asserts or no state changes 3709 NK_API void nk_triangle_from_direction(struct nk_vec2 *result, struct nk_rect r, float pad_x, float pad_y, enum nk_heading); 6282 nk_triangle_from_direction(struct nk_vec2 *result, struct nk_rect r, in nk_triangle_from_direction() argument 6286 NK_ASSERT(result); in nk_triangle_from_direction() 6300 result[ in nk_triangle_from_direction() 6918 int result = -1; nk_vsnprintf() local 7216 int result = -1; nk_strfmt() local 9608 void *result = (void*)((char*)dst + config->vertex_size); nk_draw_vertex() local 11861 nk_tt__rasterize_sorted_edges(struct nk_tt__bitmap *result, struct nk_tt__edge *e, int n, int vsubsample, int off_x, int off_y, struct nk_allocator *alloc) nk_tt__rasterize_sorted_edges() argument 12044 nk_tt__rasterize(struct nk_tt__bitmap *result, struct nk_tt__point *pts, int *wcount, int windings, float scale_x, float scale_y, float shift_x, float shift_y, int off_x, int off_y, int invert, struct nk_allocator *alloc) nk_tt__rasterize() argument 12212 nk_tt_Rasterize(struct nk_tt__bitmap *result, float flatness_in_pixels, struct nk_tt_vertex *vertices, int num_verts, float scale_x, float scale_y, float shift_x, float shift_y, int x_off, int y_off, int invert, struct nk_allocator *alloc) nk_tt_Rasterize() argument 18937 int result; nk_list_view_begin() local 23519 nk_flags result; nk_edit_string_zero_terminated() local 23806 struct nk_property_variant result; nk_property_variant_int() local 23817 struct nk_property_variant result; nk_property_variant_float() local 23829 struct nk_property_variant result; nk_property_variant_double() local [all...] |
/third_party/skia/third_party/externals/expat/expat/tests/ |
H A D | runtests.c | 2490 enum XML_Status result; in START_TEST() local 2494 result = _XML_Parse_SINGLE_BYTES(g_parser, text, (int)strlen(text), XML_TRUE); in START_TEST() 2495 if (result != XML_STATUS_SUSPENDED) { in START_TEST() 2496 if (result == XML_STATUS_ERROR) in START_TEST() 4004 const XML_Char *result = XCS("<>&\"'"); in START_TEST() local 4021 run_character_check(text, result); in START_TEST() 6695 run_ns_tagname_overwrite_test(const char *text, const XML_Char *result) { in run_ns_tagname_overwrite_test() argument 6704 CharData_CheckXMLChars(&storage, result); in run_ns_tagname_overwrite_test() 6713 const XML_Char *result = XCS("start http://example.org/ e\n") in START_TEST() local 6721 run_ns_tagname_overwrite_test(text, result); in START_TEST() 6731 const XML_Char *result = XCS("start http://example.org/ e n\\n") START_TEST() local 7593 enum XML_Status result; START_TEST() local 7614 enum XML_Status result; START_TEST() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | wpa_supplicant.c | 699 * gas_query_start_cb() would result in dereferencing freed memory. in wpa_supplicant_cleanup() 1463 * based on the network configuration and scan result for the selected BSS (if 2473 * candidate APs are added to a list based on scan result processing 3650 struct ieee80211_edmg_config result; local 3654 result.channels = b.channels & a.channels; 3655 if (!result.channels) { 3662 if (!(result.channels & BIT(primary_channel - 1))) { 3665 primary_channel, result.channels); 3671 if (result.channels & BIT(i)) 3684 result 6892 wpas_gas_server_tx_status(struct wpa_supplicant *wpa_s, unsigned int freq, const u8 *dst, const u8 *src, const u8 *bssid, const u8 *data, size_t data_len, enum offchannel_send_action_result result) global() argument [all...] |
/third_party/NuttX/fs/nfs/ |
H A D | nfs_adapter.c | 156 static int nfs_2_vfs(int result) in nfs_2_vfs() argument 160 if ((result < NFS_OK) || (result > NFSERR_NOTEMPTY)) in nfs_2_vfs() 162 return result; in nfs_2_vfs() 166 switch (result) in nfs_2_vfs() 175 status = result; in nfs_2_vfs()
|
/third_party/node/src/crypto/ |
H A D | crypto_tls.cc | 772 // Caveat emptor: OnRead() calls into JS land which can result in in ClearOut() 2035 Local<Value> result; in GetALPNNegotiatedProto() local 2037 result = False(env->isolate()); in GetALPNNegotiatedProto() 2040 result = env->h2_string(); in GetALPNNegotiatedProto() 2043 result = env->http_1_1_string(); in GetALPNNegotiatedProto() 2045 result = OneByteString(env->isolate(), alpn_proto, alpn_proto_len); in GetALPNNegotiatedProto() 2048 args.GetReturnValue().Set(result); in GetALPNNegotiatedProto()
|
/third_party/node/tools/inspector_protocol/encoding/ |
H A D | encoding_test.cc | 24 bool StrToD(const char* str, double* result) const override { 30 *result = std::strtod(str, &end); 46 std::unique_ptr<char[]> result(new char[str.size() + 1]); 47 memcpy(result.get(), str.c_str(), str.size() + 1); 48 return result; 1451 bool StrToD(const char* str, double* result) const override { return false; }
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_private.h | 1466 int anv_gem_reg_read(int fd, uint32_t offset, uint64_t *result); 1585 VkResult result; in anv_batch_emit_reloc() local 1589 result = anv_reloc_list_add_bo(batch->relocs, batch->alloc, bo); in anv_batch_emit_reloc() 1591 result = anv_reloc_list_add(batch->relocs, batch->alloc, in anv_batch_emit_reloc() 1595 if (unlikely(result != VK_SUCCESS)) { in anv_batch_emit_reloc() 1596 anv_batch_set_error(batch, result); in anv_batch_emit_reloc()
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
H A D | phonenumberutil.cc | 1274 // result in a number we can dial. For this reason, we treat the empty in FormatNationalNumberWithPreferredCarrierCode() 1310 // result in a number we can dial. For this reason, we treat the empty in FormatNumberForMobileDialing() 1350 // reverse is true for mobile numbers. As a result, we output them in in FormatNumberForMobileDialing() 1564 // If no digit is inserted/removed/modified as a result of our formatting, we in FormatInOriginalFormat() 2390 ValidationResult result = IsPossibleNumberWithReason(number); in IsPossibleNumber() local 2391 return result == IS_POSSIBLE || result == IS_POSSIBLE_LOCAL_ONLY; in IsPossibleNumber() 2396 ValidationResult result = IsPossibleNumberForTypeWithReason(number, type); in IsPossibleNumberForType() local 2397 return result == IS_POSSIBLE || result in IsPossibleNumberForType() [all...] |
/third_party/node/deps/v8/src/wasm/baseline/ |
H A D | liftoff-assembler.h | 481 // {PeekToRegister(0)} should result in the same register. 760 LiftoffRegister result, StoreType type); 764 LiftoffRegister result, StoreType type); 768 LiftoffRegister result, StoreType type); 772 LiftoffRegister result, StoreType type); 776 LiftoffRegister result, StoreType type); 780 LiftoffRegister result, StoreType type);
|
/third_party/node/deps/uvwasi/src/ |
H A D | uvwasi.c | 377 open_req.result, in uvwasi_init() 1157 uvread = req.result; in uvwasi_fd_pread() 1281 uvwritten = req.result; in uvwasi_fd_pwrite() 1328 uvread = req.result; in uvwasi_fd_read() 1629 uvwritten = req.result; in uvwasi_fd_write() 2489 } else if (state.result == 0) { in uvwasi_poll_oneoff()
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
H A D | PhoneNumberUtil.java | 589 * Warning: This level might result in lower coverage especially for regions outside of country 626 * Warning: This level might result in lower coverage especially for regions outside of country 879 * therefore, it doesn't guarantee the stability of the result it produces. 981 // the form of +54 9 NDC XXXX.... As a result, we take the length of the third group (NDC) and in getLengthOfNationalDestinationCode() 1164 * multiple times will only result in one instance being created. 1452 // found in the input string. However, this doesn't result in a number we can dial. For this in formatNationalNumberWithPreferredCarrierCode() 1491 // found in the input string. However, this doesn't result in a number we can dial. For this in formatNumberForMobileDialing() 1523 // a result, we output them in the international format to make it work. in formatNumberForMobileDialing() 1638 * <p>Note this method guarantees no digit will be inserted, removed or modified as a result of 1729 // If no digit is inserted/removed/modified as a result o in formatInOriginalFormat() [all...] |