Home
last modified time | relevance | path

Searched +full:- +full:- +full:index (Results 1 – 25 of 1021) sorted by relevance

12345678910>>...41

/Zephyr-latest/tests/lib/cmsis_dsp/common/
Dtest_common.h3 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
22 #define ASSERT_MSG_SNR_LIMIT_EXCEED "signal-to-noise ratio " \
72 #pragma GCC diagnostic ignored "-Wunused-function"
77 size_t index; in test_equal_f64() local
79 for (index = 0; index < length; index++) { in test_equal_f64()
80 if (a[index] != b[index]) { in test_equal_f64()
91 size_t index; in test_equal_f32() local
93 for (index = 0; index < length; index++) { in test_equal_f32()
94 if (a[index] != b[index]) { in test_equal_f32()
[all …]
/Zephyr-latest/subsys/net/lib/lwm2m/
Ducifi_lpwan.c4 * SPDX-License-Identifier: Apache-2.0
9 * https://raw.githubusercontent.com/OpenMobileAlliance/lwm2m-registry/prod/3412.xml
30 /* clang-format off */
39 /* clang-format on */
57 (UCIFI_LPWAN_MAX_RID - NUMBER_EXEC_RESOURCES - NUMBER_MULTI_RESOURCES + IPV4_ADDRESS_MAX + \
98 int index, i = 0, j = 0; in lpwan_create() local
101 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in lpwan_create()
102 if ((inst[index].obj != NULL) && (inst[index].obj_inst_id == obj_inst_id)) { in lpwan_create()
103 LOG_ERR("Can not create instance - already existing: %u", obj_inst_id); in lpwan_create()
108 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in lpwan_create()
[all …]
Dipso_temp_sensor.c3 * Copyright (c) 2018-2019 Foundries.io
5 * SPDX-License-Identifier: Apache-2.0
10 * https://github.com/IPSO-Alliance/pub/blob/master/docs/IPSO-Smart-Objects.pdf
46 #define RESOURCE_INSTANCE_COUNT (TEMP_MAX_ID - 1)
79 static void update_min_measured(uint16_t obj_inst_id, int index) in update_min_measured() argument
81 min_measured_value[index] = sensor_value[index]; in update_min_measured()
86 static void update_max_measured(uint16_t obj_inst_id, int index) in update_max_measured() argument
88 max_measured_value[index] = sensor_value[index]; in update_max_measured()
107 return -ENOENT; in reset_min_max_measured_values_cb()
135 int index, i = 0, j = 0; in temp_sensor_create() local
[all …]
Ducifi_battery.c3 * Copyright (c) 2018-2019 Foundries.io
6 * SPDX-License-Identifier: Apache-2.0
11 * https://raw.githubusercontent.com/OpenMobileAlliance/lwm2m-registry/prod/3411.xml
60 static void clear_supply_loss_counter(uint16_t obj_inst_id, int index) in clear_supply_loss_counter() argument
62 supply_loss_counter[index] = 0; in clear_supply_loss_counter()
79 return -ENOENT; in supply_loss_counter_reset_cb()
84 int index, i = 0, j = 0; in battery_create() local
87 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in battery_create()
88 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in battery_create()
89 LOG_ERR("Can not create instance - " in battery_create()
[all …]
Dipso_pressure_sensor.c3 * Copyright (c) 2018-2019 Foundries.io
6 * SPDX-License-Identifier: Apache-2.0
45 #define RESOURCE_INSTANCE_COUNT (NUMBER_OF_OBJ_FIELDS - 1)
79 static void update_min_measured(uint16_t obj_inst_id, int index) in update_min_measured() argument
81 min_measured_value[index] = sensor_value[index]; in update_min_measured()
85 static void update_max_measured(uint16_t obj_inst_id, int index) in update_max_measured() argument
87 max_measured_value[index] = sensor_value[index]; in update_max_measured()
105 return -ENOENT; in reset_min_max_measured_values_cb()
134 int index, i = 0, j = 0; in pressure_sensor_create() local
137 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in pressure_sensor_create()
[all …]
Dipso_filling_sensor.c4 * SPDX-License-Identifier: Apache-2.0
9 * https://github.com/OpenMobileAlliance/lwm2m-registry/blob/prod/3435.xml
40 #define RESOURCE_INSTANCE_COUNT (NUMBER_OF_OBJ_FIELDS - 1)
96 return -ENOENT; in reset_average_fill_speed_cb()
102 static void update(uint16_t obj_inst_id, uint16_t res_id, int index) in update() argument
107 full = actual_fill_percentage[index] > high_threshold[index]; in update()
108 if (container_full[index] != full) { in update()
109 container_full[index] = full; in update()
114 empty = actual_fill_percentage[index] < low_threshold[index]; in update()
115 if (container_empty[index] != empty) { in update()
[all …]
Dipso_voltage_sensor.c3 * Copyright (c) 2023 Hydro-Quebec
5 * SPDX-License-Identifier: Apache-2.0
10 * https://github.com/OpenMobileAlliance/lwm2m-registry/blob/prod/3316.xml
48 #define RESOURCE_INSTANCE_COUNT (NUMBER_OF_OBJ_FIELDS - 1)
84 static void update_min_measured(uint16_t obj_inst_id, int index) in update_min_measured() argument
86 min_measured_value[index] = sensor_value[index]; in update_min_measured()
90 static void update_max_measured(uint16_t obj_inst_id, int index) in update_max_measured() argument
92 max_measured_value[index] = sensor_value[index]; in update_max_measured()
110 return -ENOENT; in reset_min_max_measured_values_cb()
140 int index, i = 0, j = 0; in voltage_sensor_create() local
[all …]
Dipso_humidity_sensor.c3 * Copyright (c) 2018-2019 Foundries.io
6 * SPDX-License-Identifier: Apache-2.0
45 #define RESOURCE_INSTANCE_COUNT (NUMBER_OF_OBJ_FIELDS - 1)
78 static void update_min_measured(uint16_t obj_inst_id, int index) in update_min_measured() argument
80 min_measured_value[index] = sensor_value[index]; in update_min_measured()
84 static void update_max_measured(uint16_t obj_inst_id, int index) in update_max_measured() argument
86 max_measured_value[index] = sensor_value[index]; in update_max_measured()
104 return -ENOENT; in reset_min_max_measured_values_cb()
133 int index, i = 0, j = 0; in humidity_sensor_create() local
136 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in humidity_sensor_create()
[all …]
Dipso_generic_sensor.c3 * Copyright (c) 2018-2019 Foundries.io
6 * SPDX-License-Identifier: Apache-2.0
56 #define RESOURCE_INSTANCE_COUNT (NUMBER_OF_OBJ_FIELDS - 1)
92 static void update_min_measured(uint16_t obj_inst_id, int index) in update_min_measured() argument
94 min_measured_value[index] = sensor_value[index]; in update_min_measured()
98 static void update_max_measured(uint16_t obj_inst_id, int index) in update_max_measured() argument
100 max_measured_value[index] = sensor_value[index]; in update_max_measured()
118 return -ENOENT; in reset_min_max_measured_values_cb()
146 int index, i = 0, j = 0; in generic_sensor_create() local
149 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in generic_sensor_create()
[all …]
Dlwm2m_obj_gateway.c7 * SPDX-License-Identifier: Apache-2.0
12 * https://github.com/OpenMobileAlliance/lwm2m-registry/blob/prod/25.xml
43 #define RESOURCE_INSTANCE_COUNT (GATEWAY_MAX_ID - 1)
75 return -EINVAL; in prefix_validation_cb()
91 return unique ? 0 : -EINVAL; in prefix_validation_cb()
96 int index, i = 0, j = 0; in lwm2m_gw_create() local
99 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in lwm2m_gw_create()
100 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in lwm2m_gw_create()
101 LOG_ERR("Can not create instance - " in lwm2m_gw_create()
108 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in lwm2m_gw_create()
[all …]
Dipso_current_sensor.c4 * SPDX-License-Identifier: Apache-2.0
9 * https://github.com/OpenMobileAlliance/lwm2m-registry/blob/prod/3317.xml
47 #define RESOURCE_INSTANCE_COUNT (NUMBER_OF_OBJ_FIELDS - 1)
83 static void update_min_measured(uint16_t obj_inst_id, int index) in update_min_measured() argument
85 min_measured_value[index] = sensor_value[index]; in update_min_measured()
89 static void update_max_measured(uint16_t obj_inst_id, int index) in update_max_measured() argument
91 max_measured_value[index] = sensor_value[index]; in update_max_measured()
109 return -ENOENT; in reset_min_max_measured_values_cb()
139 int index, i = 0, j = 0; in current_sensor_create() local
142 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in current_sensor_create()
[all …]
Dlwm2m_obj_security.c3 * Copyright (c) 2018-2019 Foundries.io
5 * SPDX-License-Identifier: Apache-2.0
71 #define RESOURCE_INSTANCE_COUNT (SECURITY_MAX_ID - 1 + DTLS_TLS_CIPHERSUITE_MAX)
116 int index, i = 0, j = 0; in security_create() local
119 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in security_create()
120 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in security_create()
121 LOG_ERR("Can not create instance - " in security_create()
127 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in security_create()
128 if (!inst[index].obj) { in security_create()
133 if (index >= MAX_INSTANCE_COUNT) { in security_create()
[all …]
Dlwm2m_obj_server.c3 * Copyright (c) 2018-2019 Foundries.io
5 * SPDX-License-Identifier: Apache-2.0
44 #define RESOURCE_INSTANCE_COUNT (SERVER_MAX_ID - 2)
117 return -ENOENT; in disable_cb()
199 return -ENOENT; in lwm2m_server_get_ssid()
212 return -ENOENT; in lwm2m_server_short_id_to_inst()
222 return -1; in lwm2m_server_inst_id_to_index()
240 return -ENOENT; in lwm2m_server_disable()
327 int index, i = 0, j = 0; in server_create() local
330 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in server_create()
[all …]
/Zephyr-latest/doc/develop/
Dindex.rst9 getting_started/index.rst
10 beyond-GSG.rst
12 application/index.rst
13 debug/index.rst
14 api/index.rst
15 languages/index.rst
16 optimizations/index
17 flash_debug/index
19 west/index
20 test/index
[all …]
/Zephyr-latest/doc/
Dindex-tex.rst6 .. _zephyr-home-tex:
16 introduction/index.rst
17 develop/index.rst
18 kernel/index.rst
19 services/index.rst
20 build/index.rst
21 connectivity/index.rst
22 hardware/index.rst
23 contribute/index.rst
24 project/index.rst
[all …]
Dindex.rst4 .. _zephyr-home:
28 <li class="grid-item">
29 <a href="introduction/index.html">
35 <li class="grid-item">
36 <a href="develop/getting_started/index.html">
37 <span class="grid-icon fa fa-map-signs"></span>
42 <li class="grid-item">
43 <a href="samples/index.html">
44 <span class="grid-icon fa fa-cogs"></span>
49 <li class="grid-item">
[all …]
/Zephyr-latest/include/zephyr/sys/
Dspeculation.h4 * SPDX-License-Identifier: Apache-2.0
13 * Sanitize an array index against bounds check bypass attacks aka the
17 * leak confidential data due to analysis of micro-architectural properties.
18 * This will unconditionally truncate any out-of-bounds indexes to
24 * if (index < size) {
25 * index = k_array_index_sanitize(index, size);
26 * data = array[index];
29 * @param index Untrusted array index which has been validated, but not used
31 * @return The original index value if < size, or 0
33 static inline uint32_t k_array_index_sanitize(uint32_t index, uint32_t array_size) in k_array_index_sanitize() argument
[all …]
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dmicp_mic_dev.c5 * Copyright (c) 2020-2022 Nordic Semiconductor ASA
7 * SPDX-License-Identifier: Apache-2.0
135 micp_param.aics_param[i].min_gain = -100; in cmd_micp_mic_dev_param()
213 unsigned long index; in cmd_micp_mic_dev_aics_deactivate() local
216 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_dev_aics_deactivate()
218 shell_error(sh, "Could not parse index: %d", result); in cmd_micp_mic_dev_aics_deactivate()
220 return -ENOEXEC; in cmd_micp_mic_dev_aics_deactivate()
223 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_deactivate()
224 shell_error(sh, "Index shall be less than %u, was %lu", in cmd_micp_mic_dev_aics_deactivate()
225 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_deactivate()
[all …]
Dvcp_vol_rend.c5 * Copyright (c) 2020-2022 Nordic Semiconductor ASA
7 * SPDX-License-Identifier: Apache-2.0
206 vcp_register_param.aics_param[i].min_gain = -100; in cmd_vcp_vol_rend_init()
270 return -ENOEXEC; in cmd_vcp_vol_rend_volume_step()
276 return -ENOEXEC; in cmd_vcp_vol_rend_volume_step()
371 return -ENOEXEC; in cmd_vcp_vol_rend_volume_set()
377 return -ENOEXEC; in cmd_vcp_vol_rend_volume_set()
416 unsigned long index; in cmd_vcp_vol_rend_vocs_state_get() local
419 index = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_rend_vocs_state_get()
421 shell_error(sh, "Failed to parse index: %d", result); in cmd_vcp_vol_rend_vocs_state_get()
[all …]
/Zephyr-latest/scripts/ci/es_upload/
DREADME.md1 # ElasticSearch index map examples
4 index map examples for use by [upload_test_results_es.py](../upload_test_results_es.py)
8 An index map file allows to create destination index files on ElasticSearch server
13 An alternative way is to have index files created at the ElasticSearch server
17 For other command line options and more details run the upload script with `--help`,
24 It is recommended to try the upload script with `--dry-run` option first
31 ## Index creation with a map file
33 Execute the upload script once for the first time to create your index at the ElasticSearch
36 python3 ./scripts/ci/upload_test_results_es.py --create-index \
37 --index YOUR_INDEX_NAME \
[all …]
/Zephyr-latest/tests/lib/cmsis_dsp/fastmath/src/
Dq15.c3 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
23 size_t index; in ZTEST() local
32 for (index = 0; index < length; index++) { in ZTEST()
33 output[index] = arm_cos_q15(in_angles[index]); in ZTEST()
51 size_t index; in ZTEST() local
60 for (index = 0; index < length; index++) { in ZTEST()
61 output[index] = arm_sin_q15(in_angles[index]); in ZTEST()
79 size_t index; in ZTEST() local
89 for (index = 0; index < length; index++) { in ZTEST()
[all …]
Dq31.c3 * Copyright (C) 2010-2020 ARM Limited or its affiliates. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
23 size_t index; in ZTEST() local
32 for (index = 0; index < length; index++) { in ZTEST()
33 output[index] = arm_cos_q31(in_angles[index]); in ZTEST()
51 size_t index; in ZTEST() local
60 for (index = 0; index < length; index++) { in ZTEST()
61 output[index] = arm_sin_q31(in_angles[index]); in ZTEST()
79 size_t index; in ZTEST() local
89 for (index = 0; index < length; index++) { in ZTEST()
[all …]
/Zephyr-latest/tests/subsys/secure_storage/psa/its/src/
Dcustom_store.c2 * SPDX-License-Identifier: Apache-2.0
24 return -1; in get_existing_entry_index()
31 int index = get_existing_entry_index(uid); in secure_storage_its_store_set() local
33 if (index == -1) { in secure_storage_its_store_set()
36 index = i; in secure_storage_its_store_set()
40 if (index == -1) { in secure_storage_its_store_set()
43 s_its_entries[index].uid = uid; in secure_storage_its_store_set()
46 s_its_entries[index].data_length = data_length; in secure_storage_its_store_set()
47 memcpy(s_its_entries[index].data, data, data_length); in secure_storage_its_store_set()
54 const int index = get_existing_entry_index(uid); in secure_storage_its_store_get() local
[all …]
/Zephyr-latest/doc/_scripts/
Dredirects.py3 SPDX-License-Identifier: Apache-2.0
10 - Please keep this list sorted alphabetically.
11 - URLs must be relative to document root (with NO leading slash), and
16 # zephyr-keep-sorted-start
17 ('application/index', 'develop/application/index'),
18 ('boards/arduino/uno_r4_minima/doc/index', 'boards/arduino/uno_r4/doc/index'),
19 ('boards/phytec/mimx8mm_phyboard_polis/doc/index', 'boards/phytec/phyboard_polis/doc/index'),
20 ('boards/phytec/mimx8mp_phyboard_pollux/doc/index', 'boards/phytec/phyboard_pollux/doc/index'),
21 ('boards/rak/index', 'boards/rakwireless/index'),
22 ('boards/rak/rak11720/doc/index', 'boards/rakwireless/rak11720/doc/index'),
[all …]
/Zephyr-latest/doc/kernel/
Dindex.rst9 services/index.rst
10 drivers/index.rst
11 usermode/index.rst
12 memory_management/index.rst
13 data_structures/index.rst
14 timing_functions/index.rst
15 object_cores/index.rst
17 util/index.rst
18 iterable_sections/index.rst
19 code-relocation.rst

12345678910>>...41