Home
last modified time | relevance | path

Searched refs:old (Results 1 – 25 of 150) sorted by relevance

123456

/AliOS-Things-master/hardware/chip/haas1000/drivers/net/net_os/
A Dnet_bitops.h73 int old = *m; in test_and_set_bit() local
75 *m = old | mask; in test_and_set_bit()
76 return (old & mask) != 0; in test_and_set_bit()
84 int old = *m; in test_and_clear_bit() local
86 *m = old & ~mask; in test_and_clear_bit()
87 return (old & mask) != 0; in test_and_clear_bit()
/AliOS-Things-master/kernel/rhino/
A Dk_rbtree.c11 static inline void rbtree_rotate_set_parents(struct k_rbtree_node_t *old, struct k_rbtree_node_t *n… in rbtree_rotate_set_parents() argument
14 struct k_rbtree_node_t *parent = K_RBTREE_PARENT(old); in rbtree_rotate_set_parents()
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
106 void (*augment_rotate)(struct k_rbtree_node_t *old, struct k_rbtree_node_t *new)) in rbtree_erase_color() argument
216 static inline void rbtree_dummy_copy(struct k_rbtree_node_t *old, struct k_rbtree_node_t *new) {} in rbtree_dummy_copy() argument
217 static inline void rbtree_dummy_rotate(struct k_rbtree_node_t *old, struct k_rbtree_node_t *new) {} in rbtree_dummy_rotate() argument
224 void (*augment_rotate)(struct k_rbtree_node_t *old, struct k_rbtree_node_t *new)) in rbtree_insert_augmented() argument
/AliOS-Things-master/components/ble_host/include/
A Datomic.h349 atomic_val_t old; in atomic_test_and_clear_bit() local
351 old = atomic_and(ATOMIC_ELEM(target, bit), ~mask); in atomic_test_and_clear_bit()
353 return (old & mask) != 0; in atomic_test_and_clear_bit()
370 atomic_val_t old; in atomic_test_and_set_bit() local
372 old = atomic_or(ATOMIC_ELEM(target, bit), mask); in atomic_test_and_set_bit()
374 return (old & mask) != 0; in atomic_test_and_set_bit()
/AliOS-Things-master/components/drivers/core/base/include/drivers/
A Datomic.h347 atomic_val_t old; in atomic_test_and_clear_bit() local
349 old = atomic_and(ATOMIC_ELEM(target, bit), ~mask); in atomic_test_and_clear_bit()
351 return (old & mask) != 0; in atomic_test_and_clear_bit()
368 atomic_val_t old; in atomic_test_and_set_bit() local
370 old = atomic_or(ATOMIC_ELEM(target, bit), mask); in atomic_test_and_set_bit()
372 return (old & mask) != 0; in atomic_test_and_set_bit()
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dvfs_blockdev.c44 mp_load_method_maybe(bdev, MP_QSTR_sync, self->u.old.sync); in mp_vfs_blockdev_init()
45 mp_load_method(bdev, MP_QSTR_count, self->u.old.count); in mp_vfs_blockdev_init()
123 if (self->u.old.sync[0] != MP_OBJ_NULL) { in mp_vfs_blockdev_ioctl()
124 mp_call_method_n_kw(0, 0, self->u.old.sync); in mp_vfs_blockdev_ioctl()
129 return mp_call_method_n_kw(0, 0, self->u.old.count); in mp_vfs_blockdev_ioctl()
/AliOS-Things-master/components/py_engine/engine/lib/re1.5/
A Drecursiveloop.c10 const char *old; in recursiveloop() local
64 old = subp[off]; in recursiveloop()
68 subp[off] = old; in recursiveloop()
/AliOS-Things-master/kernel/rhino/include/
A Dk_rbtree.h26 void (*copy)(struct k_rbtree_node_t *old, struct k_rbtree_node_t *new_node);
27 void (*rotate)(struct k_rbtree_node_t *old, struct k_rbtree_node_t *new_node);
63 … void (*augment_rotate)(struct k_rbtree_node_t *old, struct k_rbtree_node_t *new_node));
65 void (*augment_rotate)(struct k_rbtree_node_t *old, struct k_rbtree_node_t *new_node));
78 static inline void rbtree_change_child(struct k_rbtree_node_t *old, struct k_rbtree_node_t *new_nod… in rbtree_change_child() argument
82 if (parent->rbt_left == old) in rbtree_change_child()
/AliOS-Things-master/components/libc_stub/compilers/iar/
A Diar_libc.c36 __ATTRIBUTES void *realloc(void *old, unsigned int newlen) in realloc() argument
41 mem = aos_realloc(old, newlen | AOS_UNSIGNED_INT_MSB); in realloc()
43 mem = aos_realloc(old, newlen); in realloc()
A Diar_libc_uspace.c25 __ATTRIBUTES void *realloc(void *old, unsigned int newlen) in realloc() argument
27 return umm_realloc(old, newlen); in realloc()
/AliOS-Things-master/components/libc_stub/compilers/armlibc/
A Darmcc_libc.c60 void *realloc(void *old, size_t newlen) in realloc() argument
65 mem = aos_realloc(old, newlen | AOS_UNSIGNED_INT_MSB); in realloc()
67 mem = aos_realloc(old, newlen); in realloc()
A Darmcc_libc_uspace.c57 void *realloc(void *old, size_t newlen) in realloc() argument
61 mem = umm_realloc(old, newlen); in realloc()
/AliOS-Things-master/components/uvoice/internal/
A Duvoice_alios.h112 static inline void *snd_realloc(void *old, size_t newsize, int flags) in snd_realloc() argument
116 if (old >= 0x00400020 && old <= 0x00440000) { in snd_realloc()
117 mem = realloc(old, newsize); in snd_realloc()
118 } else if (old >= 0x00900000 && old <= 0x00940000) { in snd_realloc()
119 iram_heap_free(old); in snd_realloc()
126 void *mem = realloc(old, newsize); in snd_realloc()
/AliOS-Things-master/components/freetype/src/cache/
A Dftccmap.c312 FT_CharMap old, cmap = NULL; in FTC_CMapCache_Lookup() local
315 old = face->charmap; in FTC_CMapCache_Lookup()
318 if ( old != cmap && !no_cmap_change ) in FTC_CMapCache_Lookup()
323 if ( old != cmap && !no_cmap_change ) in FTC_CMapCache_Lookup()
324 FT_Set_Charmap( face, old ); in FTC_CMapCache_Lookup()
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/wireless/bt_host/
A Dbt_gatts_adapter.c205 amp_bt_gatts_adapter_usr_data_t *old = ptr->user_data; in bt_gatts_adapter_update_user_data() local
208 if (old) { in bt_gatts_adapter_update_user_data()
209 if (old->data) { in bt_gatts_adapter_update_user_data()
210 free(old->data); in bt_gatts_adapter_update_user_data()
214 free(old); 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()
/AliOS-Things-master/components/mbedtls/library/
A Dssl_cache.c142 mbedtls_ssl_cache_entry *old = NULL; in mbedtls_ssl_cache_set() local
176 old = cur; in mbedtls_ssl_cache_set()
192 if( old == NULL ) in mbedtls_ssl_cache_set()
198 cur = old; in mbedtls_ssl_cache_set()
A Dmemory_buffer_alloc.c383 memory_header *hdr, *old = NULL; in buffer_alloc_free() local
435 old = hdr; in buffer_alloc_free()
441 memset( old, 0, sizeof(memory_header) ); in buffer_alloc_free()
452 old = hdr->next; in buffer_alloc_free()
466 hdr->prev_free = old->prev_free; in buffer_alloc_free()
467 hdr->next_free = old->next_free; in buffer_alloc_free()
480 memset( old, 0, sizeof(memory_header) ); in buffer_alloc_free()
486 if( old == NULL ) in buffer_alloc_free()
/AliOS-Things-master/components/py_engine/modules/ble/
A Dbt_gatts_adapter.c237 amp_bt_gatts_adapter_usr_data_t *old = in bt_gatts_adapter_update_user_data() local
242 if (old) { in bt_gatts_adapter_update_user_data()
243 if (old->data) { in bt_gatts_adapter_update_user_data()
244 free(old->data); in bt_gatts_adapter_update_user_data()
251 free(old); 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()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/wireless/bt_host/
A Dbt_gatts_adapter.c207 amp_bt_gatts_adapter_usr_data_t *old = (amp_bt_gatts_adapter_usr_data_t *)ptr->user_data; in bt_gatts_adapter_update_user_data() local
210 if (old) { in bt_gatts_adapter_update_user_data()
211 if (old->data) { in bt_gatts_adapter_update_user_data()
212 free(old->data); in bt_gatts_adapter_update_user_data()
216 free(old); 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()
/AliOS-Things-master/components/minilibc/
A Dnewlib_stub.c61 int _link_r(struct _reent *ptr, const char *old, const char *new) in _link_r() argument
129 int _rename_r(struct _reent *ptr, const char *old, const char *new) in _rename_r() argument
/AliOS-Things-master/components/freetype/src/raster/
A Dftraster.c2141 old = list; in InsNew()
2142 current = *old; in InsNew()
2150 current = *old; in InsNew()
2171 old = list; in DelOld()
2172 current = *old; in DelOld()
2183 current = *old; in DelOld()
2216 old = list; in Sort()
2217 current = *old; in Sort()
2229 current = *old; in Sort()
2240 old = list; in Sort()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/scripts/
A Dmakefile.cegcc42 $(NAME): remove-old copy-src compilation copy manifest archive
46 remove-old:
/AliOS-Things-master/components/py_engine/engine/py/
A Dmodsys.c170 mp_obj_t old = MP_STATE_VM(sys_exitfunc); in mp_sys_atexit() local
172 return old; in mp_sys_atexit()
/AliOS-Things-master/components/libc_stub/
A Dnewlib_stub.c369 void *_realloc_r(struct _reent *ptr, void *old, size_t newlen) in _realloc_r() argument
374 mem = aos_realloc(old, newlen | AOS_UNSIGNED_INT_MSB); in _realloc_r()
377 mem = aos_realloc(old, newlen); in _realloc_r()
/AliOS-Things-master/components/SDL2/src/image/
A Dinstall-sh463 set X $old && old=:$2:$4:$5:$6 &&
466 test "$old" = "$new" &&
/AliOS-Things-master/components/SDL2/build-scripts/
A Dinstall-sh480 set X $old && old=:$2:$4:$5:$6 &&
484 test "$old" = "$new" &&

Completed in 30 milliseconds

123456