Home
last modified time | relevance | path

Searched refs:path_size (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/ble_host/bt_host/host/
A Dsettings.c27 snprintf(path, path_size, in bt_settings_encode_key()
33 snprintf(path, path_size, in bt_settings_encode_key()
49 if (len < path_size) { in bt_settings_encode_key()
56 if (len < path_size) { in bt_settings_encode_key()
63 path_size - len); in bt_settings_encode_key()
66 if (len < path_size) { in bt_settings_encode_key()
74 if (key && len < path_size) { in bt_settings_encode_key()
77 strncpy(&path[len], key, path_size - len); in bt_settings_encode_key()
81 if (len >= path_size) { in bt_settings_encode_key()
83 path[path_size - 1] = '\0'; in bt_settings_encode_key()
[all …]
A Dsettings.h14 void bt_settings_encode_key(char *path, size_t path_size, const char *subsys,
/AliOS-Things-master/components/http/src/
A Dhttp_client.c191 int path_size = HTTPCLIENT_MAX_URL_LEN; in httpclient_send_header() local
209 path = (char *) malloc(path_size); in httpclient_send_header()
215 memset(path, 0, path_size); in httpclient_send_header()
234 …res = httpclient_parse_url(url, scheme, sizeof(scheme), host, host_size, &(port), path, path_size); in httpclient_send_header()
730 int path_size = HTTPCLIENT_MAX_URL_LEN; in httpclient_conn() local
740 path = (char *) malloc(path_size); in httpclient_conn()
746 memset(path, 0, path_size); in httpclient_conn()
749 …t_parse_url(url, scheme, sizeof(scheme), host, host_size, &(client->remote_port), path, path_size); in httpclient_conn()
/AliOS-Things-master/components/freetype/src/base/
A Dftmac.c498 size_t path_size ) in lookup_lwfn_by_fond() argument
514 if ( noErr != FSRefMakePath( &par_ref, path_lwfn, path_size ) ) in lookup_lwfn_by_fond()
517 if ( ft_strlen( (char *)path_lwfn ) + 1 + base_lwfn[0] > path_size ) in lookup_lwfn_by_fond()

Completed in 8 milliseconds