/AliOS-Things-master/components/linkkit/iot_coap/server/ |
A D | CoAPResource.c | 37 ctx->resource.count = 0; in CoAPResource_init() 63 ctx->resource.count = 0; in CoAPResource_deinit() 64 ctx->resource.maxcount = 0; in CoAPResource_deinit() 77 CoAPResource *resource = NULL; in CoAPResource_create() local 88 if (NULL == resource) { in CoAPResource_create() 101 coap_free(resource); in CoAPResource_create() 109 resource->ctype = ctype; in CoAPResource_create() 110 resource->maxage = maxage; in CoAPResource_create() 113 return resource; in CoAPResource_create() 131 if (ctx->resource.count >= ctx->resource.maxcount) { in CoAPResource_register() [all …]
|
A D | CoAPObserve.c | 60 CoAPResource *resource = NULL; in CoAPObsServer_add() local 64 resource = CoAPResourceByPath_get(ctx, path); in CoAPObsServer_add() 73 if ((node->p_resource_of_interest == resource) && in CoAPObsServer_add() 95 obs->p_resource_of_interest = resource; in CoAPObsServer_add() 128 CoAPResource *resource) in CoapObsServer_delete() argument 137 if ((node->p_resource_of_interest == resource) && in CoapObsServer_delete() 182 CoAPResource *resource = NULL; in CoAPObsServer_notify() local 188 resource = CoAPResourceByPath_get(ctx, path); in CoAPObsServer_notify() 190 if (NULL != resource) { in CoAPObsServer_notify() 194 if (node->p_resource_of_interest == resource) { in CoAPObsServer_notify() [all …]
|
A D | CoAPMessage.c | 475 CoAPResource *resource = NULL; in CoAPRequestMessage_handle() local 498 resource = CoAPResourceByPath_get(ctx, (char *)path); in CoAPRequestMessage_handle() 499 if (NULL != resource) { in CoAPRequestMessage_handle() 500 if (NULL != resource->callback) { in CoAPRequestMessage_handle() 501 if (((resource->permission) & (1 << ((message->header.code) - 1))) > in CoAPRequestMessage_handle() 507 resource->callback(ctx, (char *)path, remote, message); in CoAPRequestMessage_handle() 509 COAP_FLOW("The resource %s isn't allowed", resource->path); in CoAPRequestMessage_handle() 514 COAP_FLOW("The resource %s handler isn't exist", resource->path); in CoAPRequestMessage_handle()
|
A D | CoAPInternal.h | 31 CoAPList resource; member
|
/AliOS-Things-master/hardware/chip/rtl872xd/hal/ |
A D | i2c.c | 48 i2c_resource_t * resource = &g_dev[i2c->port]; in hal_i2c_init() local 51 i2c_init(resource->dev, resource->sda_io ,resource->scl_io); in hal_i2c_init() 52 i2c_frequency(resource->dev,i2c->config.freq); in hal_i2c_init() 55 i2c_init(resource->dev, resource->sda_io ,resource->scl_io); in hal_i2c_init() 56 i2c_frequency(resource->dev,i2c->config.freq); in hal_i2c_init() 58 i2c_slave_mode(resource->dev, 1); in hal_i2c_init() 74 i2c_resource_t * resource = &g_dev[i2c->port]; in hal_i2c_master_send() local 92 i2c_resource_t * resource = &g_dev[i2c->port]; in hal_i2c_master_recv() local 109 i2c_resource_t * resource = &g_dev[i2c->port]; in hal_i2c_slave_send() local 111 i2c_slave_write(resource->dev,data,size); in hal_i2c_slave_send() [all …]
|
/AliOS-Things-master/components/cplusplus/example/cpp_standard/ |
A D | shared_ptr_test.cpp | 10 class resource { class 12 resource() { cout << "resource is create" << endl; } in resource() function in resource 13 ~resource() { cout << "resource is delete" << endl; } in ~resource() 19 shared_ptr<resource> ptest0(new resource); in shared_ptr_test() 20 shared_ptr<resource> ptest1 = ptest0; in shared_ptr_test()
|
/AliOS-Things-master/components/SDL2/src/image/VisualC/ |
A D | Version.rc | 1 //Microsoft Developer Studio generated resource script. 3 #include "resource.h" 8 // Generated from the TEXTINCLUDE 2 resource. 74 "resource.h\0" 99 // Generated from the TEXTINCLUDE 3 resource.
|
/AliOS-Things-master/components/SDL2/src/image/VisualCE/ |
A D | Version.rc | 1 //Microsoft Developer Studio generated resource script. 3 #include "resource.h" 8 // Generated from the TEXTINCLUDE 2 resource. 75 "resource.h\0" 100 // Generated from the TEXTINCLUDE 3 resource.
|
/AliOS-Things-master/components/linkkit/wifi_provision/phone_ap/ |
A D | awss_wifimgr.h | 19 int wifimgr_process_mcast_get_device_info(void *ctx, void *resource, 21 int wifimgr_process_ucast_get_device_info(void *ctx, void *resource, 23 int wifimgr_process_switch_ap_request(void *ctx, void *resource, void *remote,
|
A D | awss_wifimgr.c | 14 int wifimgr_process_mcast_get_device_info(void *ctx, void *resource, in wifimgr_process_mcast_get_device_info() argument 17 return process_get_device_info(ctx, resource, remote, request, 1, in wifimgr_process_mcast_get_device_info() 21 int wifimgr_process_ucast_get_device_info(void *ctx, void *resource, in wifimgr_process_ucast_get_device_info() argument 24 return process_get_device_info(ctx, resource, remote, request, 0, in wifimgr_process_ucast_get_device_info() 31 int wifimgr_process_switch_ap_request(void *ctx, void *resource, void *remote, in wifimgr_process_switch_ap_request() argument
|
/AliOS-Things-master/components/linkkit/wifi_provision/dev_bind/ |
A D | awss_info.h | 14 int process_get_device_info(void *ctx, void *resource, void *remote, 16 int awss_process_mcast_get_connectap_info(void *ctx, void *resource, 18 int awss_process_ucast_get_connectap_info(void *ctx, void *resource,
|
A D | awss_info.c | 79 int process_get_device_info(void *ctx, void *resource, void *remote, in process_get_device_info() argument 147 int awss_process_mcast_get_connectap_info(void *ctx, void *resource, in awss_process_mcast_get_connectap_info() argument 153 return process_get_device_info(ctx, resource, remote, request, 1, in awss_process_mcast_get_connectap_info() 157 int awss_process_ucast_get_connectap_info(void *ctx, void *resource, in awss_process_ucast_get_connectap_info() argument 163 return process_get_device_info(ctx, resource, remote, request, 0, in awss_process_ucast_get_connectap_info()
|
A D | awss_notify.h | 32 int online_mcast_get_device_info(void *ctx, void *resource, void *remote, 34 int online_ucast_get_device_info(void *ctx, void *resource, void *remote,
|
/AliOS-Things-master/components/oss/src/utils/ |
A D | SignUtils.cc | 57 const std::string &resource, in build() argument 95 ss << resource; in build() 114 const std::string &resource, in build() argument 123 ss << resource; in build()
|
A D | SignUtils.h | 36 const std::string &resource, 41 const std::string &resource,
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/visupng/ |
A D | VisualPng.rc | 1 //Microsoft Developer Studio generated resource script. 3 #include "resource.h" 8 // Generated from the TEXTINCLUDE 2 resource. 32 "resource.h\0" 146 // Generated from the TEXTINCLUDE 3 resource.
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/resource/ |
A D | static_hashtable.h | 28 namespace resource { 34 class StaticHashtable : public tflite::resource::LookupInterface { 76 ::tflite::resource::LookupInterface* CreateStaticHashtable(
|
A D | BUILD | 9 name = "resource", 36 ":resource",
|
A D | resource_base.h | 23 namespace resource {
|
/AliOS-Things-master/components/SDL2/src/video/raspberry/ |
A D | SDL_rpimouse.c | 93 …curdata->resource = vc_dispmanx_resource_create(VC_IMAGE_ARGB8888, surface->w | (surface->pitch <<… in RPI_CreateCursor() 94 SDL_assert(curdata->resource); in RPI_CreateCursor() 102 …ret = vc_dispmanx_resource_write_data(curdata->resource, VC_IMAGE_ARGB8888, surface->pitch, surfac… in RPI_CreateCursor() 186 curdata->resource, in RPI_ShowCursor() 221 if (curdata->resource != DISPMANX_NO_HANDLE) { in RPI_FreeCursor() 222 ret = vc_dispmanx_resource_delete(curdata->resource); in RPI_FreeCursor()
|
A D | SDL_rpimouse.h | 30 DISPMANX_RESOURCE_HANDLE_T resource; member
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/ |
A D | rtl8721d_ota.h | 162 int parser_url( char *url, char *host, u16 *port, char *resource); 169 int http_update_ota(char *host, int port, char *resource); 183 int https_update_ota(char *host, int port, char *resource);
|
/AliOS-Things-master/components/linkkit/dev_model/alcs/ |
A D | alcs_adapter.c | 787 int iotx_alcs_register_resource(void *handle, iotx_alcs_res_t *resource) in iotx_alcs_register_resource() argument 799 if (adapter == NULL || adapter->coap_ctx == NULL || resource->uri == NULL || in iotx_alcs_register_resource() 800 strlen(resource->uri) == 0) { in iotx_alcs_register_resource() 804 uri_pk = iotx_alcs_topic_parse_pk(resource->uri, &uri_pk_len); in iotx_alcs_register_resource() 805 uri_dn = iotx_alcs_topic_parse_dn(resource->uri, &uri_dn_len); in iotx_alcs_register_resource() 815 COAP_INFO("alcs register resource, uri:%s", resource->uri); in iotx_alcs_register_resource() 817 resource in iotx_alcs_register_resource() 821 adapter->coap_ctx, productKey, deviceName, resource->uri, in iotx_alcs_register_resource() 822 resource->msg_perm, resource->msg_ct, resource->maxage, needAuth, in iotx_alcs_register_resource() 824 CoAPMessage *message)) resource->callback); in iotx_alcs_register_resource()
|
/AliOS-Things-master/components/linkkit/wifi_provision/dev_ap/ |
A D | awss_dev_ap.h | 14 int wifimgr_process_dev_ap_switchap_request(void *ctx, void *resource,
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/misc/ |
A D | rtl8721d_ota.c | 972 int parser_url( char *url, char *host, u16 *port, char *resource) 999 memset(resource, 0, redirect_len); 1002 memcpy(resource, pos + 1, strlen(pos + 1)); 1004 printf("resource: %s\n\r", resource); 1486 int http_update_ota(char *host, int port, char *resource) 1519 sprintf((char*)request, "GET /%s HTTP/1.1\r\nHost: %s\r\n\r\n", resource, host); 1628 resource = redirect_resource; 1630 printf("OTA redirect host: %s, port: %s, resource: %s\n\r", host, port, resource); 1945 int https_update_ota(char *host, int port, char *resource) 2012 sprintf((char*)request, "GET /%s HTTP/1.1\r\nHost: %s\r\n\r\n", resource, host); [all …]
|