Home
last modified time | relevance | path

Searched refs:string (Results 1 – 21 of 21) sorted by relevance

/NetX-Duo-v6.2.1/addons/azure_iot/azure_iot_security_module/iot-security-module-core/src/
Dlogger.c62 conf->component.length, conf->component.string, conf->key.length, conf->key.string); in _conf_validate_level()
66 …if (string2code(_log_levels, conf->value.value.string.string, conf->value.value.string.length) == … in _conf_validate_level()
68 conf->component.length, conf->component.string, conf->key.length, conf->key.string); in _conf_validate_level()
88 conf->component.length, conf->component.string, conf->key.length, conf->key.string); in _conf_validate_or_apply()
90 if (!str_ncmp(conf->key.string, conf->key.length, "Level", str_len("Level"))) { in _conf_validate_or_apply()
100 … code = string2code(_log_levels, conf->value.value.string.string, conf->value.value.string.length); in _conf_validate_or_apply()
108 conf->component.length, conf->component.string, conf->key.length, conf->key.string); in _conf_validate_or_apply()
113 … if (str_split(conf->key.string, &token, &token_len, &rest, &rest_len, "_") != ASC_RESULT_OK) { in _conf_validate_or_apply()
115 conf->component.length, conf->component.string, conf->key.length, conf->key.string); in _conf_validate_or_apply()
148 … code = string2code(_log_levels, conf->value.value.string.string, conf->value.value.string.length); in _conf_validate_or_apply()
/NetX-Duo-v6.2.1/addons/azure_iot/azure_iot_security_module/iot-security-module-core/src/utils/
Diconv.c26 return list->string; in code2string()
29 int string2code(code2string_t *list, char *string, uint32_t len) in string2code() argument
31 for (; list->code != -1 && str_ncmp(list->string, str_len(list->string), string, len); list++); in string2code()
/NetX-Duo-v6.2.1/addons/azure_iot/azure_iot_security_module/iot-security-module-core/inc/asc_security_core/utils/
Diconv.h21 char *string; member
43 int string2code(code2string_t *list, char *string, uint32_t len);
/NetX-Duo-v6.2.1/addons/azure_iot/docs/
Dazure_rtos_iot_adu_agent.md22 …o determine if the update is installed or not, typically it is a version string (1.0.0). The insta…
30 | manufacturer [in] | A pointer to the manufacturer. Must be NULL terminated string. |
32 | model [in] | A pointer to the model. Must be NULL terminated string. |
34 … [in] | A pointer to the installed criteria string, such as: version string. Must be NULL termina…
69 …if the update is installed or not, the installed criteria may be version string. If the installed …
76 | manufacturer [in] | A pointer to the manufacturer. Must be NULL terminated string. |
78 | model [in] | A pointer to the model. Must be NULL terminated string. |
80 … [in] | A pointer to the installed criteria string, such as: version string. Must be NULL termina…
Dazure_rtos_iot_json.md306 <div style="text-align: right">Gets the JSON token's string</div>
316 <p>Gets the JSON token's string after unescaping it, if required.</p>
323 | buffer_ptr [out] | A pointer to a buffer where the string should be copied into. |
325 …s the number of bytes written to the destination which denote the length of the unescaped string. |
328 * NX_AZURE_IOT_SUCCESS The string is returned.
402 * NX_AZURE_IOT_READER_TOKEN_STRING The token kind is a JSON string.
624 <div style="text-align: right">Appends the UTF-8 property name and value where value is string</div>
634 <p>Appends the UTF-8 property name and value where value is string.</p>
646 * NX_AZURE_IOT_SUCCESS The property name and string value was appended successfully.
690 <div style="text-align: right">Appends the UTF-8 text value (as a JSON string) into the buffer</div>
[all …]
Dazure_rtos_iot.md32 | name_ptr [in] | A pointer to a NULL-terminated string indicating the name of the Azure IoT i…
Dazure_rtos_iot_hub_client_properties.md177 …ription detailing the context or any details about the acknowledgement. This can be empty string. |
Dazure_rtos_iot_provisioning_client.md29 | endpoint [in] | A pointer to IoT Provisioning endpoint. Must be NULL terminated string. |
Dazure_rtos_iot_hub_client.md95 | host_name [in] | A pointer to IoTHub hostname. Must be NULL terminated string. |
/NetX-Duo-v6.2.1/common/src/
Dnx_http_proxy_client.c185 UCHAR string[NX_HTTP_PROXY_MAX_USERNAME + NX_HTTP_PROXY_MAX_PASSWORD + 2]; in _nx_http_proxy_client_enable() local
221 memcpy(string, username, username_length); /* Use case of memcpy is verified. */ in _nx_http_proxy_client_enable()
224 string[username_length] = ':'; in _nx_http_proxy_client_enable()
227 …memcpy(&string[username_length + 1], password, password_length); /* Use case of memcpy is verified… in _nx_http_proxy_client_enable()
230 string[username_length + password_length + 1] = NX_NULL; in _nx_http_proxy_client_enable()
233 status = _nx_utility_base64_encode((UCHAR *)string, username_length + password_length + 1, in _nx_http_proxy_client_enable()
/NetX-Duo-v6.2.1/addons/azure_iot/samples/
DREADME.md10 …entication. After device's registration is complete, copy the connection string for the device wit…
13 #define HOST_NAME "<Hostname from connection string>"
14 #define DEVICE_ID "<DeviceId from connection string>"
15 #define DEVICE_SYMMETRIC_KEY "<SharedAccessKey from connection string>"
33 …get-started). After device registration is complete, copy the connection string for the device wit…
36 #define HOST_NAME "<Hostname from connection string>"
37 #define DEVICE_ID "<DeviceId from connection string>"
/NetX-Duo-v6.2.1/addons/azure_iot/azure_iot_security_module/iot-security-module-core/inc/asc_security_core/model/schema/
Dflatbuffers_common_builder.h253 static inline NS ## string_ref_t *N ## _push_clone(NS ## builder_t *B, NS ## string_t string)\
254 { return NS ## string_vec_push(B, NS ## string_clone(B, string)); }\
255 static inline NS ## string_ref_t *N ## _push_slice(NS ## builder_t *B, NS ## string_t string, size_…
256 { return NS ## string_vec_push(B, NS ## string_slice(B, string, index, len)); }
324 static inline NS ## string_ref_t NS ## string_clone(NS ## builder_t *B, NS ## string_t string)\
325 { __flatbuffers_memoize(B, string, flatcc_builder_create_string(B, string, NS ## string_len(string)…
326 static inline NS ## string_ref_t NS ## string_slice(NS ## builder_t *B, NS ## string_t string, size…
327 { size_t n = NS ## string_len(string); if (index >= n) index = n; n -= index; if (len > n) len = n;\
328 return flatcc_builder_create_string(B, string + index, len); }\
329 __flatbuffers_build_string_ops(NS, NS ## string)\
[all …]
/NetX-Duo-v6.2.1/addons/http/
Dnxd_http_server.c8905 UINT _nx_http_server_date_to_string(NX_HTTP_SERVER_DATE *date, CHAR *string) in _nx_http_server_date_to_string() argument
8912 string[index++] = *(_nx_http_server_weekday[date -> nx_http_server_weekday]); in _nx_http_server_date_to_string()
8913 string[index++] = *(_nx_http_server_weekday[date -> nx_http_server_weekday] + 1); in _nx_http_server_date_to_string()
8914 string[index++] = *(_nx_http_server_weekday[date -> nx_http_server_weekday] + 2); in _nx_http_server_date_to_string()
8915 string[index++] = ','; in _nx_http_server_date_to_string()
8916 string[index++] = ' '; in _nx_http_server_date_to_string()
8919 _nx_http_server_date_convert(date -> nx_http_server_day, 2, &string[index]); in _nx_http_server_date_to_string()
8921 string[index++] = ' '; in _nx_http_server_date_to_string()
8924 string[index++] = *(_nx_http_server_month[date -> nx_http_server_month]); in _nx_http_server_date_to_string()
8925 string[index++] = *(_nx_http_server_month[date -> nx_http_server_month] + 1); in _nx_http_server_date_to_string()
[all …]
Dnxd_http_client.c3298 UINT _nx_http_client_number_convert(UINT number, CHAR *string) in _nx_http_client_number_convert() argument
3307 string[0] = '0'; in _nx_http_client_number_convert()
3321 string[j] = string[j-1]; in _nx_http_client_number_convert()
3331 string[0] = (CHAR) (digit + 0x30); in _nx_http_client_number_convert()
3338 string[size] = (CHAR) NX_NULL; in _nx_http_client_number_convert()
3346 string[0] = '0'; in _nx_http_client_number_convert()
Dnxd_http_client.h288 UINT _nx_http_client_number_convert(UINT number, CHAR *string);
Dnxd_http_server.h642 UINT _nx_http_server_date_to_string(NX_HTTP_SERVER_DATE *date, CHAR *string);
643 VOID _nx_http_server_date_convert(UINT date, UINT count, CHAR *string);
/NetX-Duo-v6.2.1/addons/web/
Dnx_web_http_server.c10441 UINT _nx_web_http_server_date_to_string(NX_WEB_HTTP_SERVER_DATE *date, CHAR *string) in _nx_web_http_server_date_to_string() argument
10448 string[index++] = _nx_web_http_server_weekday[date -> nx_web_http_server_weekday][0]; in _nx_web_http_server_date_to_string()
10449 string[index++] = _nx_web_http_server_weekday[date -> nx_web_http_server_weekday][1]; in _nx_web_http_server_date_to_string()
10450 string[index++] = _nx_web_http_server_weekday[date -> nx_web_http_server_weekday][2]; in _nx_web_http_server_date_to_string()
10451 string[index++] = ','; in _nx_web_http_server_date_to_string()
10452 string[index++] = ' '; in _nx_web_http_server_date_to_string()
10455 _nx_web_http_server_date_convert(date -> nx_web_http_server_day, 2, &string[index]); in _nx_web_http_server_date_to_string()
10457 string[index++] = ' '; in _nx_web_http_server_date_to_string()
10460 string[index++] = _nx_web_http_server_month[date -> nx_web_http_server_month][0]; in _nx_web_http_server_date_to_string()
10461 string[index++] = _nx_web_http_server_month[date -> nx_web_http_server_month][1]; in _nx_web_http_server_date_to_string()
[all …]
Dnx_web_http_client.c6595 UINT _nx_web_http_client_number_convert(UINT number, CHAR *string) in _nx_web_http_client_number_convert() argument
6604 string[0] = '0'; in _nx_web_http_client_number_convert()
6618 string[j] = string[j-1]; in _nx_web_http_client_number_convert()
6628 string[0] = (CHAR) (digit + 0x30); in _nx_web_http_client_number_convert()
6635 string[size] = (CHAR) NX_NULL; in _nx_web_http_client_number_convert()
6643 string[0] = '0'; in _nx_web_http_client_number_convert()
Dnx_web_http_server.h645 UINT _nx_web_http_server_date_to_string(NX_WEB_HTTP_SERVER_DATE *date, CHAR *string);
646 VOID _nx_web_http_server_date_convert(UINT date, UINT count, CHAR *string);
Dnx_web_http_client.h638 UINT _nx_web_http_client_number_convert(UINT number, CHAR *string);
/NetX-Duo-v6.2.1/addons/BSD/
Dnxd_bsd.c167 static INT bsd_string_to_number(const CHAR *string, UINT *number);
168 static ULONG _nx_bsd_string_length(CHAR * string);
190 UINT bsd_number_convert(UINT number, CHAR *string, ULONG buffer_len, UINT base);
5564 UINT bsd_number_convert(UINT number, CHAR *string, ULONG buffer_len, UINT base) in bsd_number_convert() argument
5584 string[j] = string[j-1]; in bsd_number_convert()
5595 string[0] = (CHAR) (digit + 0x30); in bsd_number_convert()
5597 string[0] = (CHAR) (digit + 0x57); in bsd_number_convert()
5608 string[size] = (CHAR) NX_NULL; in bsd_number_convert()
5616 string[0] = '0'; in bsd_number_convert()
14315 static INT bsd_string_to_number(const CHAR *string, UINT *number) in bsd_string_to_number() argument
[all …]