Home
last modified time | relevance | path

Searched defs:context (Results 1 – 25 of 242) sorted by relevance

12345678910

/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/
A Delementwise.cc40 TfLiteStatus GenericPrepare(TfLiteContext* context, TfLiteNode* node) { in GenericPrepare()
57 inline TfLiteStatus EvalImpl(TfLiteContext* context, TfLiteNode* node, in EvalImpl()
71 inline TfLiteStatus EvalNumeric(TfLiteContext* context, TfLiteNode* node, in EvalNumeric()
81 TfLiteStatus AbsEval(TfLiteContext* context, TfLiteNode* node) { in AbsEval()
85 TfLiteStatus SinEval(TfLiteContext* context, TfLiteNode* node) { in SinEval()
89 TfLiteStatus CosEval(TfLiteContext* context, TfLiteNode* node) { in CosEval()
93 TfLiteStatus LogEval(TfLiteContext* context, TfLiteNode* node) { in LogEval()
97 TfLiteStatus SqrtEval(TfLiteContext* context, TfLiteNode* node) { in SqrtEval()
101 TfLiteStatus RsqrtEval(TfLiteContext* context, TfLiteNode* node) { in RsqrtEval()
105 TfLiteStatus SquareEval(TfLiteContext* context, TfLiteNode* node) { in SquareEval()
[all …]
A Dkernel_runner.cc76 TfLiteTensor* KernelRunner::GetTensor(const struct TfLiteContext* context, in GetTensor()
86 const struct TfLiteContext* context, int tensor_index) { in GetEvalTensor()
104 void* KernelRunner::AllocatePersistentBuffer(TfLiteContext* context, in AllocatePersistentBuffer()
113 TfLiteStatus KernelRunner::RequestScratchBufferInArena(TfLiteContext* context, in RequestScratchBufferInArena()
140 void* KernelRunner::GetScratchBuffer(TfLiteContext* context, int buffer_index) { in GetScratchBuffer()
152 void KernelRunner::ReportOpError(struct TfLiteContext* context, in ReportOpError()
A Dfloor_div.cc33 TfLiteStatus CalculateOpData(TfLiteContext* context, TfLiteNode* node) { in CalculateOpData()
53 void* Init(TfLiteContext* context, const char* buffer, size_t length) { in Init()
57 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare()
62 TfLiteStatus EvalFloorDiv(TfLiteContext* context, in EvalFloorDiv()
97 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
A Dfloor_mod.cc38 TfLiteStatus CalculateOpData(TfLiteContext* context, TfLiteNode* node) { in CalculateOpData()
58 void* Init(TfLiteContext* context, const char* buffer, size_t length) { in Init()
62 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare()
67 TfLiteStatus EvalFloorMod(TfLiteContext* context, bool requires_broadcast, in EvalFloorMod()
92 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
A Dfill.cc30 TfLiteStatus EnsureEqImpl(TfLiteContext* context, const TfLiteIntArray* array, in EnsureEqImpl()
40 TfLiteStatus EnsureEq(TfLiteContext* context, const TfLiteIntArray* array, in EnsureEq()
69 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare()
99 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
A Dconcatenation.cc53 inline void GetAllInputTensorShapes(const TfLiteContext* context, in GetAllInputTensorShapes()
75 inline void GetAllInputTensorData(const TfLiteContext* context, in GetAllInputTensorData()
87 void EvalUnquantized(TfLiteContext* context, TfLiteNode* node) { in EvalUnquantized()
107 void EvalQuantizedUInt8(TfLiteContext* context, TfLiteNode* node) { in EvalQuantizedUInt8()
128 void* Init(TfLiteContext* context, const char* buffer, size_t length) { in Init()
133 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare()
229 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
A Dkernel_util.h31 inline TfLiteEvalTensor* GetMutableEvalInput(const TfLiteContext* context, in GetMutableEvalInput()
40 inline const TfLiteEvalTensor* GetEvalInput(const TfLiteContext* context, in GetEvalInput()
46 inline TfLiteEvalTensor* GetEvalOutput(const TfLiteContext* context, in GetEvalOutput()
A Dcomparisons.cc37 TfLiteStatus EqualEval(TfLiteContext* context, TfLiteNode* node) { in EqualEval()
142 TfLiteStatus NotEqualEval(TfLiteContext* context, TfLiteNode* node) { in NotEqualEval()
246 TfLiteStatus GreaterEval(TfLiteContext* context, TfLiteNode* node) { in GreaterEval()
337 TfLiteStatus GreaterEqualEval(TfLiteContext* context, TfLiteNode* node) { in GreaterEqualEval()
428 TfLiteStatus LessEval(TfLiteContext* context, TfLiteNode* node) { in LessEval()
519 TfLiteStatus LessEqualEval(TfLiteContext* context, TfLiteNode* node) { in LessEqualEval()
612 void* Init(TfLiteContext* context, const char* buffer, size_t length) { in Init()
617 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare()
A Dadd_n.cc48 TfLiteStatus CalculateOpData(TfLiteContext* context, TfLiteNode* node) { in CalculateOpData()
129 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare()
134 inline const T** CopyInputsToScratchBuffer(TfLiteContext* context, in CopyInputsToScratchBuffer()
150 void EvalAddN(TfLiteContext* context, TfLiteNode* node, in EvalAddN()
164 void EvalAddNQuantized(TfLiteContext* context, TfLiteNode* node, in EvalAddNQuantized()
187 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
A Dexpand_dims.cc29 TfLiteStatus ExpandTensorDim(TfLiteContext* context, in ExpandTensorDim()
52 TfLiteStatus GetAxisValueFromTensor(TfLiteContext* context, in GetAxisValueFromTensor()
74 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare()
100 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/netif/ppp/
A Dpppcrypt.h54 #define lwip_md4_init(context) argument
58 #define lwip_md4_free(context) argument
62 #define lwip_md5_init(context) argument
66 #define lwip_md5_free(context) argument
70 #define lwip_sha1_init(context) argument
74 #define lwip_sha1_free(context) argument
78 #define lwip_des_init(context) argument
81 #define lwip_des_free(context) argument
85 #define lwip_arc4_init(context) argument
88 #define lwip_arc4_free(context) argument
[all …]
/AliOS-Things-master/components/lwip/lwip2.0.0/include/netif/ppp/
A Dpppcrypt.h54 #define lwip_md4_init(context) argument
58 #define lwip_md4_free(context) argument
62 #define lwip_md5_init(context) argument
66 #define lwip_md5_free(context) argument
70 #define lwip_sha1_init(context) argument
74 #define lwip_sha1_free(context) argument
78 #define lwip_des_init(context) argument
81 #define lwip_des_free(context) argument
85 #define lwip_arc4_init(context) argument
88 #define lwip_arc4_free(context) argument
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/
A Dkernel_util.cc42 inline TfLiteTensor* GetTensorAtIndex(const TfLiteContext* context, in GetTensorAtIndex()
86 inline TfLiteTensor* GetMutableInput(const TfLiteContext* context, in GetMutableInput()
109 const TfLiteTensor* GetInput(const TfLiteContext* context, in GetInput()
161 TfLiteStatus GetTemporarySafe(const TfLiteContext* context, in GetTemporarySafe()
172 const TfLiteTensor* GetIntermediates(TfLiteContext* context, in GetIntermediates()
182 TfLiteStatus GetIntermediatesSafe(const TfLiteContext* context, in GetIntermediatesSafe()
196 TfLiteContext* context, const TfLiteTensor* input, in PopulateConvolutionQuantizationParams()
211 TfLiteContext* context, const TfLiteTensor* input, in PopulateConvolutionQuantizationParams()
337 inline TfLiteStatus Quantize(TfLiteContext* context, float scale, in Quantize()
429 TfLiteStatus CalculateShapeForBroadcast(TfLiteContext* context, in CalculateShapeForBroadcast()
[all …]
/AliOS-Things-master/components/linkkit/dev_model/client/
A Ddm_client.c223 void *context) in dm_client_thing_event_notify()
301 void *context) in dm_client_thing_service_property_set()
349 void *context) in dm_client_thing_service_property_get()
414 void *context) in dm_client_thing_property_desired_get_reply()
431 void *context) in dm_client_thing_property_desired_delete_reply()
449 void *context) in dm_client_thing_deviceinfo_update_reply()
466 void *context) in dm_client_thing_deviceinfo_delete_reply()
483 void *context) in dm_client_thing_dynamictsl_get_reply()
529 unsigned int payload_len, void *context) in dm_client_ext_error()
746 void *context) in dm_client_thing_proxy_product_register_reply()
[all …]
/AliOS-Things-master/components/linkkit/iot_coap/server/
A DCoAPObserve.c14 int CoAPObsServer_init(CoAPContext *context, unsigned char obs_maxcount) in CoAPObsServer_init()
29 int CoAPObsServer_deinit(CoAPContext *context) in CoAPObsServer_deinit()
53 int CoAPObsServer_add(CoAPContext *context, const char *path, in CoAPObsServer_add()
127 int CoapObsServer_delete(CoAPContext *context, NetworkAddr *remote, in CoapObsServer_delete()
153 int CoapObsServerAll_delete(CoAPContext *context, NetworkAddr *remote) in CoapObsServerAll_delete()
177 int CoAPObsServer_notify(CoAPContext *context, const char *path, in CoAPObsServer_notify()
243 int CoAPObsClient_init(CoAPContext *context, unsigned char obs_maxcount) in CoAPObsClient_init()
258 int CoAPObsClient_deinit(CoAPContext *context) in CoAPObsClient_deinit()
279 int CoAPObsClient_add(CoAPContext *context, CoAPMessage *message, in CoAPObsClient_add()
366 int CoAPObsClient_delete(CoAPContext *context, CoAPMessage *message) in CoAPObsClient_delete()
A DCoAPMessage.c42 unsigned short CoAPMessageId_gen(CoAPContext *context) in CoAPMessageId_gen()
66 static int CoAPMessageList_add(CoAPContext *context, NetworkAddr *remote, in CoAPMessageList_add()
175 int CoAPMessage_send(CoAPContext *context, NetworkAddr *remote, in CoAPMessage_send()
236 int CoAPMessage_cancel(CoAPContext *context, CoAPMessage *message) in CoAPMessage_cancel()
262 int CoAPMessageId_cancel(CoAPContext *context, unsigned short msgid) in CoAPMessageId_cancel()
326 static int CoAPAckMessage_send(CoAPContext *context, NetworkAddr *remote, in CoAPAckMessage_send()
454 static int CoAPRequestMessage_ack_send(CoAPContext *context, in CoAPRequestMessage_ack_send()
572 int CoAPMessage_process(CoAPContext *context, unsigned int timeout) in CoAPMessage_process()
601 static void Check_timeout(void *context) in Check_timeout()
644 static void Retansmit(void *context) in Retansmit()
[all …]
A DCoAPServer.c79 CoAPContext *context = (CoAPContext *)param; in CoAPServer_yield() local
180 void CoAPServer_deinit(CoAPContext *context) in CoAPServer_deinit()
218 int CoAPServer_register(CoAPContext *context, const char *uri, in CoAPServer_register()
229 int CoAPServerMultiCast_send(CoAPContext *context, NetworkAddr *remote, in CoAPServerMultiCast_send()
266 int CoAPServerResp_send(CoAPContext *context, NetworkAddr *remote, in CoAPServerResp_send()
308 void CoAPServer_loop(CoAPContext *context) in CoAPServer_loop()
A DCoAPResource.c29 int CoAPResource_init(CoAPContext *context, int res_maxcount) in CoAPResource_init()
44 int CoAPResource_deinit(CoAPContext *context) in CoAPResource_deinit()
116 int CoAPResource_register(CoAPContext *context, const char *path, in CoAPResource_register()
193 int CoAPResource_unregister(CoAPContext *context, const char *path) in CoAPResource_unregister()
215 CoAPResource *CoAPResourceByPath_get(CoAPContext *context, const char *path) in CoAPResourceByPath_get()
/AliOS-Things-master/components/linkkit/iot_coap/client/
A DCloud_CoAPMessage.c39 unsigned short Cloud_CoAPMessageId_gen(Cloud_CoAPContext *context) in Cloud_CoAPMessageId_gen()
58 static int Cloud_CoAPMessageList_add(Cloud_CoAPContext *context, in Cloud_CoAPMessageList_add()
99 int Cloud_CoAPMessage_send(Cloud_CoAPContext *context, in Cloud_CoAPMessage_send()
140 static int Cloud_CoAPAckMessage_handle(Cloud_CoAPContext *context, in Cloud_CoAPAckMessage_handle()
157 static int Cloud_CoAPAckMessage_send(Cloud_CoAPContext *context, in Cloud_CoAPAckMessage_send()
166 static int Cloud_CoAPRespMessage_handle(Cloud_CoAPContext *context, in Cloud_CoAPRespMessage_handle()
212 static void Cloud_CoAPMessage_handle(Cloud_CoAPContext *context, in Cloud_CoAPMessage_handle()
252 int Cloud_CoAPMessage_recv(Cloud_CoAPContext *context, unsigned int timeout, in Cloud_CoAPMessage_recv()
277 int Cloud_CoAPMessage_cycle(Cloud_CoAPContext *context) in Cloud_CoAPMessage_cycle()
/AliOS-Things-master/components/SDL2/src/file/
A DSDL_rwops.c146 windows_file_size(SDL_RWops * context) in windows_file_size()
294 windows_file_close(SDL_RWops * context) in windows_file_close()
351 stdio_size(SDL_RWops * context) in stdio_size()
366 stdio_seek(SDL_RWops * context, Sint64 offset, int whence) in stdio_seek()
425 stdio_close(SDL_RWops * context) in stdio_close()
444 mem_size(SDL_RWops * context) in mem_size()
450 mem_seek(SDL_RWops * context, Sint64 offset, int whence) in mem_seek()
519 mem_close(SDL_RWops * context) in mem_close()
784 SDL_RWsize(SDL_RWops *context) in SDL_RWsize()
796 SDL_RWtell(SDL_RWops *context) in SDL_RWtell()
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/example/
A Dexample.cc21 void ExampleMulFloat(ruy::Context *context) { in ExampleMulFloat()
45 void ExampleMulFloatWithBiasAddAndClamp(ruy::Context *context) { in ExampleMulFloatWithBiasAddAndClamp()
73 void ExampleMulUint8AsymmetricQuantized(ruy::Context *context) { in ExampleMulUint8AsymmetricQuantized()
102 void ExampleMulInt8PerChannelQuantized(ruy::Context *context) { in ExampleMulInt8PerChannelQuantized()
129 void ExampleMulInt8GetRawAccumulators(ruy::Context *context) { in ExampleMulInt8GetRawAccumulators()
155 ruy::Context context; in main() local
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/cmsis_nn/
A Dpooling.cc47 TfLiteStatus CalculateOpData(TfLiteContext* context, in CalculateOpData()
79 void AverageEvalFloat(const TfLiteContext* context, const TfLiteNode* node, in AverageEvalFloat()
101 void AverageEvalQuantized(TfLiteContext* context, const TfLiteNode* node, in AverageEvalQuantized()
173 void MaxEvalFloat(TfLiteContext* context, TfLiteNode* node, in MaxEvalFloat()
194 void MaxEvalQuantizedUInt8(TfLiteContext* context, TfLiteNode* node, in MaxEvalQuantizedUInt8()
213 TfLiteStatus MaxEvalInt8(TfLiteContext* context, const TfLiteNode* node, in MaxEvalInt8()
266 void* Init(TfLiteContext* context, const char* buffer, size_t length) { in Init()
271 TfLiteStatus MaxPrepare(TfLiteContext* context, TfLiteNode* node) { in MaxPrepare()
288 TfLiteStatus AveragePrepare(TfLiteContext* context, TfLiteNode* node) { in AveragePrepare()
323 TfLiteStatus AverageEval(TfLiteContext* context, TfLiteNode* node) { in AverageEval()
[all …]
/AliOS-Things-master/components/linkkit/dev_model/server/
A Ddm_server.c10 _OU_ dm_server_alcs_context_t **context) in _dm_server_malloc_context()
51 dm_server_alcs_context_t *context = (dm_server_alcs_context_t *)ctx; in dm_server_free_context() local
112 void dm_server_thing_service_property_set(CoAPContext *context, in dm_server_thing_service_property_set()
165 void dm_server_thing_service_request(CoAPContext *context, const char *paths, in dm_server_thing_service_request()
190 void dm_server_thing_service_property_get(CoAPContext *context, in dm_server_thing_service_property_get()
232 void dm_server_thing_service_property_post(CoAPContext *context, in dm_server_thing_service_property_post()
270 void dm_server_thing_dev_core_service_dev(CoAPContext *context, in dm_server_thing_dev_core_service_dev()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/
A Dcontext_get_ctx.cc22 const Ctx* get_ctx(const Context* context) { in get_ctx()
25 Ctx* get_ctx(Context* context) { return static_cast<Ctx*>(context->impl_); } in get_ctx()
/AliOS-Things-master/components/uservice/src/
A Devent.c26 void *context; member
43 static event_subscription_t *find_event_sub(event_t *ev, event_callback_t cb, void *context) in find_event_sub()
93 … __yoc_event_subscribe(event_list_t *evlist, uint32_t event_id, event_callback_t cb, void *context) in __yoc_event_subscribe()
131 int eventlist_subscribe_fd(event_list_t *evlist, uint32_t fd, event_callback_t cb, void *context) in eventlist_subscribe_fd()
143 int eventlist_subscribe(event_list_t *evlist, uint32_t event_id, event_callback_t cb, void *context) in eventlist_subscribe()
153 …_yoc_event_unsubscribe(event_list_t *evlist, uint32_t event_id, event_callback_t cb, void *context) in __yoc_event_unsubscribe()
207 int eventlist_unsubscribe_fd(event_list_t *evlist, uint32_t fd, event_callback_t cb, void *context) in eventlist_unsubscribe_fd()
219 … eventlist_unsubscribe(event_list_t *evlist, uint32_t event_id, event_callback_t cb, void *context) in eventlist_unsubscribe()

Completed in 32 milliseconds

12345678910