| /AliOS-Things-master/components/drivers/core/base/core/ |
| A D | u_cdev.c | 219 u_cdev_t *new = NULL; in __register_u_cdev_region() local 221 new = malloc(sizeof(*new)); in __register_u_cdev_region() 222 if (!new) { in __register_u_cdev_region() 226 memset(new, 0, sizeof(*new)); in __register_u_cdev_region() 227 dlist_init(&new->node); in __register_u_cdev_region() 237 new, new->dev_id, count, new->ops); in __register_u_cdev_region() 250 new, new->dev_id, count, new->ops); in __register_u_cdev_region() 257 new, new->dev_id, count, new->ops); in __register_u_cdev_region() 271 free(new); in __register_u_cdev_region() 272 new = NULL; in __register_u_cdev_region() [all …]
|
| /AliOS-Things-master/components/mbedtls/library/ |
| A D | memory_buffer_alloc.c | 327 new->alloc = 0; in buffer_alloc_calloc() 328 new->prev = cur; in buffer_alloc_calloc() 329 new->next = cur->next; in buffer_alloc_calloc() 331 new->trace = NULL; in buffer_alloc_calloc() 332 new->trace_count = 0; in buffer_alloc_calloc() 334 new->magic1 = MAGIC1; in buffer_alloc_calloc() 335 new->magic2 = MAGIC2; in buffer_alloc_calloc() 338 new->next->prev = new; in buffer_alloc_calloc() 345 new->prev_free->next_free = new; in buffer_alloc_calloc() 350 new->next_free->prev_free = new; in buffer_alloc_calloc() [all …]
|
| /AliOS-Things-master/kernel/rhino/ |
| A D | k_rbtree.c | 11 …tic inline void rbtree_rotate_set_parents(struct k_rbtree_node_t *old, struct k_rbtree_node_t *new, in rbtree_rotate_set_parents() argument 15 new->rbt_parent_color = old->rbt_parent_color; in rbtree_rotate_set_parents() 16 rbtree_set_parent_color(old, new, color); in rbtree_rotate_set_parents() 17 rbtree_change_child(old, new, parent, root); in rbtree_rotate_set_parents() 21 void (*augment_rotate)(struct k_rbtree_node_t *old, struct k_rbtree_node_t *new)) in rbtree_insert() argument 224 void (*augment_rotate)(struct k_rbtree_node_t *old, struct k_rbtree_node_t *new)) in rbtree_insert_augmented() argument 317 void k_rbtree_replace_node(struct k_rbtree_node_t *victim, struct k_rbtree_node_t *new, in k_rbtree_replace_node() argument 322 rbtree_change_child(victim, new, parent, root); in k_rbtree_replace_node() 324 rbtree_set_parent(victim->rbt_left, new); in k_rbtree_replace_node() 327 rbtree_set_parent(victim->rbt_right, new); in k_rbtree_replace_node() [all …]
|
| /AliOS-Things-master/components/freetype/src/tools/ftrandom/ |
| A D | ftrandom.c | 421 FILE *good, *new; in copyfont() local 433 new = fopen( newfont, "w+" ); in copyfont() 434 if ( new == NULL ) in copyfont() 442 fwrite( buffer, 1, len, new ); in copyfont() 449 fseek( new, getRandom( 0, item->len - 1 ), SEEK_SET ); in copyfont() 452 putc( getRandom( 0, 0xff ), new ); in copyfont() 454 putc( getRandom( 0x20, 0x7e ), new ); in copyfont() 465 putc( hex, new ); in copyfont() 469 if ( ferror( new ) ) in copyfont() 471 fclose( new ); in copyfont() [all …]
|
| /AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/scripts/ |
| A D | genchk.cmake.in | 25 file(REMOVE "${OUTPUT}" "${OUTPUTDIR}/${OUTPUTBASE}.new") 28 "of=${OUTPUTDIR}/${OUTPUTBASE}.new" 32 message(FATAL_ERROR "Failed to generate ${OUTPUTDIR}/${OUTPUTBASE}.new") 34 file(RENAME "${OUTPUTDIR}/${OUTPUTBASE}.new" "${OUTPUT}")
|
| /AliOS-Things-master/components/jsoncpp/example/ |
| A D | README.md | 6 an older version of GCC. If the third-party library cannot be rebuilt with the new ABI, then you ne… 10 Not all of uses of the new ABI will cause changes in symbol names, for example a class with a `std:… 11 …me mangled name whether compiled with the older or new ABI. In order to detect such problems, the …
|
| /AliOS-Things-master/components/amp/engine/duktape_engine/addons/wireless/bt_host/ |
| A D | bt_gatts_adapter.c | 206 amp_bt_gatts_adapter_usr_data_t **new = &(ptr->user_data); in bt_gatts_adapter_update_user_data() local 217 *new = (amp_bt_gatts_adapter_usr_data_t *)malloc(sizeof(amp_bt_gatts_adapter_usr_data_t)); in bt_gatts_adapter_update_user_data() 218 if (*new) { in bt_gatts_adapter_update_user_data() 219 (*new)->len = len; in bt_gatts_adapter_update_user_data() 220 (*new)->data = (uint8_t *)malloc(sizeof(uint8_t) * len); in bt_gatts_adapter_update_user_data() 221 if ((*new)->data) { in bt_gatts_adapter_update_user_data() 223 memcpy((*new)->data, data, len); in bt_gatts_adapter_update_user_data() 224 amp_debug(MOD_STR, "[%s]update user data:%p -> %p", __func__, old, *new); in bt_gatts_adapter_update_user_data() 226 free(*new); in bt_gatts_adapter_update_user_data()
|
| /AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/ |
| A D | CHANGELOG | 99 - Add new api. 373 - Update new version. 859 - Support new message fomat. 998 - Add new tags for corp group. 1001 - Add new tags for corp group. 1631 - Add new openapi ApplyNodes. 1927 - Add new Api SegmentBody. 1933 - Add new Api SegmentBody. 2355 - Add new OpenAPI. 2358 - Add new pop api. [all …]
|
| /AliOS-Things-master/components/py_engine/modules/ble/ |
| A D | bt_gatts_adapter.c | 239 amp_bt_gatts_adapter_usr_data_t **new = in bt_gatts_adapter_update_user_data() local 254 *new = (amp_bt_gatts_adapter_usr_data_t *)malloc( in bt_gatts_adapter_update_user_data() 256 if (*new) { in bt_gatts_adapter_update_user_data() 257 (*new)->len = len; in bt_gatts_adapter_update_user_data() 258 (*new)->data = (uint8_t *)malloc(sizeof(uint8_t) * len); in bt_gatts_adapter_update_user_data() 259 if ((*new)->data) { in bt_gatts_adapter_update_user_data() 260 memcpy((*new)->data, data, len); in bt_gatts_adapter_update_user_data() 261 LOGD(LOG_TAG, "[%s]update user data:%p -> %p", __func__, old, *new); in bt_gatts_adapter_update_user_data() 263 free(*new); in bt_gatts_adapter_update_user_data()
|
| /AliOS-Things-master/components/amp/engine/quickjs_engine/addons/wireless/bt_host/ |
| A D | bt_gatts_adapter.c | 208 amp_bt_gatts_adapter_usr_data_t **new = (amp_bt_gatts_adapter_usr_data_t **)&(ptr->user_data); in bt_gatts_adapter_update_user_data() local 219 *new = (amp_bt_gatts_adapter_usr_data_t *)malloc(sizeof(amp_bt_gatts_adapter_usr_data_t)); in bt_gatts_adapter_update_user_data() 220 if (*new) { in bt_gatts_adapter_update_user_data() 221 (*new)->len = len; in bt_gatts_adapter_update_user_data() 222 (*new)->data = (uint8_t *)malloc(sizeof(uint8_t) * len); in bt_gatts_adapter_update_user_data() 223 if ((*new)->data) { in bt_gatts_adapter_update_user_data() 224 memcpy((*new)->data, data, len); in bt_gatts_adapter_update_user_data() 225 amp_debug(MOD_STR, "[%s]update user data:%p -> %p", __func__, old, *new); in bt_gatts_adapter_update_user_data() 227 free(*new); in bt_gatts_adapter_update_user_data()
|
| /AliOS-Things-master/components/SDL2/src/gfx/ |
| A D | nodebug.sh | 21 cat $i | sed 's/-g -O2/-O -Wl,-s/' | sed 's/-shared/-shared -Wl,-s/' >$i.new 22 cp -f $i.new $i
|
| /AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/src/osdep/alios/ |
| A D | wrapper.h | 61 static __inline void __list_add(struct list_head * new, in __list_add() argument 65 next->prev = new; in __list_add() 66 new->next = next; in __list_add() 67 new->prev = prev; in __list_add() 68 prev->next = new; in __list_add() 135 void list_add(struct list_head *new, struct list_head *head); 136 void list_add_tail(struct list_head *new, struct list_head *head);
|
| /AliOS-Things-master/components/ramfs/src/ |
| A D | ramfs.c | 89 ramfs_ll_node_t *new = NULL; in ramfs_ll_ins_head() local 91 new = ramfs_mm_alloc(ll->size + RAMFS_LL_NODE_META_SIZE); in ramfs_ll_ins_head() 93 if (new != NULL) { in ramfs_ll_ins_head() 98 ramfs_node_set_prev(ll, ll->head, new); in ramfs_ll_ins_head() 103 ll->tail = new; in ramfs_ll_ins_head() 107 return new; in ramfs_ll_ins_head() 542 int32_t ramfs_rename(const char *old, const char *new) in ramfs_rename() argument 546 entry = ramfs_entry_get(new); in ramfs_rename() 565 entry->fn = ramfs_mm_realloc(entry->fn, strlen(new) + 1); in ramfs_rename() 569 memset(entry->fn, 0 , strlen(new) + 1); in ramfs_rename() [all …]
|
| /AliOS-Things-master/components/drivers/core/base/platform/ |
| A D | u_platform_bus.c | 272 u_platform_device_t* new = (u_platform_device_t *)malloc(sizeof(u_platform_device_t)); in u_platform_device_alloc() local 274 if (!new) { in u_platform_device_alloc() 278 memset(new, 0, sizeof(u_platform_device_t)); in u_platform_device_alloc() 280 u_device_initialize(&new->dev); in u_platform_device_alloc() 282 return new; in u_platform_device_alloc()
|
| /AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/ |
| A D | tiffmedian.c | 499 new = freeboxes; in splitbox() 500 freeboxes = new->next; in splitbox() 505 new->next = usedboxes; in splitbox() 506 usedboxes = new; in splitbox() 513 new->total = sum1; in splitbox() 516 new->rmin = ptr->rmin; in splitbox() 517 new->rmax = ptr->rmax; in splitbox() 518 new->gmin = ptr->gmin; in splitbox() 519 new->gmax = ptr->gmax; in splitbox() 524 new->rmax = i-1; in splitbox() [all …]
|
| /AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/tags/ |
| A D | README | 26 a new revision of libtiff came out the client would have to 30 The latest versions of libtiff now provide client software new routines, 34 be recompiled when new versions of libtiff are released; no manual 41 a single new routine, which has the following calling sequence: 58 can trap your new, private tags, and install their values into 59 a private directory structure. For your convienience, a new pointer 66 "vsetfield" method, to permit the symbolic printing of your new tags.
|
| /AliOS-Things-master/components/mbedtls/programs/ssl/ |
| A D | ssl_server2.c | 631 sni_entry *cur = NULL, *new = NULL; in sni_parse() local 648 GET_ITEM( new->name ); in sni_parse() 660 mbedtls_pk_init( new->key ); in sni_parse() 696 new->next = cur; in sni_parse() 697 cur = new; in sni_parse() 703 sni_free( new ); in sni_parse() 827 GET_ITEM( new->name ); in psk_parse() 830 if( unhexify( new->key, key_hex, &new->key_len ) != 0 ) in psk_parse() 833 new->next = cur; in psk_parse() 834 cur = new; in psk_parse() [all …]
|
| /AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/ |
| A D | dwc_list.h | 155 static inline void __list_add(struct list_head *new, 159 next->prev = new; 160 new->next = next; 161 new->prev = prev; 162 prev->next = new; 165 static inline void list_add(struct list_head *new, struct list_head *head) 167 __list_add(new, head, head->next); 170 static inline void list_add_tail(struct list_head *new, struct list_head *head) 172 __list_add(new, head->prev, head);
|
| /AliOS-Things-master/components/py_engine/engine/tools/ |
| A D | mpy-tool.py | 824 new = {} 827 if q is None or q.qstr_esc in base_qstrs or q.qstr_esc in new: 829 new[q.qstr_esc] = (len(new), q.qstr_esc, q.str) 830 new = sorted(new.values(), key=lambda x: x[0]) 875 if len(new) > 0: 877 for i in range(len(new)): 879 print(" MP_QSTR_%s = MP_QSTRnumber_of," % new[i][1]) 881 print(" MP_QSTR_%s," % new[i][1]) 885 qstr_pool_alloc = min(len(new), 10) 893 print(" %u, // used entries" % len(new)) [all …]
|
| /AliOS-Things-master/components/jsoncpp/include/json/ |
| A D | allocator.h | 31 return static_cast<pointer>(::operator new(n * sizeof(T))); in allocate() 51 ::new (static_cast<void*>(p)) T(std::forward<Args>(args)...); in construct()
|
| /AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/ |
| A D | subgraph_test_util.h | 123 : interpreter_(new Interpreter), builder_(new SubgraphBuilder) {} in ControlFlowOpTest()
|
| /AliOS-Things-master/components/freetype/src/gxvalid/ |
| A D | README | 69 *) The `kern' validator handles both the classic and the new kern 360 Apple designed a new 32bit version of the `kern' table. According 364 32bit version as `new'. 379 5-2-1. Version detection: classic and new kern 383 differences between the classic and the new: 387 the new version starts with 0x00010000 (32bit). 392 In the new version, it is stored as a 32bit value. 425 introduced GX and moved to the new 32bit version. 464 the kern table is in new Apple dialect. 481 The most popular coverage in new Apple-dialect: 0x8000, [all …]
|
| /AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/kernels/ |
| A D | top_n.h | 274 auto out = new std::vector<T>; in Extract() 287 auto out = new std::vector<T>; in ExtractUnsorted() 298 auto out = new std::vector<T>; in ExtractNondestructive() 317 auto elements = new std::vector<T>; in ExtractUnsortedNondestructive()
|
| /AliOS-Things-master/components/SDL2/src/hidapi/testgui/ |
| A D | mac_support_cocoa.m | 60 static MyAppDelegate *d = [MyAppDelegate new]; 78 NSAutoreleasePool *pool = [NSAutoreleasePool new];
|
| /AliOS-Things-master/components/littlevgl/docs/ |
| A D | CONTRIBUTING.md | 12 - suggest and/or implement new features 32 Merging new code happens via Pull Requests. If you are still not familiar with the Pull Requests (P… 36 4. **Set the base branch**. It means where you want to merge your update. Fixes go to `master`, new… 41 …e won't be perfect at first. Don't be afraid, just improve it and push the new commits. The PR wil… 77 You can join others to work on an already existing language or you can start a new one. 92 Have you ported LittlevGL to a new platform? Have you created a fancy GUI? Do you know a great tric… 104 ## Suggesting and/or implementing new features
|