/third_party/rust/crates/rustix/tests/termios/ |
H A D | isatty.rs | 7 tempdir().expect("expected to be able to create a temporary directory") in tmpdir()
|
/third_party/rust/crates/regex/regex-syntax/src/ |
H A D | lib.rs | 232 try_is_word_character(c).expect("unicode-perl feature must be enabled") in is_word_character()
|
/foundation/distributeddatamgr/relational_store/test/native/relational_store_test/unittest/ |
H A D | relational_store_test.cpp | 1929 const std::shared_ptr<OHOS::NativeRdb::ResultSet> &resultSet, const RowData &expect) in ExpectValue() 1936 if (expect.id != -1) { in ExpectValue() 1941 EXPECT_EQ(expect.id, intVal); in ExpectValue() 1943 if (expect.name != "") { in ExpectValue() 1949 EXPECT_EQ(expect.name, strVal); in ExpectValue() 1951 if (expect.age != -1) { in ExpectValue() 1956 EXPECT_EQ(expect.age, intVal); in ExpectValue() 1958 if (expect.salary != -1) { in ExpectValue() 1964 EXPECT_EQ(expect.salary, dVal); in ExpectValue() 1966 if (expect in ExpectValue() 1928 ExpectValue( const std::shared_ptr<OHOS::NativeRdb::ResultSet> &resultSet, const RowData &expect) ExpectValue() argument [all...] |
/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/common/ |
H A D | mix.rs | 278 let size = sync_impl::Body::data(&mut mix, &mut buf).expect("MixFrom encode failed"); 320 let size = async_impl::Body::data(&mut mix, &mut buf).await.expect("MixFrom encode failed");
|
/foundation/graphic/graphic_2d/rosen/modules/graphics_effect/test/unittest/ |
H A D | ge_mesa_blur_shader_filter_test.cpp | 196 std::string expect = "blur radius is " + std::to_string(float(9)); // 9 match result in HWTEST_F() local 197 EXPECT_EQ(geMESABlurShaderFilter->GetDescription(), expect); in HWTEST_F()
|
/third_party/libuv/test/ |
H A D | test-tty-duplicate-key.c | 47 static void print_err_msg(const char* expect, ssize_t expect_len, in print_err_msg() argument 49 fprintf(stderr, "expect "); in print_err_msg() 50 dump_str(expect, expect_len); in print_err_msg()
|
/third_party/rust/crates/bindgen/bindgen/codegen/ |
H A D | helpers.rs | 23 .map(|one| TokenStream::from_str(one).expect("repr to be valid")); in repr_list() 33 .map(|one| TokenStream::from_str(one).expect("derive to be valid")); in derives()
|
/third_party/rust/crates/clap/tests/builder/ |
H A D | groups.rs | 229 assert!(*m.get_one::<bool>("flag").expect("defaulted by clap")); in required_group_multiple_args() 230 assert!(*m.get_one::<bool>("color").expect("defaulted by clap")); in required_group_multiple_args() 362 assert!(!*m.get_one::<bool>("option1").expect("defaulted by clap")); 369 assert!(*m.get_one::<bool>("option1").expect("defaulted by clap"));
|
/third_party/rust/crates/linux-raw-sys/gen/src/ |
H A D | main.rs | 336 .expect(&format!("generate bindings for {}", mod_name)); 339 .expect(&format!("write_to_file for {}", mod_name));
|
/third_party/rust/crates/env_logger/src/fmt/ |
H A D | mod.rs | 403 fmt.write(&record).expect("failed to write record"); in write_record() 406 String::from_utf8(buf.bytes().to_vec()).expect("failed to read record") in write_record()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
H A D | COFFModuleDefinition.cpp | 176 Error expect(Kind Expected, StringRef Msg) { in expect() function in llvm::object::Parser 326 if (Error Err = expect(Equal, "'=' expected")) in parseName()
|
/third_party/skia/src/sksl/ |
H A D | SkSLDSLParser.h | 116 bool expect(Token::Kind kind, const char* expected, Token* result = nullptr); 117 bool expect(Token::Kind kind, String expected, Token* result = nullptr); 120 * Behaves like expect(TK_IDENTIFIER), but also verifies that identifier is not a type.
|
/third_party/protobuf/js/compatibility_tests/v3.1.0/binary/ |
H A D | decoder_test.js | 147 expect(function() { 152 expect(function() {
|
/third_party/rust/crates/rustix/src/io/ |
H A D | procfs.rs | 107 // don't get a directory when we expect one. in check_proc_root() 135 // don't get a directory when we expect one. in check_proc_subdir()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/ |
H A D | distributeddb_cloud_reference_sync_test.cpp | 56 void CheckDistributedSharedData(const std::vector<std::string> &expect); 57 void CheckSharedDataAfterUpdated(const std::vector<double> &expect); 374 void DistributedDBCloudReferenceSyncTest::CheckDistributedSharedData(const std::vector<std::string> &expect) in CheckDistributedSharedData() argument 386 ASSERT_EQ(versionValue, expect[i]); in CheckDistributedSharedData() 393 void DistributedDBCloudReferenceSyncTest::CheckSharedDataAfterUpdated(const std::vector<double> &expect) in CheckSharedDataAfterUpdated() argument 405 EXPECT_EQ(heightValue, expect[i]); in CheckSharedDataAfterUpdated() 830 // expect res table is table_e table_d ... table_e_shared table_a_shared in HWTEST_F()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | restsnew.cpp | 1081 const char* expect ="tab:\t cr:\r ff:\f newline:\n backslash:\\\\ quote=\\\' doubleQuote=\\\" singlequoutes=''"; in TestNewTypes() local 1200 u_charsToUChars(expect,uExpect,(int32_t)uprv_strlen(expect)+1); in TestNewTypes() 1210 expect ="test message ...."; in TestNewTypes() 1212 u_charsToUChars(expect,uExpect,(int32_t)uprv_strlen(expect)+1); in TestNewTypes()
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | mathndk.cpp | 284 double expect;
in J0() local 285 napi_get_value_double(env, args[0], &expect);
in J0() 286 double retj = j0(expect);
in J0() 297 double expect;
in J0f() local 298 napi_get_value_double(env, args[0], &expect);
in J0f() 299 double retj = j0f(expect);
in J0f() 310 double expect;
in J1() local 311 napi_get_value_double(env, args[0], &expect);
in J1() 312 double retj = j1(expect);
in J1() 323 double expect;
in J1f() local 336 double expect; Jn() local 351 double expect; Jnf() local 1346 double expect; doubleInput() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/ |
H A D | distributeddb_cloud_db_proxy_test.cpp | 212 * @tc.expected: step3. data is equal to expect in HWTEST_F() 217 Type expect = expectRecords[i][field.colName]; in HWTEST_F() local 219 EXPECT_EQ(expect.index(), actual.index()); in HWTEST_F() 276 Type expect = expectRecords[i][field.colName]; in HWTEST_F() local 278 EXPECT_EQ(expect.index(), actual.index()); in HWTEST_F()
|
/test/xts/acts/ability_lite/ability_posix/src/ |
H A D | AbilityMgrTest.cpp | 563 int expect = -1;
in HWTEST_F() local 564 EXPECT_EQ(result, expect);
in HWTEST_F() 717 int expect = -2;
in HWTEST_F() local 718 EXPECT_EQ(g_errorCode, expect);
in HWTEST_F()
|
H A D | AbilityMgrTest2.cpp | 572 int expect = -1;
in HWTEST_F() local 573 EXPECT_EQ(result, expect);
in HWTEST_F() 729 int expect = -10;
in HWTEST_F() local 730 EXPECT_EQ(g_errorCode, expect);
in HWTEST_F()
|
/test/xts/acts/ai/nncore/common/ |
H A D | nncore_utils.cpp | 491 bool CheckOutput(const float* output, const float* expect) in CheckOutput() argument 493 if (output == nullptr || expect == nullptr) { in CheckOutput() 494 LOGE("[NNRtTest] output or expect is nullptr\n"); in CheckOutput() 498 if (std::abs(float(output[i]) - float(expect[i])) > 1e-8) { in CheckOutput() 500 LOGE("[NNRtTest] output %d not match: expect:%f, actual:%f\n", j, float(expect[j]), float(output[j])); in CheckOutput()
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | cdtrgtst.c | 482 const UChar* expect = u"7:25:43\u202FAM"; in Test714() local 498 if (u_strcmp(result, expect)!=0){ in Test714() 499 log_err("Fail: %s != %s\n", austrdup(result), austrdup(expect)); in Test714() 502 log_verbose("Ok: %s == %s\n", austrdup(result), austrdup(expect)); in Test714()
|
H A D | utransts.c | 693 UChar expect[kUBufMax]; in TestDataVariantsCompounds() local 694 int32_t expectLen = u_unescape(itemsPtr->targetText, expect, kUBufMax); in TestDataVariantsCompounds() 695 if (textLen != expectLen || u_strncmp(text, expect, textLen) != 0) { in TestDataVariantsCompounds() 698 u_austrncpy(bexpect, expect, expectLen); in TestDataVariantsCompounds() 699 log_err("FAIL: utrans_transUChars(%s),\n expect %s\n get %s\n", itemsPtr->transID, bexpect, btext); in TestDataVariantsCompounds()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | json.c | 103 static const char* consume_string(const char *str, const char *expect) { in consume_string() argument 104 while (*expect) { in consume_string() 105 if (*str != *expect) in consume_string() 109 expect++; in consume_string()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fFboApiTest.cpp | 64 static void checkError (tcu::TestContext& testCtx, sglr::Context& ctx, GLenum expect) in checkError() argument 67 testCtx.getLog() << TestLog::Message << "// " << (result == expect ? "Pass" : "Fail") << ", expected " << glu::getErrorStr(expect) << TestLog::EndMessage; in checkError() 69 if (result != expect) in checkError()
|