Home
last modified time | relevance | path

Searched refs:position (Results 1 – 25 of 450) sorted by relevance

12345678910>>...18

/freebsd-14.2/sys/contrib/ck/include/spinlock/
H A Danderson.h43 unsigned int position; member
65 slots[0].position = 0; in ck_spinlock_anderson_init()
68 slots[i].position = i; in ck_spinlock_anderson_init()
93 unsigned int position; in ck_spinlock_anderson_locked() local
118 if (position == UINT_MAX) in ck_spinlock_anderson_lock()
121 next = position + 1; in ck_spinlock_anderson_lock()
125 position %= count; in ck_spinlock_anderson_lock()
128 position &= lock->mask; in ck_spinlock_anderson_lock()
153 unsigned int position; in ck_spinlock_anderson_unlock() local
159 position = (slot->position + 1) & lock->mask; in ck_spinlock_anderson_unlock()
[all …]
H A Dticket.h89 CK_SPINLOCK_TICKET_TYPE request, position; in ck_spinlock_ticket_locked() local
96 return request != position; in ck_spinlock_ticket_locked()
111 while (request != position) { in ck_spinlock_ticket_lock()
134 while (request != position) { in ck_spinlock_ticket_lock_pb()
157 if (position != request) in ck_spinlock_ticket_trylock()
193 unsigned int position; member
204 ticket->position = 0; in ck_spinlock_ticket_init()
245 unsigned int request, position; in ck_spinlock_ticket_lock_pb() local
250 position = ck_pr_load_uint(&ticket->position); in ck_spinlock_ticket_lock_pb()
251 if (position == request) in ck_spinlock_ticket_lock_pb()
[all …]
/freebsd-14.2/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/
H A Dargon2-core.h157 if (position->pass == 0) { in index_alpha()
159 if (position->slice == 0) { in index_alpha()
162 position->index - 1; /* all but the previous */ in index_alpha()
167 position->slice * instance->segment_length + in index_alpha()
168 position->index - 1; in index_alpha()
172 ((position->index == 0) ? (-1) : 0); in index_alpha()
198 if (position->pass != 0) { in index_alpha()
281 argon2_position_t position);
283 argon2_position_t position);
285 argon2_position_t position);
[all …]
H A Dargon2-fill-block-ssse3.c109 if (instance != NULL && position != NULL) { in generate_addresses()
110 input_block.v[0] = position->pass; in generate_addresses()
111 input_block.v[1] = position->lane; in generate_addresses()
112 input_block.v[2] = position->slice; in generate_addresses()
144 argon2_position_t position) in fill_segment_ssse3() argument
161 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_ssse3()
173 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment_ssse3()
213 if ((position.pass == 0) && (position.slice == 0)) { in fill_segment_ssse3()
215 ref_lane = position.lane; in fill_segment_ssse3()
221 position.index = i; in fill_segment_ssse3()
[all …]
H A Dargon2-fill-block-avx2.c110 if (instance != NULL && position != NULL) { in generate_addresses()
111 input_block.v[0] = position->pass; in generate_addresses()
112 input_block.v[1] = position->lane; in generate_addresses()
113 input_block.v[2] = position->slice; in generate_addresses()
145 argon2_position_t position) in fill_segment_avx2() argument
162 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_avx2()
174 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment_avx2()
214 if ((position.pass == 0) && (position.slice == 0)) { in fill_segment_avx2()
216 ref_lane = position.lane; in fill_segment_avx2()
222 position.index = i; in fill_segment_avx2()
[all …]
H A Dargon2-fill-block-avx512f.c115 if (instance != NULL && position != NULL) { in generate_addresses()
116 input_block.v[0] = position->pass; in generate_addresses()
117 input_block.v[1] = position->lane; in generate_addresses()
118 input_block.v[2] = position->slice; in generate_addresses()
150 argon2_position_t position) in fill_segment_avx512f() argument
167 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_avx512f()
179 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment_avx512f()
219 if ((position.pass == 0) && (position.slice == 0)) { in fill_segment_avx512f()
221 ref_lane = position.lane; in fill_segment_avx512f()
227 position.index = i; in fill_segment_avx512f()
[all …]
H A Dargon2-fill-block-ref.c121 if (instance != NULL && position != NULL) { in generate_addresses()
122 input_block.v[0] = position->pass; in generate_addresses()
123 input_block.v[1] = position->lane; in generate_addresses()
124 input_block.v[2] = position->slice; in generate_addresses()
160 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_ref()
172 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment_ref()
177 curr_offset = position.lane * instance->lane_length + in fill_segment_ref()
209 if ((position.pass == 0) && (position.slice == 0)) { in fill_segment_ref()
211 ref_lane = position.lane; in fill_segment_ref()
217 position.index = i; in fill_segment_ref()
[all …]
/freebsd-14.2/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/multiaggs/
H A Dtst.sortpos.d.out1 Sorted at position 0:
103 Sorted at position 1:
205 Sorted at position 2:
307 Sorted at position 3:
409 Sorted at position 4:
511 Sorted at position 5:
613 Sorted at position 6:
715 Sorted at position 7:
817 Sorted at position 8:
919 Sorted at position 9:
/freebsd-14.2/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/struct/
H A Derr.D_DECL_COMBO.StructWithoutColon.d41 int position; member
46 int position; variable
52 int position; member
63 rec.position = 1;
66 pir.position = 2;
70 rec.content, rec.position, pir.content, pir.position);
H A Derr.D_DECL_COMBO.StructWithoutColon1.d41 int position; member
47 int position; member
57 rec.position = 1;
60 pir.position = 2;
64 rec.content, rec.position, pir.content, pir.position);
H A Derr.D_DECL_INCOMPLETE.order.d43 int position; member
48 int position; member
58 rec.position = 2;
61 pir.position = 26;
65 rec.content, rec.position, pir.content, pir.position);
H A Derr.D_PROTO_ARG.DupStructAssoc.d41 int position; member
46 int position; member
57 r1.position = 1;
60 r2.position = 2;
63 p1.position = 1;
66 p2.position = 2;
H A Derr.D_DECL_INCOMPLETE.recursive.d40 int position; member
49 r1.position = 1;
52 r2.position = 2;
55 printf("r1.position: %d\nr1.content: %c\n", r1.position, r1.content);
56 printf("r2.position: %d\nr2.content: %c\n", r2.position, r2.content);
/freebsd-14.2/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.index.d35 int position; member
92 command[i + k].position = -400;
98 command[i + k].position = -1;
104 command[i + k].position = 0;
110 command[i + k].position = strlen(command[j].str) / 2;
116 command[i + k].position = strlen(command[j].str);
122 command[i + k].position = strlen(command[j].str) + 1;
128 command[i + k].position = strlen(command[j].str) + 2;
134 command[i + k].position = 400;
187 command[i].substr, command[i].position);
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DFormatString.h41 void setPosition(const char *position) { in setPosition() argument
42 assert(position); in setPosition()
44 this->position = position; in setPosition()
47 assert(position); in getPosition()
48 return position; in getPosition()
60 const char *position; variable
548 HasPlusPrefix.setPosition(position); in setHasPlusPrefix()
551 HasSpacePrefix.setPosition(position); in setHasSpacePrefix()
562 void setIsPrivate(const char *position) { IsPrivate.setPosition(position); } in setIsPrivate() argument
563 void setIsPublic(const char *position) { IsPublic.setPosition(position); } in setIsPublic() argument
[all …]
/freebsd-14.2/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/union/
H A Derr.D_DECL_COMBO.UnionWithoutColon1.d41 int position; member
47 int position; member
57 rec.position = 1;
60 pir.position = 2;
64 rec.content, rec.position, pir.content, pir.position);
H A Derr.D_DECL_COMBO.UnionWithoutColon.d41 int position; member
47 int position; variable
58 rec.position = 1;
61 pir.position = 2;
65 rec.content, rec.position, pir.content, pir.position);
H A Derr.D_DECL_INCOMPLETE.order.d43 int position; member
48 int position; member
58 rec.position = 2;
61 pir.position = 26;
65 rec.content, rec.position, pir.content, pir.position);
H A Derr.D_PROTO_ARG.DupUnionAssoc.d41 int position; member
46 int position; member
57 r1.position = 1;
60 r2.position = 2;
63 p1.position = 1;
66 p2.position = 2;
H A Derr.D_DECL_INCOMPLETE.recursive.d40 int position; member
49 r1.position = 1;
52 r2.position = 2;
55 printf("r1.position: %d\nr1.content: %c\n", r1.position, r1.content);
56 printf("r2.position: %d\nr2.content: %c\n", r2.position, r2.content);
/freebsd-14.2/contrib/libcbor/test/
H A Dbad_inputs_test.c23 assert_size_equal(res.error.position, 2); in test_1()
31 assert_size_equal(res.error.position, 0); in test_2()
39 assert_size_equal(res.error.position, 1); in test_3()
48 assert_size_equal(res.error.position, 5); in test_4()
56 assert_size_equal(res.error.position, 5); in test_5()
66 assert_size_equal(res.error.position, 2); in test_6()
78 assert_size_equal(res.error.position, 10); in test_7()
91 assert_size_equal(res.error.position, 7); in test_8()
99 assert_size_equal(res.error.position, 3); in test_9()
/freebsd-14.2/contrib/netbsd-tests/include/
H A Dd_bitstring_64.out165 first 1 bit should move right 1 position each line
231 first 0 bit should move right 1 position each line
297 first 0 bit should move left 1 position each line
363 first 1 bit should move left 1 position each line
429 0 bit should move right 1 position each line
495 1 bit should move right 1 position each line
H A Dd_bitstring_27.out91 first 1 bit should move right 1 position each line
120 first 0 bit should move right 1 position each line
149 first 0 bit should move left 1 position each line
178 first 1 bit should move left 1 position each line
207 0 bit should move right 1 position each line
236 1 bit should move right 1 position each line
H A Dd_bitstring_8.out53 first 1 bit should move right 1 position each line
63 first 0 bit should move right 1 position each line
73 first 0 bit should move left 1 position each line
83 first 1 bit should move left 1 position each line
93 0 bit should move right 1 position each line
103 1 bit should move right 1 position each line
H A Dd_bitstring_32.out101 first 1 bit should move right 1 position each line
135 first 0 bit should move right 1 position each line
169 first 0 bit should move left 1 position each line
203 first 1 bit should move left 1 position each line
237 0 bit should move right 1 position each line
271 1 bit should move right 1 position each line

12345678910>>...18