Home
last modified time | relevance | path

Searched refs:same (Results 1 - 25 of 1534) sorted by relevance

12345678910>>...62

/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
H A DServiceTest.java86 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 DServiceTest.java83 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 Dpac.c73 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 Dpac.c73 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 Dequal_benchmark.cc44 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 Drenameat.rs5 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 Dremap_range.c83 /* 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 Dioctl.c623 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 Dremap_range.c85 /* 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 Dioctl.c420 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 Dlatencytop.c21 * 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 Dlatencytop.c21 * 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 Drle.c28 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 Dinstalled-deep.js147 t.same(
164 t.same(
177 t.same(
195 t.same(
/third_party/node/deps/npm/test/lib/commands/
H A Dls.js2695 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 Dwebsocket.c50 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 Dsetlocale.c58 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 Dsetlocale.c62 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 Dcgrp_kfunc_success.c24 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 Dlib2304.c49 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 Dlib2301.c49 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 Dunit1399.c58 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 DjsFileCompilationDuplicateVariable.js23 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 Ddef_use_manager.cpp26 // 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 Dntfslabel.c224 "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()

Completed in 14 milliseconds

12345678910>>...62