Home
last modified time | relevance | path

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

12345678910>>...19

/freebsd/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
96 position = ck_pr_load_uint(&lock->next) & lock->mask; in ck_spinlock_anderson_locked()
97 r = ck_pr_load_uint(&lock->slots[position].locked); in ck_spinlock_anderson_locked()
106 unsigned int position, next; in ck_spinlock_anderson_lock() local
115 position = ck_pr_load_uint(&lock->next); in ck_spinlock_anderson_lock()
118 if (position == UINT_MAX) in ck_spinlock_anderson_lock()
121 next = position + 1; in ck_spinlock_anderson_lock()
[all …]
H A Dticket.h89 CK_SPINLOCK_TICKET_TYPE request, position; in ck_spinlock_ticket_locked() local
92 position = request & CK_SPINLOCK_TICKET_MASK; in ck_spinlock_ticket_locked()
96 return request != position; in ck_spinlock_ticket_locked()
102 CK_SPINLOCK_TICKET_TYPE request, position; in ck_spinlock_ticket_lock() local
108 position = request & CK_SPINLOCK_TICKET_MASK; in ck_spinlock_ticket_lock()
111 while (request != position) { in ck_spinlock_ticket_lock()
113 position = CK_SPINLOCK_TICKET_LOAD(&ticket->value) & in ck_spinlock_ticket_lock()
124 CK_SPINLOCK_TICKET_TYPE request, position; in ck_spinlock_ticket_lock_pb() local
131 position = request & CK_SPINLOCK_TICKET_MASK; in ck_spinlock_ticket_lock_pb()
134 while (request != position) { in ck_spinlock_ticket_lock_pb()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/
H A Dargon2-core.h140 const argon2_position_t *position, uint32_t pseudo_rand, in index_alpha() argument
157 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()
171 position->slice * instance->segment_length + in index_alpha()
172 ((position->index == 0) ? (-1) : 0); in index_alpha()
179 instance->segment_length + position->index - in index_alpha()
184 ((position->index == 0) ? (-1) : 0); in index_alpha()
[all …]
H A Dargon2-fill-block-ssse3.c101 const argon2_position_t *position, uint64_t *pseudo_rands) in generate_addresses() argument
109 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()
168 generate_addresses(instance, &position, pseudo_rands); in fill_segment_ssse3()
173 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment_ssse3()
178 curr_offset = position.lane * instance->lane_length + in fill_segment_ssse3()
[all …]
H A Dargon2-fill-block-avx2.c102 const argon2_position_t *position, uint64_t *pseudo_rands) in generate_addresses() argument
110 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()
169 generate_addresses(instance, &position, pseudo_rands); in fill_segment_avx2()
174 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment_avx2()
179 curr_offset = position.lane * instance->lane_length + in fill_segment_avx2()
[all …]
H A Dargon2-fill-block-avx512f.c107 const argon2_position_t *position, uint64_t *pseudo_rands) in generate_addresses() argument
115 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()
174 generate_addresses(instance, &position, pseudo_rands); in fill_segment_avx512f()
179 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment_avx512f()
184 curr_offset = position.lane * instance->lane_length + in fill_segment_avx512f()
[all …]
H A Dargon2-fill-block-ref.c113 const argon2_position_t *position, uint64_t *pseudo_rands) in generate_addresses() argument
121 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()
144 fill_segment_ref(const argon2_instance_t *instance, argon2_position_t position) in fill_segment_ref() argument
160 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_ref()
167 generate_addresses(instance, &position, pseudo_rands); 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()
[all …]
/freebsd/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/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/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
554 void setHasThousandsGrouping(const char *position) { in setHasThousandsGrouping() argument
555 HasThousandsGrouping.setPosition(position); in setHasThousandsGrouping()
557 void setIsLeftJustified(const char *position) { in setIsLeftJustified() argument
558 IsLeftJustified.setPosition(position); in setIsLeftJustified()
[all …]
/freebsd/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/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/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/contrib/ofed/opensm/opensm/
H A Dosm_mcast_tbl.c173 uint8_t position; in osm_mcast_tbl_is_any_port() local
184 for (position = 0; position <= p_tbl->max_position; position++) in osm_mcast_tbl_is_any_port()
185 result |= (*p_tbl->p_mask_tbl)[mlid_offset][position]; in osm_mcast_tbl_is_any_port()
194 IN uint8_t position) in osm_mcast_tbl_set_block() argument
205 if (position > p_tbl->max_position) in osm_mcast_tbl_set_block()
214 (*p_tbl->p_mask_tbl)[mlid_start_ho + i][position] = p_block[i]; in osm_mcast_tbl_set_block()
237 IN int16_t block_num, IN uint8_t position, in osm_mcast_tbl_get_block() argument
249 if (position > p_tbl->max_position) { in osm_mcast_tbl_get_block()
262 p_block[i] = (*p_tbl->p_mask_tbl)[mlid_start_ho + i][position]; in osm_mcast_tbl_get_block()
/freebsd/contrib/netbsd-tests/include/
H A Dd_bitstring_67.out171 first 1 bit should move right 1 position each line
240 first 0 bit should move right 1 position each line
309 first 0 bit should move left 1 position each line
378 first 1 bit should move left 1 position each line
447 0 bit should move right 1 position each line
516 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_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>>...19