Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 112) sorted by relevance

12345

/optee_os/core/pta/tests/
A Dlockdep.c31 count++; in self_test_lockdep1()
36 count++; in self_test_lockdep1()
41 count++; in self_test_lockdep1()
46 count++; in self_test_lockdep1()
51 count++; in self_test_lockdep1()
56 count++; in self_test_lockdep1()
61 count++; in self_test_lockdep1()
93 count++; in self_test_lockdep2()
98 count++; in self_test_lockdep2()
103 count++; in self_test_lockdep2()
[all …]
/optee_os/lib/libutils/isoc/arch/arm/softfloat/source/include/
A Dprimitives.h55 { return a>>count | ((a & (((uint_fast64_t) 1<<count) - 1)) != 0); } in softfloat_shortShiftRightJam64()
75 (count < 31) ? a>>count | ((uint32_t) (a<<(-count & 31)) != 0) in softfloat_shiftRightJam32()
97 (count < 63) ? a>>count | ((uint64_t) (a<<(-count & 63)) != 0) in softfloat_shiftRightJam64()
122 count = 16; in softfloat_countLeadingZeros32()
126 count += 8; in softfloat_countLeadingZeros32()
130 return count; in softfloat_countLeadingZeros32()
249 z.v64 = a64<<count | a0>>(-count & 63); in softfloat_shortShiftLeft128()
250 z.v0 = a0<<count; in softfloat_shortShiftLeft128()
271 z.v0 = a64<<(-count & 63) | a0>>count; in softfloat_shortShiftRight128()
292 z.v = a>>count; in softfloat_shortShiftRightJam64Extra()
[all …]
/optee_os/lib/libutils/isoc/newlib/
A Dstrncpy.c105 size_t count)
113 while (count > 0)
115 --count;
119 while (count-- > 0)
130 if (!UNALIGNED (src, dst) && !TOO_SMALL (count))
137 while (count >= sizeof (long int) && !DETECTNULL(*aligned_src))
139 count -= sizeof (long int);
147 while (count > 0)
149 --count;
154 while (count-- > 0)
/optee_os/lib/libutils/isoc/arch/arm/softfloat/source/
A Ds_shiftRightJam128Extra.c46 uint64_t a64, uint64_t a0, uint64_t extra, uint_fast32_t count ) in softfloat_shiftRightJam128Extra() argument
51 negCount = -count; in softfloat_shiftRightJam128Extra()
52 if ( count < 64 ) { in softfloat_shiftRightJam128Extra()
53 z.v.v64 = a64>>count; in softfloat_shiftRightJam128Extra()
54 z.v.v0 = a64<<(negCount & 63) | a0>>count; in softfloat_shiftRightJam128Extra()
58 if ( count == 64 ) { in softfloat_shiftRightJam128Extra()
63 if ( count < 128 ) { in softfloat_shiftRightJam128Extra()
64 z.v.v0 = a64>>(count & 63); in softfloat_shiftRightJam128Extra()
68 z.extra = (count == 128) ? a64 : (a64 != 0); in softfloat_shiftRightJam128Extra()
A Ds_shiftRightJam128.c45 softfloat_shiftRightJam128( uint64_t a64, uint64_t a0, uint_fast32_t count ) in softfloat_shiftRightJam128() argument
50 if ( count < 64 ) { in softfloat_shiftRightJam128()
51 negCount = -count; in softfloat_shiftRightJam128()
52 z.v64 = a64>>count; in softfloat_shiftRightJam128()
54 a64<<(negCount & 63) | a0>>count in softfloat_shiftRightJam128()
59 (count < 127) in softfloat_shiftRightJam128()
60 ? a64>>(count & 63) in softfloat_shiftRightJam128()
61 | (((a64 & (((uint_fast64_t) 1<<(count & 63)) - 1)) | a0) in softfloat_shiftRightJam128()
A Ds_countLeadingZeros64.c48 uint_fast8_t count; in softfloat_countLeadingZeros64() local
51 count = 0; in softfloat_countLeadingZeros64()
54 count = 32; in softfloat_countLeadingZeros64()
61 count += 16; in softfloat_countLeadingZeros64()
65 count += 8; in softfloat_countLeadingZeros64()
68 count += softfloat_countLeadingZeros8[a32>>24]; in softfloat_countLeadingZeros64()
69 return count; in softfloat_countLeadingZeros64()
A Ds_countLeadingZeros32.c48 uint_fast8_t count; in softfloat_countLeadingZeros32() local
50 count = 0; in softfloat_countLeadingZeros32()
52 count = 16; in softfloat_countLeadingZeros32()
56 count += 8; in softfloat_countLeadingZeros32()
59 count += softfloat_countLeadingZeros8[a>>24]; in softfloat_countLeadingZeros32()
60 return count; in softfloat_countLeadingZeros32()
A Ds_shiftRightJam256M.c49 uint_fast8_t count, in softfloat_shortShiftRightJamM() argument
57 negCount = -count; in softfloat_shortShiftRightJamM()
61 partWordZ = wordA>>count; in softfloat_shortShiftRightJamM()
62 if ( partWordZ<<count != wordA ) partWordZ |= 1; in softfloat_shortShiftRightJamM()
67 partWordZ = wordA>>count; in softfloat_shortShiftRightJamM()
75 const uint64_t *aPtr, uint_fast32_t count, uint64_t *zPtr ) in softfloat_shiftRightJam256M() argument
83 wordCount = count>>6; in softfloat_shiftRightJam256M()
97 innerCount = count & 63; in softfloat_shiftRightJam256M()
A Ds_shiftRightJam64Extra.c46 uint64_t a, uint64_t extra, uint_fast32_t count ) in softfloat_shiftRightJam64Extra() argument
50 if ( count < 64 ) { in softfloat_shiftRightJam64Extra()
51 z.v = a>>count; in softfloat_shiftRightJam64Extra()
52 z.extra = a<<(-count & 63); in softfloat_shiftRightJam64Extra()
55 z.extra = (count == 64) ? a : (a != 0); in softfloat_shiftRightJam64Extra()
A Ds_shortShiftRightJamM.c48 uint_fast8_t count, in softfloat_shortShiftRightJamM() argument
56 negCount = -count; in softfloat_shortShiftRightJamM()
60 partWordZ = wordA>>count; in softfloat_shortShiftRightJamM()
61 if ( partWordZ<<count != wordA ) partWordZ |= 1; in softfloat_shortShiftRightJamM()
66 partWordZ = wordA>>count; in softfloat_shortShiftRightJamM()
A Ds_shiftRightJam32.c43 uint32_t softfloat_shiftRightJam32( uint32_t a, uint_fast16_t count ) in softfloat_shiftRightJam32() argument
47 (count < 31) ? a>>count | ((uint32_t) (a<<(-count & 31)) != 0) in softfloat_shiftRightJam32()
A Ds_shiftRightJam64.c43 uint64_t softfloat_shiftRightJam64( uint64_t a, uint_fast32_t count ) in softfloat_shiftRightJam64() argument
47 (count < 63) ? a>>count | ((uint64_t) (a<<(-count & 63)) != 0) in softfloat_shiftRightJam64()
A Ds_shortShiftLeft128.c45 softfloat_shortShiftLeft128( uint64_t a64, uint64_t a0, uint_fast8_t count ) in softfloat_shortShiftLeft128() argument
49 z.v64 = a64<<count | a0>>(-count & 63); in softfloat_shortShiftLeft128()
50 z.v0 = a0<<count; in softfloat_shortShiftLeft128()
A Ds_shortShiftRight128.c45 softfloat_shortShiftRight128( uint64_t a64, uint64_t a0, uint_fast8_t count ) in softfloat_shortShiftRight128() argument
49 z.v64 = a64>>count; in softfloat_shortShiftRight128()
50 z.v0 = a64<<(-count & 63) | a0>>count; in softfloat_shortShiftRight128()
A Ds_shortShiftRightJam128.c46 uint64_t a64, uint64_t a0, uint_fast8_t count ) in softfloat_shortShiftRightJam128() argument
51 negCount = -count; in softfloat_shortShiftRightJam128()
52 z.v64 = a64>>count; in softfloat_shortShiftRightJam128()
54 a64<<(negCount & 63) | a0>>count in softfloat_shortShiftRightJam128()
A Ds_shortShiftRightJam128Extra.c46 uint64_t a64, uint64_t a0, uint64_t extra, uint_fast8_t count ) in softfloat_shortShiftRightJam128Extra() argument
51 negCount = -count; in softfloat_shortShiftRightJam128Extra()
52 z.v.v64 = a64>>count; in softfloat_shortShiftRightJam128Extra()
53 z.v.v0 = a64<<(negCount & 63) | a0>>count; in softfloat_shortShiftRightJam128Extra()
/optee_os/core/drivers/scmi-msg/
A Dbase.c124 unsigned int count = 0; in count_protocols_in_list() local
127 while (protocol_list[count]) in count_protocols_in_list()
128 count++; in count_protocols_in_list()
130 return count; in count_protocols_in_list()
143 unsigned int count = 0; in discover_list_protocols() local
155 count = count_protocols_in_list(list); in discover_list_protocols()
156 if (count > a2p->skip) in discover_list_protocols()
157 count = MIN(count - a2p->skip, MAX_PROTOCOL_IN_LIST); in discover_list_protocols()
159 count = 0; in discover_list_protocols()
161 p2a.num_protocols = count; in discover_list_protocols()
[all …]
/optee_os/ta/pkcs11/src/
A Dprocessing_ec.c327 size_t count = 0; in load_tee_ec_key_attrs() local
341 count++; in load_tee_ec_key_attrs()
346 count++; in load_tee_ec_key_attrs()
351 count++; in load_tee_ec_key_attrs()
353 if (count == 3) in load_tee_ec_key_attrs()
366 count++; in load_tee_ec_key_attrs()
371 count++; in load_tee_ec_key_attrs()
376 count++; in load_tee_ec_key_attrs()
381 count++; in load_tee_ec_key_attrs()
383 if (count == 4) in load_tee_ec_key_attrs()
[all …]
A Dprocessing_rsa.c370 count++; in load_tee_rsa_key_attrs()
375 count++; in load_tee_rsa_key_attrs()
377 if (count == 2) in load_tee_rsa_key_attrs()
390 count++; in load_tee_rsa_key_attrs()
395 count++; in load_tee_rsa_key_attrs()
400 count++; in load_tee_rsa_key_attrs()
417 count++; in load_tee_rsa_key_attrs()
421 count++; in load_tee_rsa_key_attrs()
425 count++; in load_tee_rsa_key_attrs()
429 count++; in load_tee_rsa_key_attrs()
[all …]
A Dpersistent_token.c359 int count = 0; in unregister_persistent_object() local
392 ptr->count--; in unregister_persistent_object()
393 count = ptr->count - idx; in unregister_persistent_object()
397 count * sizeof(TEE_UUID)); in unregister_persistent_object()
422 int count = 0; in register_persistent_object() local
427 count = token->db_objs->count; in register_persistent_object()
439 count * sizeof(TEE_UUID); in register_persistent_object()
454 token->db_objs->count++; in register_persistent_object()
460 token->db_objs->count--; in register_persistent_object()
616 if (db_objs->count > 0) { in init_persistent_db()
[all …]
A Dattributes.c105 void **attr, uint32_t *attr_size, size_t *count) in get_attribute_ptrs() argument
110 size_t max_found = *count; in get_attribute_ptrs()
150 *count = found; in get_attribute_ptrs()
156 size_t count = 1; in get_attribute_ptr() local
158 get_attribute_ptrs(head, attribute, attr_ptr, attr_size, &count); in get_attribute_ptr()
160 if (!count) in get_attribute_ptr()
163 if (count != 1) in get_attribute_ptr()
251 size_t count = ref->attrs_count; in attributes_match_reference() local
260 for (count = 0; count < ref->attrs_count; count++) { in attributes_match_reference()
282 size_t count = ref->attrs_count; in attributes_match_add_reference() local
[all …]
/optee_os/ta/avb/
A Dentry.c81 uint32_t count; in read_rb_idx() local
100 res = TEE_ReadObjectData(h, &idx, sizeof(idx), &count); in read_rb_idx()
103 if (count != sizeof(idx)) { in read_rb_idx()
106 if (count) { in read_rb_idx()
137 uint32_t count; in write_rb_idx() local
160 if (count != sizeof(idx)) in write_rb_idx()
185 uint32_t count; in read_lock_state() local
199 if (count != sizeof(lock_state)) { in read_lock_state()
223 uint32_t count; in write_lock_state() local
315 uint32_t count = 0; in read_persist_value() local
[all …]
/optee_os/core/lib/zlib/
A Dinftrees.c59 unsigned short count[MAXBITS+1]; /* number of codes of each length */ local
109 count[len] = 0;
111 count[lens[sym]]++;
116 if (count[max] != 0) break;
128 if (count[min] != 0) break;
135 left -= count[len];
144 offs[len + 1] = offs[len] + count[len];
253 if (--(count[len]) == 0) {
271 left -= count[curr + drop];
/optee_os/core/drivers/
A Dimx_sc_api.c123 unsigned int count = 0; in sc_ipc_read() local
142 for (count = 1; count < msg->header.size; count++) { in sc_ipc_read()
143 res = mu_receive_msg(ipc, count % MU_NB_RR, in sc_ipc_read()
144 &msg->data.u32[count - 1]); in sc_ipc_read()
161 unsigned int count = 0; in sc_ipc_write() local
179 for (count = 1; count < msg->header.size; count++) { in sc_ipc_write()
180 res = mu_send_msg(ipc, count % MU_NB_TR, in sc_ipc_write()
181 msg->data.u32[count - 1]); in sc_ipc_write()
A Dstm32_uart.c138 int count = 0; in stm32_uart_init_from_dt_node() local
171 count = stm32_pinctrl_fdt_get_pinctrl(fdt, node, NULL, 0); in stm32_uart_init_from_dt_node()
172 if (count < 0) in stm32_uart_init_from_dt_node()
175 if (count) { in stm32_uart_init_from_dt_node()
176 pinctrl_cfg = calloc(count, sizeof(*pinctrl_cfg)); in stm32_uart_init_from_dt_node()
180 stm32_pinctrl_fdt_get_pinctrl(fdt, node, pinctrl_cfg, count); in stm32_uart_init_from_dt_node()
181 stm32_pinctrl_load_active_cfg(pinctrl_cfg, count); in stm32_uart_init_from_dt_node()
184 pd->pinctrl_count = count; in stm32_uart_init_from_dt_node()

Completed in 44 milliseconds

12345