/AliOS-Things-master/components/lwip/lwip2.0.0/apps/snmp/ |
A D | snmp_table.c | 56 if ((instance->instance_oid.len >= 3) && (instance->instance_oid.id[0] == 1)) { in snmp_table_get_instance() 81 instance); in snmp_table_get_instance() 100 if ((instance->instance_oid.len > 0) && (instance->instance_oid.id[0] > 1)) { in snmp_table_get_next_instance() 143 instance); in snmp_table_get_next_instance() 174 if ((instance->instance_oid.len >= 3) && (instance->instance_oid.id[0] == 1)) { in snmp_table_simple_get_instance() 179 &instance->reference, in snmp_table_simple_get_instance() 239 if ((instance->instance_oid.len > 0) && (instance->instance_oid.id[0] > 1)) { in snmp_table_simple_get_next_instance() 276 &instance->reference, in snmp_table_simple_get_next_instance() 291 instance->set_test = NULL; in snmp_table_simple_get_next_instance() 292 instance->set_value = NULL; in snmp_table_simple_get_next_instance() [all …]
|
A D | snmp_scalar.c | 58 if ((instance->instance_oid.len != 1) || (instance->instance_oid.id[0] != 0)) { in snmp_scalar_get_instance() 62 instance->access = scalar_node->access; in snmp_scalar_get_instance() 65 instance->set_test = scalar_node->set_test; in snmp_scalar_get_instance() 74 if (instance->instance_oid.len == 0) { in snmp_scalar_get_next_instance() 75 instance->instance_oid.len = 1; in snmp_scalar_get_next_instance() 76 instance->instance_oid.id[0] = 0; in snmp_scalar_get_next_instance() 91 if ((instance->instance_oid.len == 2) && (instance->instance_oid.id[1] == 0)) { in snmp_scalar_array_get_instance() 144 if (instance->instance_oid.len == 1) { in snmp_scalar_array_get_next_instance() 179 instance->instance_oid.len = 2; in snmp_scalar_array_get_next_instance() 181 instance->instance_oid.id[1] = 0; in snmp_scalar_array_get_next_instance() [all …]
|
A D | snmp_threadsync.c | 48 call_data->threadsync_node->instance->sync_fn(fn, call_data); in call_synced_function() 49 sys_sem_wait(&call_data->threadsync_node->instance->sem); in call_synced_function() 60 sys_sem_signal(&call_data->threadsync_node->instance->sem); in threadsync_get_value_synced() 81 sys_sem_signal(&call_data->threadsync_node->instance->sem); in threadsync_set_test_synced() 103 sys_sem_signal(&call_data->threadsync_node->instance->sem); in threadsync_set_value_synced() 125 sys_sem_signal(&call_data->threadsync_node->instance->sem); in threadsync_release_instance_synced() 173 instance->reference.ptr = call_data; in do_sync() 174 …snmp_oid_assign(&call_data->proxy_instance.instance_oid, instance->instance_oid.id, instance->inst… in do_sync() 211 err_t err = sys_mutex_new(&instance->sem_usage_mutex); in snmp_threadsync_init() 213 err = sys_sem_new(&instance->sem, 0); in snmp_threadsync_init() [all …]
|
/AliOS-Things-master/components/py_engine/modules/minicv/base/modules/c/include/ |
A D | WrapperIHaasUI.h | 40 void UIDestoryInstance(void* instance); 41 int UIGetDisplayWidth(void* instance); 42 int UIGetDisplayHeight(void* instance); 43 int UIGetDisplayBacklight(void* instance); 44 int UISetDisplayBacklight(void* instance, int32_t value); 45 int UIGetDisplayType(void* instance); 46 int UIGetDisplayFreq(void* instance); 47 int UISetDisplayFreq(void* instance, int32_t freq); 48 int UIDrawPoint(void* instance, Point_t *pt, int32_t color); 49 int UIDrawLine(void* instance, Point_t *start, Point_t *end, int32_t color); [all …]
|
A D | WrapperIHaasImageProc.h | 40 void ImageProcDestoryInstance(void* instance); 41 int ImageProcOpen(void* instance); 42 int ImageProcClose(void* instance); 43 int ImageProcCvtColor(void* instance, const ImageBuffer_t* src, PixelFmt_t dst_format, 45 int ImageProcResize(void* instance, const ImageBuffer_t* src, const ImageSize_t dst_size, 47 int ImageProcImgCopy(void* instance, const ImageBuffer_t* src, ImageBuffer_t** dst); 54 int ImageProcPutText(void* instance, const ImageBuffer_t* src, char* text, int32_t left, 56 int ImageProcDilateErode(void* instance, const ImageBuffer_t* src, ImageBuffer_t* dst, 58 void ImageProcImageAdd(void* instance, const ImageBuffer_t* src, ImageBuffer_t* added, 62 void ImageProcImageElementMultiply(void* instance, const ImageBuffer_t* src, [all …]
|
A D | WrapperIHaasVideoCodec.h | 41 void VideoCodecDestoryInstance(void* instance); 42 int VideoCodecOpen(void* instance); 43 int VideoCodecClose(void* instance); 44 int VideoCodecDecodeConfig(void* instance, DecodeConfig_t* config); 45 int VideoCodecStartDecode(void* instance); 46 int VideoCodecStopDecode(void* instance); 47 int VideoCodecGetDecodeImageData(void* instance, void *pkt, ImageBuffer_t** image); 48 int VideoCodecEncodeConfig(void* instance, EncodeConfig_t* config); 49 int VideoCodecStartEncode(void* instance); 50 int VideoCodecStopEncode(void* instance); [all …]
|
A D | WrapperIHaasImageCodec.h | 40 void ImageCodecDestoryInstance(void* instance); 41 int ImageCodecImgRead(void* instance, ImageBuffer_t **image, char * filename); 42 int ImageCodecImgReadMulti(void* instance, ImageBuffer_t **images, char * filename); 43 int ImageCodecImgWrite(void* instance, ImageBuffer_t *image, char * filename); 44 int ImageCodecImgWriteMulti(void* instance, ImageBuffer_t **images, char * filename); 45 int ImageCodecImgDecode(void* instance, void *addr, ImageBuffer_t **image); 46 ImageBuffer_t * ImageCodecImgDecode2(void* instance, const char * filename); 47 int ImageCodecImgEncode(void* instance, void *addr, ImageBuffer_t ** image); 48 int ImageCodechaveImageReader(void* instance, char * filename); 49 int ImageCodechaveImageWriter(void* instance, char * filename);
|
A D | WrapperIHaasDataInput.h | 39 void DataInputDestoryInstance(void* instance); 40 int DataInputOpen(void* instance, char*filename); 41 int DataInputOpen2(void* instance, int cameraNum); 42 int DataInputClose(void* instance); 43 bool DataInputCheckDataReady(void* instance); 44 int DataInputRequestData(void* instance, ImageBuffer_t** image, int32_t timeout); 45 int DataInputReleaseData(void* instance, ImageBuffer_t* image);
|
A D | WrapperIHaasML.h | 39 void MLDestoryInstance(void* instance); 40 int MLConfig(void* instance, char *key, char *secret, char *region_id, 42 int MLSetInputData(void* instance, const char* dataPath); 43 int MLLoadNet(void* instance, const char* modePath); 44 int MLPredict(void* instance); 45 int MLGetPredictResponses(void* instance, char* outResult, int len); 46 int MLUnLoadNet(void* instance);
|
/AliOS-Things-master/components/py_engine/modules/minicv/base/modules/c/src/ |
A D | WrapperIHaasUI.cpp | 25 void UIDestoryInstance(void* instance) in UIDestoryInstance() argument 29 IHaasUI* mIHaasUI = (IHaasUI*)instance; in UIDestoryInstance() 39 int UIGetDisplayWidth(void* instance) in UIGetDisplayWidth() argument 43 IHaasUI* mIHaasUI = (IHaasUI*)instance; in UIGetDisplayWidth() 56 int UIGetDisplayHeight(void* instance) in UIGetDisplayHeight() argument 60 IHaasUI* mIHaasUI = (IHaasUI*)instance; in UIGetDisplayHeight() 73 int UIGetDisplayBacklight(void* instance) in UIGetDisplayBacklight() argument 77 IHaasUI* mIHaasUI = (IHaasUI*)instance; in UIGetDisplayBacklight() 107 int UIGetDisplayType(void* instance) in UIGetDisplayType() argument 124 int UIGetDisplayFreq(void* instance) in UIGetDisplayFreq() argument [all …]
|
A D | WrapperIHaasVideoCodec.cpp | 25 void VideoCodecDestoryInstance(void* instance) in VideoCodecDestoryInstance() argument 29 IHaasVideoCodec* mIHaasVideoCodec = (IHaasVideoCodec*)instance; in VideoCodecDestoryInstance() 39 int VideoCodecOpen(void* instance) in VideoCodecOpen() argument 43 IHaasVideoCodec* mIHaasVideoCodec = (IHaasVideoCodec*)instance; in VideoCodecOpen() 56 int VideoCodecClose(void* instance) in VideoCodecClose() argument 60 IHaasVideoCodec* mIHaasVideoCodec = (IHaasVideoCodec*)instance; in VideoCodecClose() 73 int VideoCodecDecodeConfig(void* instance, DecodeConfig_t* config) in VideoCodecDecodeConfig() argument 90 int VideoCodecStartDecode(void* instance) in VideoCodecStartDecode() argument 107 int VideoCodecStopDecode(void* instance) in VideoCodecStopDecode() argument 158 int VideoCodecStartEncode(void* instance) in VideoCodecStartEncode() argument [all …]
|
A D | WrapperIHaasImageProc.cpp | 25 void ImageProcDestoryInstance(void* instance) in ImageProcDestoryInstance() argument 29 IHaasImageProc* mIHaasImageProc = (IHaasImageProc*)instance; in ImageProcDestoryInstance() 40 int ImageProcOpen(void* instance) in ImageProcOpen() argument 44 IHaasImageProc* mIHaasImageProc = (IHaasImageProc*)instance; in ImageProcOpen() 57 int ImageProcClose(void* instance) in ImageProcClose() argument 61 IHaasImageProc* mIHaasImageProc = (IHaasImageProc*)instance; in ImageProcClose() 79 IHaasImageProc* mIHaasImageProc = (IHaasImageProc*)instance; in ImageProcCvtColor() 97 IHaasImageProc* mIHaasImageProc = (IHaasImageProc*)instance; in ImageProcResize() 114 IHaasImageProc* mIHaasImageProc = (IHaasImageProc*)instance; in ImageProcImgCopy() 132 IHaasImageProc* mIHaasImageProc = (IHaasImageProc*)instance; in ImageProcRectangle() [all …]
|
A D | WrapperIHaasImageCodec.cpp | 24 void ImageCodecDestoryInstance(void* instance) in ImageCodecDestoryInstance() argument 28 IHaasImageCodec* mIHaasImageCodec = (IHaasImageCodec*)instance; in ImageCodecDestoryInstance() 42 IHaasImageCodec* mIHaasImageCodec = (IHaasImageCodec*)instance; in ImageCodecImgRead() 59 IHaasImageCodec* mIHaasImageCodec = (IHaasImageCodec*)instance; in ImageCodecImgReadMulti() 76 IHaasImageCodec* mIHaasImageCodec = (IHaasImageCodec*)instance; in ImageCodecImgWrite() 93 IHaasImageCodec* mIHaasImageCodec = (IHaasImageCodec*)instance; in ImageCodecImgWriteMulti() 110 IHaasImageCodec* mIHaasImageCodec = (IHaasImageCodec*)instance; in ImageCodecImgDecode() 127 IHaasImageCodec* mIHaasImageCodec = (IHaasImageCodec*)instance; in ImageCodecImgDecode2() 144 IHaasImageCodec* mIHaasImageCodec = (IHaasImageCodec*)instance; in ImageCodecImgEncode() 157 int ImageCodechaveImageReader(void* instance, char * filename) in ImageCodechaveImageReader() argument [all …]
|
A D | WrapperIHaasDataInput.cpp | 25 void DataInputDestoryInstance(void* instance) in DataInputDestoryInstance() argument 29 IHaasDataInput* mIHaasDataInput = (IHaasDataInput*)instance; in DataInputDestoryInstance() 39 int DataInputOpen(void* instance, char* filename) in DataInputOpen() argument 43 IHaasDataInput* mIHaasDataInput = (IHaasDataInput*)instance; in DataInputOpen() 56 int DataInputOpen2(void* instance, int cameraNum) in DataInputOpen2() argument 60 IHaasDataInput* mIHaasDataInput = (IHaasDataInput*)instance; in DataInputOpen2() 73 int DataInputClose(void* instance) in DataInputClose() argument 77 IHaasDataInput* mIHaasDataInput = (IHaasDataInput*)instance; in DataInputClose() 90 bool DataInputCheckDataReady(void* instance) in DataInputCheckDataReady() argument 94 IHaasDataInput* mIHaasDataInput = (IHaasDataInput*)instance; in DataInputCheckDataReady() [all …]
|
A D | WrapperIHaasML.cpp | 21 void MLDestoryInstance(void* instance) in MLDestoryInstance() argument 24 IHaasML* mIHaasML = (IHaasML*)instance; in MLDestoryInstance() 41 IHaasML* mIHaasML = (IHaasML*)instance; in MLConfig() 54 IHaasML* mIHaasML = (IHaasML*)instance; in MLSetInputData() 64 int MLLoadNet(void* instance, const char* modePath) in MLLoadNet() argument 67 IHaasML* mIHaasML = (IHaasML*)instance; in MLLoadNet() 77 int MLPredict(void* instance) in MLPredict() argument 80 IHaasML* mIHaasML = (IHaasML*)instance; in MLPredict() 93 IHaasML* mIHaasML = (IHaasML*)instance; in MLGetPredictResponses() 104 int MLUnLoadNet(void* instance) in MLUnLoadNet() argument [all …]
|
/AliOS-Things-master/components/sensor/hal/ |
A D | sensor_hal.c | 147 *pinstance = g_sensor_obj[i]->instance; in find_selected_sensor() 187 uint8_t instance; in sensor_create_obj() local 216 g_sensor_obj[index]->instance = sensor->instance; in sensor_create_obj() 269 sensor_list->list[index].instance = g_sensor_obj[index]->instance; in sensor_hal_get_dev_list() 292 if ((g_sensor_obj[i]->tag == tag) && (g_sensor_obj[i]->instance == instance)){ in sensor_obj_get() 507 uint8_t instance; in sensor_open() local 523 return sensor_hal_open(tag, instance); in sensor_open() 530 uint8_t instance; in sensor_close() local 557 uint8_t instance; in sensor_read() local 583 uint8_t instance; in sensor_write() local [all …]
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/acceleration/configuration/ |
A D | delegate_registry.cc | 39 static auto* instance = new DelegatePluginRegistry(); in GetSingleton() local 40 return instance; in GetSingleton() 45 auto* const instance = DelegatePluginRegistry::GetSingleton(); in CreateByName() local 46 return instance->CreateImpl(name, settings); in CreateByName() 51 auto* const instance = DelegatePluginRegistry::GetSingleton(); in Register() local 52 instance->RegisterImpl(name, creator_function); in Register()
|
/AliOS-Things-master/components/py_engine/adapter/haas/ |
A D | modpm.c | 17 void *instance = NULL; in obj_open() local 32 void *instance = NULL; in obj_close() local 47 void *instance = NULL; in obj_setAutosleepMode() local 62 void *instance = NULL; in obj_getAutosleepMode() local 77 void *instance = NULL; in obj_sleep() local 92 void *instance = NULL; in obj_powerDown() local 107 void *instance = NULL; in obj_powerReset() local 122 void *instance = NULL; in obj_wakelockLock() local 137 void *instance = NULL; in obj_wakelockUnlock() local 152 void *instance = NULL; in obj_wakelockTimedlock() local [all …]
|
/AliOS-Things-master/components/py_engine/adapter/haas510/ |
A D | modpm.c | 18 void* instance = NULL; in obj_open() local 34 void* instance = NULL; in obj_close() local 50 void* instance = NULL; in obj_setAutosleepMode() local 66 void* instance = NULL; in obj_getAutosleepMode() local 82 void* instance = NULL; in obj_sleep() local 98 void* instance = NULL; in obj_powerDown() local 114 void* instance = NULL; in obj_powerReset() local 130 void* instance = NULL; in obj_wakelockLock() local 146 void* instance = NULL; in obj_wakelockUnlock() local 162 void* instance = NULL; in obj_wakelockTimedlock() local [all …]
|
/AliOS-Things-master/components/py_engine/adapter/haas600/ |
A D | modpm.c | 18 void* instance = NULL; in obj_open() local 34 void* instance = NULL; in obj_close() local 50 void* instance = NULL; in obj_setAutosleepMode() local 66 void* instance = NULL; in obj_getAutosleepMode() local 82 void* instance = NULL; in obj_sleep() local 98 void* instance = NULL; in obj_powerDown() local 114 void* instance = NULL; in obj_powerReset() local 130 void* instance = NULL; in obj_wakelockLock() local 146 void* instance = NULL; in obj_wakelockUnlock() local 162 void* instance = NULL; in obj_wakelockTimedlock() local [all …]
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/apps/ |
A D | snmp_table.h | 75 …_table_get_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance); 76 …e_get_next_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance); 115 …simple_get_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance); 116 …e_get_next_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance); 124 s16_t snmp_table_extract_value_from_s32ref(struct snmp_node_instance* instance, void* value); 125 s16_t snmp_table_extract_value_from_u32ref(struct snmp_node_instance* instance, void* value); 126 s16_t snmp_table_extract_value_from_refconstptr(struct snmp_node_instance* instance, void* value);
|
A D | snmp_threadsync.h | 91 struct snmp_threadsync_instance *instance; member 94 …adsync_get_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance); 95 …c_get_next_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance); 106 void snmp_threadsync_init(struct snmp_threadsync_instance *instance, snmp_threadsync_synchronizer_f…
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/apps/ |
A D | snmp_table.h | 75 …_table_get_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance); 76 …e_get_next_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance); 115 …simple_get_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance); 116 …e_get_next_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance); 124 s16_t snmp_table_extract_value_from_s32ref(struct snmp_node_instance* instance, void* value); 125 s16_t snmp_table_extract_value_from_u32ref(struct snmp_node_instance* instance, void* value); 126 s16_t snmp_table_extract_value_from_refconstptr(struct snmp_node_instance* instance, void* value);
|
A D | snmp_threadsync.h | 91 struct snmp_threadsync_instance *instance; member 94 …adsync_get_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance); 95 …c_get_next_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance); 106 void snmp_threadsync_init(struct snmp_threadsync_instance *instance, snmp_threadsync_synchronizer_f…
|
/AliOS-Things-master/components/py_engine/modules/minicv/ |
A D | datainput.c | 58 void* instance = NULL; in obj_open() local 83 driver_obj->mInstance = instance; in obj_open() 84 if (instance == NULL) in obj_open() 90 ret = DataInputOpen(instance, driver_obj->mFileName); in obj_open() 104 void* instance = NULL; in obj_openCamera() local 129 driver_obj->mInstance = instance; in obj_openCamera() 130 if (instance == NULL) in obj_openCamera() 153 void* instance = NULL; in obj_close() local 188 void* instance = NULL; in obj_checkDataReady() local 220 void* instance = NULL; in obj_requestData() local [all …]
|