/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
H A D | ServiceTest.java | 86 mockService.foo(EasyMock.same(mockController), EasyMock.same(fooRequest), in testCallMethod() 88 mockService.bar(EasyMock.same(mockController), EasyMock.same(barRequest), in testCallMethod() 123 EasyMock.same(fooDescriptor), in testStub() 124 EasyMock.same(mockController), in testStub() 125 EasyMock.same(fooRequest), in testStub() 126 EasyMock.same(FooResponse.getDefaultInstance()), in testStub() 129 EasyMock.same(barDescriptor), in testStub() 130 EasyMock.same(mockControlle in testStub() [all...] |
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | ServiceTest.java | 83 EasyMock.same(mockController), in testCallMethod() 84 EasyMock.same(fooRequest), in testCallMethod() 87 EasyMock.same(mockController), in testCallMethod() 88 EasyMock.same(barRequest), in testCallMethod() 121 EasyMock.same(fooDescriptor), in testStub() 122 EasyMock.same(mockController), in testStub() 123 EasyMock.same(fooRequest), in testStub() 124 EasyMock.same(FooResponse.getDefaultInstance()), in testStub() 127 EasyMock.same(barDescriptor), in testStub() 128 EasyMock.same(mockControlle in testStub() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/pauth/ |
H A D | pac.c | 73 int same = 0; in n_same_single_set() local 86 same += 1; in n_same_single_set() 89 return same; in n_same_single_set() 254 int same = 10; in TEST() local 283 if (tmp < same) in TEST() 284 same = tmp; in TEST() 287 ASSERT_EQ(0, same) TH_LOG("%d keys clashed every time", same); in TEST() 299 int same = 10; in TEST() local 320 if (ret < same) in TEST() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/pauth/ |
H A D | pac.c | 73 int same = 0; in n_same_single_set() local 86 same += 1; in n_same_single_set() 89 return same; in n_same_single_set() 254 int same = 10; in TEST() local 283 if (tmp < same) in TEST() 284 same = tmp; in TEST() 287 ASSERT_EQ(0, same) TH_LOG("%d keys clashed every time", same); in TEST() 299 int same = 10; in TEST() local 320 if (ret < same) in TEST() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/algorithm/ |
H A D | equal_benchmark.cc | 44 const bool same = absl::equal(xs.begin(), xs.end(), ys.begin(), ys.end()); in BM_absl_equal_benchmark() local 45 benchmark::DoNotOptimize(same); in BM_absl_equal_benchmark() 54 const bool same = std::equal(xs.begin(), xs.end(), ys.begin()); in BM_std_equal_benchmark() local 55 benchmark::DoNotOptimize(same); in BM_std_equal_benchmark() 64 const bool same = in BM_memcmp_benchmark() local 66 benchmark::DoNotOptimize(same); in BM_memcmp_benchmark() 76 const bool same = absl::equal(xs.begin(), xs.end(), xs.begin(), xs.end()); in BM_absl_equal_self_benchmark() local 77 benchmark::DoNotOptimize(same); in BM_absl_equal_self_benchmark()
|
/third_party/rust/crates/rustix/tests/fs/ |
H A D | renameat.rs | 5 fn same(a: &Stat, b: &Stat) -> bool { in same() functions 27 assert!(same(&before, &renamed)); in test_renameat() 51 assert!(same(&before, &renamed)); in test_renameat_overwrite() 78 assert!(same(&before, &renamed)); in test_renameat_with() 94 assert!(same(&before, &renamed)); in test_renameat_with() 96 assert!(same(&green, &orig)); in test_renameat_with() 100 assert!(same(&green, &renamed)); in test_renameat_with() 102 assert!(same(&before, &orig)); in test_renameat_with()
|
/kernel/linux/linux-5.10/fs/ |
H A D | remap_range.c | 83 /* Don't allow overlapped cloning within the same file. */ in generic_remap_checks() 178 * the same file. 191 /* Unlock two pages, being careful not to unlock the same page twice. */ 200 * Compare extents of two files to see if they are the same. 214 bool same; in vfs_dedupe_file_range_compare() local 218 same = true; in vfs_dedupe_file_range_compare() 250 same = false; in vfs_dedupe_file_range_compare() 261 same = false; in vfs_dedupe_file_range_compare() 270 if (!same) in vfs_dedupe_file_range_compare() 278 *is_same = same; in vfs_dedupe_file_range_compare() 494 vfs_dedupe_file_range(struct file *file, struct file_dedupe_range *same) vfs_dedupe_file_range() argument [all...] |
H A D | ioctl.c | 623 struct file_dedupe_range *same = NULL; in ioctl_file_dedupe_range() local 639 same = memdup_user(argp, size); in ioctl_file_dedupe_range() 640 if (IS_ERR(same)) { in ioctl_file_dedupe_range() 641 ret = PTR_ERR(same); in ioctl_file_dedupe_range() 642 same = NULL; in ioctl_file_dedupe_range() 646 same->dest_count = count; in ioctl_file_dedupe_range() 647 ret = vfs_dedupe_file_range(file, same); in ioctl_file_dedupe_range() 651 ret = copy_to_user(argp, same, size); in ioctl_file_dedupe_range() 656 kfree(same); in ioctl_file_dedupe_range()
|
/kernel/linux/linux-6.6/fs/ |
H A D | remap_range.c | 85 /* Don't allow overlapped cloning within the same file. */ in generic_remap_checks() 161 * are from the same file. 174 /* Unlock two folios, being careful not to unlock the same folio twice. */ 183 * Compare extents of two files to see if they are the same. 190 bool same = true; in vfs_dedupe_file_range_compare() local 225 same = false; in vfs_dedupe_file_range_compare() 238 same = false; in vfs_dedupe_file_range_compare() 247 if (!same) in vfs_dedupe_file_range_compare() 255 *is_same = same; in vfs_dedupe_file_range_compare() 329 * Check that the extents are the same in __generic_remap_file_range_prep() 494 vfs_dedupe_file_range(struct file *file, struct file_dedupe_range *same) vfs_dedupe_file_range() argument [all...] |
H A D | ioctl.c | 420 struct file_dedupe_range *same = NULL; in ioctl_file_dedupe_range() local 436 same = memdup_user(argp, size); in ioctl_file_dedupe_range() 437 if (IS_ERR(same)) { in ioctl_file_dedupe_range() 438 ret = PTR_ERR(same); in ioctl_file_dedupe_range() 439 same = NULL; in ioctl_file_dedupe_range() 443 same->dest_count = count; in ioctl_file_dedupe_range() 444 ret = vfs_dedupe_file_range(file, same); in ioctl_file_dedupe_range() 448 ret = copy_to_user(argp, same, size); in ioctl_file_dedupe_range() 453 kfree(same); in ioctl_file_dedupe_range()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | latencytop.c | 21 * if the "same" latency cause is hit twice, this will be tracked as one entry 97 int q, same = 1; in account_global_scheduler_latency() local 109 same = 0; in account_global_scheduler_latency() 117 if (same) { in account_global_scheduler_latency() 179 int same = 1; in __account_scheduler_latency() local 186 same = 0; in __account_scheduler_latency() 194 if (same) { in __account_scheduler_latency()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | latencytop.c | 21 * if the "same" latency cause is hit twice, this will be tracked as one entry 123 int q, same = 1; in account_global_scheduler_latency() local 135 same = 0; in account_global_scheduler_latency() 143 if (same) { in account_global_scheduler_latency() 205 int same = 1; in __account_scheduler_latency() local 212 same = 0; in __account_scheduler_latency() 220 if (same) { in __account_scheduler_latency()
|
/third_party/ffmpeg/libavcodec/ |
H A D | rle.c | 28 int ff_rle_count_pixels(const uint8_t *start, int len, int bpp, int same) in ff_rle_count_pixels() argument 34 if (same != !memcmp(pos - bpp, pos, bpp)) { in ff_rle_count_pixels() 35 if (!same) { in ff_rle_count_pixels()
|
/third_party/node/deps/npm/test/lib/utils/completion/ |
H A D | installed-deep.js | 147 t.same( 164 t.same( 177 t.same( 195 t.same(
|
/third_party/node/deps/npm/test/lib/commands/ |
H A D | ls.js | 2695 t.same( 2731 t.same( 2792 t.same( 2862 t.same(JSON.parse(result()), { 2939 t.same( 2974 t.same( 3024 t.same( 3069 t.same( 3099 t.same( 3139 t.same( [all...] |
/third_party/curl/docs/examples/ |
H A D | websocket.c | 50 int same = 0; in recv_pong() local 54 fprintf(stderr, "ws: got the same payload back\n"); in recv_pong() 55 same = 1; in recv_pong() 58 if(!same) in recv_pong() 59 fprintf(stderr, "ws: did NOT get the same payload back\n"); in recv_pong()
|
/third_party/musl/porting/linux/user/src/locale/ |
H A D | setlocale.c | 58 int same = 0; in setlocale() local 62 if (lm == libc.global_locale.cat[0]) same++; in setlocale() 74 return same==LC_ALL ? (char *)part : buf; in setlocale()
|
/third_party/musl/src/locale/ |
H A D | setlocale.c | 62 int same = 0; in setlocale() local 66 if (lm == libc.global_locale.cat[0]) same++; in setlocale() 78 return same==LC_ALL ? (char *)part : buf; in setlocale()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | cgrp_kfunc_success.c | 24 bool same = pid == cur_pid; in is_test_kfunc_task() local 26 if (same) in is_test_kfunc_task() 29 return same; in is_test_kfunc_task()
|
/third_party/curl/tests/libtest/ |
H A D | lib2304.c | 49 int same = 0; in recv_pong() local 53 fprintf(stderr, "ws: got the same payload back\n"); in recv_pong() 54 same = 1; in recv_pong() 57 if(!same) in recv_pong() 58 fprintf(stderr, "ws: did NOT get the same payload back\n"); in recv_pong()
|
H A D | lib2301.c | 49 int same = 0; 53 fprintf(stderr, "ws: got the same payload back\n"); 54 same = 1; 57 if(!same) 58 fprintf(stderr, "ws: did NOT get the same payload back\n");
|
/third_party/curl/tests/unit/ |
H A D | unit1399.c | 58 bool same = (time_sec == expected_seconds); in usec_matches_seconds() local 59 fprintf(stderr, "is %d us same as %d seconds? %s\n", in usec_matches_seconds() 61 same?"Yes":"No"); in usec_matches_seconds() 62 return same; in usec_matches_seconds()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | jsFileCompilationDuplicateVariable.js | 23 out.d.ts(2,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'x' must be of type 'number', but here has type 'string'.
30 !!! error TS2403: Subsequent variable declarations must have the same type. Variable 'x' must be of type 'number', but here has type 'string'.
|
/third_party/spirv-tools/source/opt/ |
H A D | def_use_manager.cpp | 26 // Clear the original instruction that defining the same result id of the in AnalyzeInstDef() 264 bool same = true; in CompareAndPrintDifferences() local 277 same = false; in CompareAndPrintDifferences() 291 same = false; in CompareAndPrintDifferences() 305 same = false; in CompareAndPrintDifferences() 308 return same; in CompareAndPrintDifferences()
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfslabel.c | 224 "the same time.\n"); in parse_options() 243 BOOL same; in change_serial() local 248 same = TRUE; in change_serial() 254 same = !memcmp(oldbs, bs, vol->sector_size); in change_serial() 255 if (same) { in change_serial()
|