Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 97) sorted by relevance

1234

/subsys/fs/
A Dfat_fs.c120 FRESULT res; in fatfs_open() local
163 res = translate_error(res); in fatfs_unlink()
166 return res; in fatfs_unlink()
187 res = translate_error(res); in fatfs_rename()
190 return res; in fatfs_rename()
229 res = translate_error(res); in fatfs_write()
231 res = bw; in fatfs_write()
316 res = translate_error(res); in fatfs_truncate()
328 res = translate_error(res); in fatfs_sync()
339 res = translate_error(res); in fatfs_mkdir()
[all …]
/subsys/net/lib/sockets/
A Dsocketpair.c163 int res; in spair_delete() local
184 res); in spair_delete()
221 int res; in spair_new() local
282 int res; in z_impl_zsock_socketpair() local
404 int res; in spair_write() local
611 int res; in spair_read() local
750 int res; in zsock_poll_prepare_ctx() local
808 res = 0; in zsock_poll_prepare_ctx()
823 int res; in zsock_poll_update_ctx() local
895 res = 0; in zsock_poll_update_ctx()
[all …]
A Dgetaddrinfo.c195 INIT_ADDRINFO(res, addr); in getaddrinfo_null_host()
196 res->ai_family = AF_INET; in getaddrinfo_null_host()
202 INIT_ADDRINFO(res, addr6); in getaddrinfo_null_host()
203 res->ai_family = AF_INET6; in getaddrinfo_null_host()
265 ai_state.ai_arr = res; in z_impl_z_zsock_getaddrinfo_internal()
398 res->ai_socktype = socktype; in try_resolve_literal_addr()
407 INIT_ADDRINFO(res, addr); in try_resolve_literal_addr()
418 INIT_ADDRINFO(res, addr); in try_resolve_literal_addr()
444 if (!(*res)) { in zsock_getaddrinfo()
464 k_free(*res); in zsock_getaddrinfo()
[all …]
/subsys/net/lib/sntp/
A Dsntp_simple.c15 int res; in sntp_simple_helper() local
22 if (res < 0) { in sntp_simple_helper()
23 return res; in sntp_simple_helper()
39 if (res != -ETIMEDOUT) { in sntp_simple_helper()
71 return res; in sntp_simple_helper()
80 if (res < 0) { in sntp_simple_addr()
81 return res; in sntp_simple_addr()
89 int res; in sntp_simple() local
98 if (res < 0) { in sntp_simple()
103 return res; in sntp_simple()
[all …]
/subsys/net/lib/lwm2m/
A Dlwm2m_senml_cbor_encode.c50 return res; in encode_repeated_record_bn()
61 return res; in encode_repeated_record_bt()
72 return res; in encode_repeated_record_n()
83 return res; in encode_repeated_record_t()
128 return res; in encode_repeated_record_union()
152 return res; in encode_value()
163 return res; in encode_key_value_pair()
174 return res; in encode_repeated_record_key_value_pair_m()
203 return res; in encode_record()
210 bool res = in encode_lwm2m_senml() local
[all …]
A Dlwm2m_senml_cbor_decode.c50 return res; in decode_repeated_record_bn()
61 return res; in decode_repeated_record_bt()
72 return res; in decode_repeated_record_n()
83 return res; in decode_repeated_record_t()
117 return res; in decode_repeated_record_union()
140 return res; in decode_value()
151 return res; in decode_key_value_pair()
162 return res; in decode_repeated_record_key_value_pair_m()
169 bool res = in decode_record() local
208 return res; in decode_record()
[all …]
A Ducifi_lpwan.c90 static struct lwm2m_engine_res res[MAX_INSTANCE_COUNT][UCIFI_LPWAN_MAX_RID]; variable
120 (void)memset(res[index], 0, sizeof(res[index])); in lpwan_create()
133 INIT_OBJ_RES_MULTI_OPTDATA(UCIFI_LPWAN_SECONDARY_ADDRESS_RID, res[index], i, in lpwan_create()
139 INIT_OBJ_RES_MULTI_OPTDATA(UCIFI_LPWAN_MULTICAST_GRP_ADDRESS_RID, res[index], i, in lpwan_create()
141 INIT_OBJ_RES_MULTI_OPTDATA(UCIFI_LPWAN_MULTICAST_GRP_KEY_RID, res[index], i, in lpwan_create()
143 INIT_OBJ_RES_OPTDATA(UCIFI_LPWAN_DATA_RATE_RID, res[index], i, res_inst[index], j); in lpwan_create()
145 INIT_OBJ_RES_OPTDATA(UCIFI_LPWAN_FREQUENCY_RID, res[index], i, res_inst[index], j); in lpwan_create()
153 INIT_OBJ_RES_OPTDATA(UCIFI_LPWAN_RSSI_RID, res[index], i, res_inst[index], j); in lpwan_create()
154 INIT_OBJ_RES_OPTDATA(UCIFI_LPWAN_IMSI_RID, res[index], i, res_inst[index], j); in lpwan_create()
155 INIT_OBJ_RES_OPTDATA(UCIFI_LPWAN_IMEI_RID, res[index], i, res_inst[index], j); in lpwan_create()
[all …]
A Ducifi_battery.c57 static struct lwm2m_engine_res res[MAX_INSTANCE_COUNT][BATTERY_MAX_ID]; variable
111 (void)memset(res[index], 0, sizeof(res[index][0]) * ARRAY_SIZE(res[index])); in battery_create()
115 INIT_OBJ_RES_DATA(UCIFI_BATTERY_LEVEL_RID, res[index], i, res_inst[index], j, in battery_create()
117 INIT_OBJ_RES_OPTDATA(UCIFI_BATTERY_CAPACITY_RID, res[index], i, res_inst[index], j); in battery_create()
118 INIT_OBJ_RES_OPTDATA(UCIFI_BATTERY_VOLTAGE_RID, res[index], i, res_inst[index], j); in battery_create()
119 INIT_OBJ_RES_OPTDATA(UCIFI_BATTERY_TYPE_RID, res[index], i, res_inst[index], j); in battery_create()
122 INIT_OBJ_RES_OPTDATA(UCIFI_BATTERY_SHUTDOWN_RID, res[index], i, res_inst[index], j); in battery_create()
123 INIT_OBJ_RES_OPTDATA(UCIFI_BATTERY_NUM_CYCLES_RID, res[index], i, res_inst[index], j); in battery_create()
124 INIT_OBJ_RES_OPTDATA(UCIFI_BATTERY_SUPPLY_LOSS_RID, res[index], i, res_inst[index], j); in battery_create()
127 INIT_OBJ_RES_EXECUTE(UCIFI_BATTERY_SUPPLY_LOSS_COUNTER_RESET_RID, res[index], i, in battery_create()
[all …]
A Dipso_accelerometer.c68 static struct lwm2m_engine_res res[MAX_INSTANCE_COUNT][ACCEL_MAX_ID]; variable
99 (void)memset(res[avail], 0, in accel_create()
100 sizeof(res[avail][0]) * ARRAY_SIZE(res[avail])); in accel_create()
104 INIT_OBJ_RES_DATA(X_VALUE_RID, res[avail], i, res_inst[avail], j, in accel_create()
107 INIT_OBJ_RES_OPTDATA(Y_VALUE_RID, res[avail], i, res_inst[avail], j); in accel_create()
109 INIT_OBJ_RES_OPTDATA(SENSOR_UNITS_RID, res[avail], i, in accel_create()
114 INIT_OBJ_RES_OPTDATA(APPLICATION_TYPE_RID, res[avail], i, in accel_create()
117 INIT_OBJ_RES_OPTDATA(FRACTIONAL_TIMESTAMP_RID, res[avail], i, in accel_create()
119 INIT_OBJ_RES_OPTDATA(MEASUREMENT_QUALITY_INDICATOR_RID, res[avail], in accel_create()
121 INIT_OBJ_RES_OPTDATA(MEASUREMENT_QUALITY_LEVEL_RID, res[avail], i, in accel_create()
[all …]
A Dlwm2m_obj_device.c128 static struct lwm2m_engine_res res[DEVICE_MAX_ID]; variable
312 INIT_OBJ_RES_EXECUTE(DEVICE_REBOOT_ID, res, i, NULL); in device_create()
313 INIT_OBJ_RES_EXECUTE(DEVICE_FACTORY_DEFAULT_ID, res, i, NULL); in device_create()
321 INIT_OBJ_RES_OPTDATA(DEVICE_MEMORY_FREE_ID, res, i, res_inst, j); in device_create()
323 INIT_OBJ_RES_MULTI_DATA(DEVICE_ERROR_CODE_ID, res, i, in device_create()
326 INIT_OBJ_RES_EXECUTE(DEVICE_RESET_ERROR_CODE_ID, res, i, in device_create()
331 INIT_OBJ_RES_OPTDATA(DEVICE_UTC_OFFSET_ID, res, i, res_inst, j); in device_create()
332 INIT_OBJ_RES_OPTDATA(DEVICE_TIMEZONE_ID, res, i, res_inst, j); in device_create()
333 INIT_OBJ_RES_DATA_LEN(DEVICE_SUPPORTED_BINDING_MODES_ID, res, i, in device_create()
335 INIT_OBJ_RES_OPTDATA(DEVICE_TYPE_ID, res, i, res_inst, j); in device_create()
[all …]
A Dipso_pressure_sensor.c166 (void)memset(res[index], 0, in pressure_sensor_create()
167 sizeof(res[index][0]) * ARRAY_SIZE(res[index])); in pressure_sensor_create()
171 INIT_OBJ_RES(SENSOR_VALUE_RID, res[index], i, res_inst[index], j, 1, in pressure_sensor_create()
176 INIT_OBJ_RES_DATA(MIN_MEASURED_VALUE_RID, res[index], i, in pressure_sensor_create()
179 INIT_OBJ_RES_DATA(MAX_MEASURED_VALUE_RID, res[index], i, in pressure_sensor_create()
188 INIT_OBJ_RES_OPTDATA(CURRENT_CALIBRATION_RID, res[index], i, in pressure_sensor_create()
190 INIT_OBJ_RES_OPTDATA(APPLICATION_TYPE_RID, res[index], i, in pressure_sensor_create()
194 INIT_OBJ_RES_OPTDATA(FRACTIONAL_TIMESTAMP_RID, res[index], i, in pressure_sensor_create()
196 INIT_OBJ_RES_OPTDATA(MEASUREMENT_QUALITY_INDICATOR_RID, res[index], in pressure_sensor_create()
198 INIT_OBJ_RES_OPTDATA(MEASUREMENT_QUALITY_LEVEL_RID, res[index], i, in pressure_sensor_create()
[all …]
A Dipso_current_sensor.c172 (void)memset(res[index], 0, in current_sensor_create()
173 sizeof(res[index][0]) * ARRAY_SIZE(res[index])); in current_sensor_create()
177 INIT_OBJ_RES(SENSOR_VALUE_RID, res[index], i, res_inst[index], j, 1, in current_sensor_create()
182 INIT_OBJ_RES_DATA(MIN_MEASURED_VALUE_RID, res[index], i, in current_sensor_create()
185 INIT_OBJ_RES_DATA(MAX_MEASURED_VALUE_RID, res[index], i, in current_sensor_create()
188 INIT_OBJ_RES_DATA(MIN_RANGE_VALUE_RID, res[index], i, res_inst[index], in current_sensor_create()
190 INIT_OBJ_RES_DATA(MAX_RANGE_VALUE_RID, res[index], i, res_inst[index], in current_sensor_create()
194 INIT_OBJ_RES_DATA(CURRENT_CALIBRATION_RID, res[index], i, in current_sensor_create()
202 INIT_OBJ_RES_OPTDATA(FRACTIONAL_TIMESTAMP_RID, res[index], i, in current_sensor_create()
206 INIT_OBJ_RES_OPTDATA(MEASUREMENT_QUALITY_LEVEL_RID, res[index], i, in current_sensor_create()
[all …]
A Dipso_voltage_sensor.c173 (void)memset(res[index], 0, in voltage_sensor_create()
174 sizeof(res[index][0]) * ARRAY_SIZE(res[index])); in voltage_sensor_create()
178 INIT_OBJ_RES(SENSOR_VALUE_RID, res[index], i, res_inst[index], j, 1, in voltage_sensor_create()
183 INIT_OBJ_RES_DATA(MIN_MEASURED_VALUE_RID, res[index], i, in voltage_sensor_create()
186 INIT_OBJ_RES_DATA(MAX_MEASURED_VALUE_RID, res[index], i, in voltage_sensor_create()
189 INIT_OBJ_RES_DATA(MIN_RANGE_VALUE_RID, res[index], i, res_inst[index], in voltage_sensor_create()
191 INIT_OBJ_RES_DATA(MAX_RANGE_VALUE_RID, res[index], i, res_inst[index], in voltage_sensor_create()
195 INIT_OBJ_RES_DATA(CURRENT_CALIBRATION_RID, res[index], i, in voltage_sensor_create()
203 INIT_OBJ_RES_OPTDATA(FRACTIONAL_TIMESTAMP_RID, res[index], i, in voltage_sensor_create()
207 INIT_OBJ_RES_OPTDATA(MEASUREMENT_QUALITY_LEVEL_RID, res[index], i, in voltage_sensor_create()
[all …]
A Dipso_temp_sensor.c166 (void)memset(res[index], 0, in temp_sensor_create()
167 sizeof(res[index][0]) * ARRAY_SIZE(res[index])); in temp_sensor_create()
171 INIT_OBJ_RES(SENSOR_VALUE_RID, res[index], i, in temp_sensor_create()
177 INIT_OBJ_RES_DATA(MIN_MEASURED_VALUE_RID, res[index], i, in temp_sensor_create()
180 INIT_OBJ_RES_DATA(MAX_MEASURED_VALUE_RID, res[index], i, in temp_sensor_create()
183 INIT_OBJ_RES_DATA(MIN_RANGE_VALUE_RID, res[index], i, in temp_sensor_create()
186 INIT_OBJ_RES_DATA(MAX_RANGE_VALUE_RID, res[index], i, in temp_sensor_create()
190 res[index], i, reset_min_max_measured_values_cb); in temp_sensor_create()
192 INIT_OBJ_RES_OPTDATA(APPLICATION_TYPE_RID, res[index], i, in temp_sensor_create()
195 INIT_OBJ_RES_OPTDATA(FRACTIONAL_TIMESTAMP_RID, res[index], i, in temp_sensor_create()
[all …]
A Dlwm2m_obj_connmon.c136 static struct lwm2m_engine_res res[CONNMON_MAX_ID]; variable
162 INIT_OBJ_RES_DATA(CONNMON_NETWORK_BEARER_ID, res, i, res_inst, j, in connmon_create()
164 INIT_OBJ_RES_MULTI_OPTDATA(CONNMON_AVAIL_NETWORK_BEARER_ID, res, i, in connmon_create()
167 INIT_OBJ_RES_DATA(CONNMON_RADIO_SIGNAL_STRENGTH, res, i, res_inst, j, in connmon_create()
169 INIT_OBJ_RES_DATA(CONNMON_LINK_QUALITY, res, i, res_inst, j, in connmon_create()
171 INIT_OBJ_RES_MULTI_OPTDATA(CONNMON_IP_ADDRESSES, res, i, in connmon_create()
173 INIT_OBJ_RES_MULTI_OPTDATA(CONNMON_ROUTER_IP_ADDRESSES, res, i, in connmon_create()
176 INIT_OBJ_RES_MULTI_OPTDATA(CONNMON_APN, res, i, res_inst, j, in connmon_create()
178 INIT_OBJ_RES_DATA(CONNMON_CELLID, res, i, res_inst, j, &cellid, in connmon_create()
186 INIT_OBJ_RES_DATA(CONNMON_LAC, res, i, res_inst, j, &lac, sizeof(lac)); in connmon_create()
[all …]
A Dlwm2m_obj_server.c93 static struct lwm2m_engine_res res[MAX_INSTANCE_COUNT][SERVER_MAX_ID]; variable
362 (void)memset(res[index], 0, in server_create()
363 sizeof(res[index][0]) * ARRAY_SIZE(res[index])); in server_create()
367 INIT_OBJ_RES_DATA(SERVER_SHORT_SERVER_ID, res[index], i, in server_create()
370 INIT_OBJ_RES(SERVER_LIFETIME_ID, res[index], i, res_inst[index], j, in server_create()
373 INIT_OBJ_RES_DATA(SERVER_DEFAULT_MIN_PERIOD_ID, res[index], i, in server_create()
377 INIT_OBJ_RES_DATA(SERVER_DEFAULT_MAX_PERIOD_ID, res[index], i, in server_create()
381 INIT_OBJ_RES_EXECUTE(SERVER_DISABLE_ID, res[index], i, disable_cb); in server_create()
382 INIT_OBJ_RES_DATA(SERVER_DISABLE_TIMEOUT_ID, res[index], i, in server_create()
386 INIT_OBJ_RES_DATA(SERVER_STORE_NOTIFY_ID, res[index], i, in server_create()
[all …]
A Dipso_generic_sensor.c181 (void)memset(res[index], 0, in generic_sensor_create()
182 sizeof(res[index][0]) * ARRAY_SIZE(res[index])); in generic_sensor_create()
186 INIT_OBJ_RES(SENSOR_VALUE_RID, res[index], i, res_inst[index], j, 1, in generic_sensor_create()
191 INIT_OBJ_RES_DATA(MIN_MEASURED_VALUE_RID, res[index], i, in generic_sensor_create()
194 INIT_OBJ_RES_DATA(MAX_MEASURED_VALUE_RID, res[index], i, in generic_sensor_create()
197 INIT_OBJ_RES_DATA(MIN_RANGE_VALUE_RID, res[index], i, res_inst[index], in generic_sensor_create()
199 INIT_OBJ_RES_DATA(MAX_RANGE_VALUE_RID, res[index], i, res_inst[index], in generic_sensor_create()
201 INIT_OBJ_RES_EXECUTE(RESET_MIN_MAX_MEASURED_VALUES_RID, res[index], i, in generic_sensor_create()
210 INIT_OBJ_RES_OPTDATA(FRACTIONAL_TIMESTAMP_RID, res[index], i, in generic_sensor_create()
214 INIT_OBJ_RES_OPTDATA(MEASUREMENT_QUALITY_LEVEL_RID, res[index], i, in generic_sensor_create()
[all …]
A Dipso_humidity_sensor.c165 (void)memset(res[index], 0, in humidity_sensor_create()
166 sizeof(res[index][0]) * ARRAY_SIZE(res[index])); in humidity_sensor_create()
170 INIT_OBJ_RES(SENSOR_VALUE_RID, res[index], i, res_inst[index], j, 1, in humidity_sensor_create()
175 INIT_OBJ_RES_DATA(MIN_MEASURED_VALUE_RID, res[index], i, in humidity_sensor_create()
178 INIT_OBJ_RES_DATA(MAX_MEASURED_VALUE_RID, res[index], i, in humidity_sensor_create()
181 INIT_OBJ_RES_DATA(MIN_RANGE_VALUE_RID, res[index], i, res_inst[index], in humidity_sensor_create()
188 INIT_OBJ_RES_OPTDATA(APPLICATION_TYPE_RID, res[index], i, in humidity_sensor_create()
191 INIT_OBJ_RES_OPTDATA(FRACTIONAL_TIMESTAMP_RID, res[index], i, in humidity_sensor_create()
193 INIT_OBJ_RES_OPTDATA(MEASUREMENT_QUALITY_INDICATOR_RID, res[index], in humidity_sensor_create()
195 INIT_OBJ_RES_OPTDATA(MEASUREMENT_QUALITY_LEVEL_RID, res[index], i, in humidity_sensor_create()
[all …]
A Dlwm2m_obj_binaryappdata.c54 static struct lwm2m_engine_res res[MAX_INSTANCE_COUNT][BINARYAPPDATA_MAX_ID]; variable
81 (void)memset(res[avail], 0, sizeof(res[avail][0]) * ARRAY_SIZE(res[avail])); in lwm2m_binaryappdata_create()
86 INIT_OBJ_RES_OPT(LWM2M_BINARYAPPDATA_DATA_ID, res[avail], i, res_inst[avail], j, in lwm2m_binaryappdata_create()
88 INIT_OBJ_RES_OPTDATA(LWM2M_BINARYAPPDATA_DATA_PRIORITY_ID, res[avail], i, in lwm2m_binaryappdata_create()
90 INIT_OBJ_RES_OPTDATA(LWM2M_BINARYAPPDATA_DATA_CREATION_TIME_ID, res[avail], i, in lwm2m_binaryappdata_create()
92 INIT_OBJ_RES_OPTDATA(LWM2M_BINARYAPPDATA_DATA_DESCRIPTION_ID, res[avail], i, in lwm2m_binaryappdata_create()
94 INIT_OBJ_RES_OPTDATA(LWM2M_BINARYAPPDATA_DATA_FORMAT_ID, res[avail], i, res_inst[avail], j); in lwm2m_binaryappdata_create()
95 INIT_OBJ_RES_OPTDATA(LWM2M_BINARYAPPDATA_APP_ID, res[avail], i, res_inst[avail], j); in lwm2m_binaryappdata_create()
97 inst[avail].resources = res[avail]; in lwm2m_binaryappdata_create()
A Dipso_filling_sensor.c177 (void)memset(res[index], 0, in filling_sensor_create()
178 sizeof(res[index][0]) * ARRAY_SIZE(res[index])); in filling_sensor_create()
182 INIT_OBJ_RES(CONTAINER_HEIGHT_FILLING_SENSOR_RID, res[index], i, in filling_sensor_create()
186 INIT_OBJ_RES(ACTUAL_FILL_PERCENTAGE_FILLING_SENSOR_RID, res[index], i, in filling_sensor_create()
190 INIT_OBJ_RES_DATA(ACTUAL_FILL_LEVEL_FILLING_SENSOR_RID, res[index], in filling_sensor_create()
197 INIT_OBJ_RES_DATA(CONTAINER_FULL_FILLING_SENSOR_RID, res[index], i, in filling_sensor_create()
203 INIT_OBJ_RES_DATA(CONTAINER_EMPTY_FILLING_SENSOR_RID, res[index], i, in filling_sensor_create()
210 res[index], i, reset_average_fill_speed_cb); in filling_sensor_create()
218 res[index], i, res_inst[index], j, in filling_sensor_create()
222 res[index], i, res_inst[index], j, in filling_sensor_create()
[all …]
A Dlwm2m_obj_security.c110 static struct lwm2m_engine_res res[MAX_INSTANCE_COUNT][SECURITY_MAX_ID]; variable
146 (void)memset(res[index], 0, in security_create()
147 sizeof(res[index][0]) * ARRAY_SIZE(res[index])); in security_create()
151 INIT_OBJ_RES_DATA_LEN(SECURITY_SERVER_URI_ID, res[index], i, in security_create()
154 INIT_OBJ_RES_DATA(SECURITY_BOOTSTRAP_FLAG_ID, res[index], i, in security_create()
157 INIT_OBJ_RES_DATA(SECURITY_MODE_ID, res[index], i, in security_create()
160 INIT_OBJ_RES_DATA_LEN(SECURITY_CLIENT_PK_ID, res[index], i, in security_create()
163 INIT_OBJ_RES_DATA_LEN(SECURITY_SERVER_PK_ID, res[index], i, in security_create()
166 INIT_OBJ_RES_DATA_LEN(SECURITY_SECRET_KEY_ID, res[index], i, in security_create()
169 INIT_OBJ_RES_DATA(SECURITY_SHORT_SERVER_ID, res[index], i, in security_create()
[all …]
/subsys/console/
A Dtty.c73 int res; in tty_putchar() local
78 if (res < 0) { in tty_putchar()
79 return res; in tty_putchar()
104 int res = 0; in tty_write() local
119 if (res < 0) { in tty_write()
123 return res; in tty_write()
145 int res; in tty_getchar() local
148 if (res < 0) { in tty_getchar()
149 return res; in tty_getchar()
166 int res = 0; in tty_read_unbuf() local
[all …]
/subsys/jwt/
A Djwt_legacy_rsa.c31 int res; in jwt_sign_impl() local
37 res = mbedtls_pk_parse_key(&ctx, der_key, der_key_len, NULL, 0, csprng_wrapper, NULL); in jwt_sign_impl()
38 if (res != 0) { in jwt_sign_impl()
39 return res; in jwt_sign_impl()
48 res = mbedtls_sha256(builder->base, builder->buf - builder->base, hash, 0); in jwt_sign_impl()
49 if (res != 0) { in jwt_sign_impl()
50 return res; in jwt_sign_impl()
53 res = mbedtls_pk_sign(&ctx, MBEDTLS_MD_SHA256, hash, sizeof(hash), sig, sig_size, in jwt_sign_impl()
55 return res; in jwt_sign_impl()
/subsys/net/lib/coap/
A Dcoap_link_format.c206 bool res; in append_to_coap_pkt() local
233 return res; in append_to_coap_pkt()
243 bool res; in format_uri() local
251 if (!res) { in format_uri()
265 if (!res) { in format_uri()
281 if (!res) { in format_uri()
293 if (!res) { in format_uri()
313 bool res; in format_attributes() local
543 bool res; in format_uri() local
550 if (!res) { in format_uri()
[all …]
/subsys/bluetooth/mesh/
A Dproxy_cli.c212 memcpy(&in[8], res->data.priv.rand, 8); in is_hash_equal()
219 if (memcmp(&out[8], res->data.priv.hash, 8)) { in is_hash_equal()
228 struct find_net_id *res = user_data; in has_net_id() local
231 if (res->type == BT_MESH_ID_TYPE_NET) { in has_net_id()
232 net_id = (uint8_t *)res->data.net_id; in has_net_id()
237 if (!(is_hash_equal(sub, res, 0) || in has_net_id()
249 struct find_net_id res; in handle_net_id() local
252 res.type = type; in handle_net_id()
253 res.srv = NULL; in handle_net_id()
259 res.data.net_id = net_buf_simple_pull_mem(buf, 8); in handle_net_id()
[all …]

Completed in 38 milliseconds

1234