/AliOS-Things-master/components/ramfs/src/ |
A D | ramfs.c | 425 if ((entry != NULL) && (entry->is_dir == 1)) { in ramfs_open() 441 file->entry = entry; in ramfs_open() 469 entry = file.entry; in ramfs_create_const() 556 if ((entry != NULL) && (entry->is_dir == 1)) { in ramfs_rename() 582 entry = file->entry; in ramfs_read() 585 if (entry->data == NULL || entry->size == 0) { in ramfs_read() 621 entry = file->entry; in ramfs_write() 657 entry = file->entry; in ramfs_seek() 694 entry = file->entry; in ramfs_trunc() 765 if ((entry != NULL) && (entry->is_dir == 1)) { in ramfs_mkdir() [all …]
|
/AliOS-Things-master/components/SDL2/src/test/ |
A D | SDL_test_memory.c | 69 for (entry = s_tracked_allocations[index]; entry; entry = entry->next) { in SDL_IsAllocationTracked() 70 if (mem == entry->mem) { in SDL_IsAllocationTracked() 85 entry = (SDL_tracked_allocation *)SDL_malloc_orig(sizeof(*entry)); in SDL_TrackAllocation() 86 if (!entry) { in SDL_TrackAllocation() 89 entry->mem = mem; in SDL_TrackAllocation() 90 entry->size = size; in SDL_TrackAllocation() 93 SDL_zeroa(entry->stack); in SDL_TrackAllocation() 133 for (entry = s_tracked_allocations[index]; entry; entry = entry->next) { in SDL_UntrackAllocation() 134 if (mem == entry->mem) { in SDL_UntrackAllocation() 143 prev = entry; in SDL_UntrackAllocation() [all …]
|
/AliOS-Things-master/components/linkkit/external/nghttp2/ |
A D | nghttp2_map.c | 58 for (entry = map->table[i]; entry;) { in nghttp2_map_each_free() 61 entry = next; in nghttp2_map_each_free() 75 for (entry = map->table[i]; entry; entry = entry->next) { in nghttp2_map_each() 87 entry->key = key; in nghttp2_map_entry_init() 88 entry->next = NULL; in nghttp2_map_entry_init() 106 table[h] = entry; in insert() 116 table[h] = entry; in insert() 135 for (entry = map->table[i]; entry;) { in resize() 140 entry = next; in resize() 173 for (entry = map->table[h]; entry; entry = entry->next) { in nghttp2_map_find() [all …]
|
A D | nghttp2_map.h | 81 int (*func)(nghttp2_map_entry *entry, void *ptr), 88 void nghttp2_map_entry_init(nghttp2_map_entry *entry, key_type key); 101 int nghttp2_map_insert(nghttp2_map *map, nghttp2_map_entry *entry); 141 int (*func)(nghttp2_map_entry *entry, void *ptr),
|
/AliOS-Things-master/components/SDL2/src/ |
A D | SDL_hints.c | 53 SDL_HintWatch *entry; in SDL_SetHintWithPriority() local 70 for (entry = hint->callbacks; entry; ) { in SDL_SetHintWithPriority() 73 entry->callback(entry->userdata, name, hint->value, value); in SDL_SetHintWithPriority() 145 SDL_HintWatch *entry; in SDL_AddHintCallback() local 159 entry = (SDL_HintWatch *)SDL_malloc(sizeof(*entry)); in SDL_AddHintCallback() 160 if (!entry) { in SDL_AddHintCallback() 206 for (entry = hint->callbacks; entry; entry = entry->next) { in SDL_DelHintCallback() 207 if (callback == entry->callback && userdata == entry->userdata) { in SDL_DelHintCallback() 226 SDL_HintWatch *entry; in SDL_ClearHints() local 234 for (entry = hint->callbacks; entry; ) { in SDL_ClearHints() [all …]
|
A D | SDL_log.c | 99 SDL_LogLevel *entry; in SDL_LogSetAllPriority() local 101 for (entry = SDL_loglevels; entry; entry = entry->next) { in SDL_LogSetAllPriority() 112 SDL_LogLevel *entry; in SDL_LogSetPriority() local 114 for (entry = SDL_loglevels; entry; entry = entry->next) { in SDL_LogSetPriority() 122 entry = (SDL_LogLevel *)SDL_malloc(sizeof(*entry)); in SDL_LogSetPriority() 123 if (entry) { in SDL_LogSetPriority() 127 SDL_loglevels = entry; in SDL_LogSetPriority() 134 SDL_LogLevel *entry; in SDL_LogGetPriority() local 136 for (entry = SDL_loglevels; entry; entry = entry->next) { in SDL_LogGetPriority() 156 SDL_LogLevel *entry; in SDL_LogResetPriorities() local [all …]
|
/AliOS-Things-master/components/lwip/lwip2.0.0/core/ |
A D | dns.c | 491 while (entry != NULL) { in dns_lookup_local() 499 entry = entry->next; in dns_lookup_local() 543 entry = entry->next; in dns_local_removehost() 548 entry = entry->next; in dns_local_removehost() 573 if (entry == NULL) { in dns_local_addhost() 758 (u16_t)(entry->server_idx), entry->name)); in dns_send() 829 entry->txid, entry->name)); in dns_send() 833 entry->txid, entry->name, entry->server_idx)); in dns_send() 1062 entry->tmr = 1 << entry->retries; in dns_check_entry() 1101 if ((entry->ttl == 0) || (--entry->ttl == 0)) { in dns_check_entry() [all …]
|
/AliOS-Things-master/components/freetype/src/base/ |
A D | ftsnames.c | 61 if ( entry->stringLength > 0 && entry->string == NULL ) in FT_Get_Sfnt_Name() 67 if ( FT_NEW_ARRAY ( entry->string, entry->stringLength ) || in FT_Get_Sfnt_Name() 69 FT_STREAM_READ( entry->string, entry->stringLength ) ) in FT_Get_Sfnt_Name() 71 FT_FREE( entry->string ); in FT_Get_Sfnt_Name() 72 entry->stringLength = 0; in FT_Get_Sfnt_Name() 76 aname->platform_id = entry->platformID; in FT_Get_Sfnt_Name() 77 aname->encoding_id = entry->encodingID; in FT_Get_Sfnt_Name() 78 aname->language_id = entry->languageID; in FT_Get_Sfnt_Name() 79 aname->name_id = entry->nameID; in FT_Get_Sfnt_Name() 80 aname->string = (FT_Byte*)entry->string; in FT_Get_Sfnt_Name() [all …]
|
/AliOS-Things-master/components/SDL2/src/joystick/ |
A D | sort_controllers.py | 42 entry.extend(",".join(bindings) + ",") 43 entry.append(match.group(5)) 44 controllers.append(entry) 47 conditionals.append(entry[1]) 53 for entry in controllers: 54 if (entry[1] in controller_guids and entry[1] not in conditionals): 55 current_name = entry[2] 60 entry[2] = "(DUPE) " + current_name 65 controller_guids[entry[1]] = entry 67 for entry in sorted(controllers, key=lambda entry: entry[2]+"-"+entry[1]): [all …]
|
/AliOS-Things-master/components/SDL2/src/timer/ |
A D | SDL_timer.c | 243 SDL_TimerMap *entry; in SDL_TimerQuit() local 270 SDL_free(entry); in SDL_TimerQuit() 283 SDL_TimerMap *entry; in SDL_AddTimer() local 315 entry = (SDL_TimerMap *)SDL_malloc(sizeof(*entry)); in SDL_AddTimer() 316 if (!entry) { in SDL_AddTimer() 321 entry->timer = timer; in SDL_AddTimer() 326 data->timermap = entry; in SDL_AddTimer() 338 return entry->timerID; in SDL_AddTimer() 351 for (entry = data->timermap; entry; prev = entry, entry = entry->next) { in SDL_RemoveTimer() 363 if (entry) { in SDL_RemoveTimer() [all …]
|
/AliOS-Things-master/components/SDL2/src/thread/ |
A D | SDL_thread.c | 127 SDL_TLSEntry *entry; in SDL_Generic_GetTLSData() local 149 for (entry = SDL_generic_TLS; entry; entry = entry->next) { in SDL_Generic_GetTLSData() 166 SDL_TLSEntry *prev, *entry; in SDL_Generic_SetTLSData() local 171 for (entry = SDL_generic_TLS; entry; entry = entry->next) { in SDL_Generic_SetTLSData() 181 SDL_free(entry); in SDL_Generic_SetTLSData() 185 prev = entry; in SDL_Generic_SetTLSData() 187 if (!entry) { in SDL_Generic_SetTLSData() 188 entry = (SDL_TLSEntry *)SDL_malloc(sizeof(*entry)); in SDL_Generic_SetTLSData() 189 if (entry) { in SDL_Generic_SetTLSData() 190 entry->thread = thread; in SDL_Generic_SetTLSData() [all …]
|
/AliOS-Things-master/components/py_engine/engine/lib/littlefs/ |
A D | lfs1.c | 405 return 4 + entry->d.elen + entry->d.alen + entry->d.nlen; in lfs1_entry_size() 662 {entry->off, sizeof(entry->d), &entry->d, sizeof(entry->d)}, in lfs1_dir_update() 663 {entry->off+sizeof(entry->d), entry->d.nlen, data, entry->d.nlen} in lfs1_dir_update() 678 {entry->off, 0, &entry->d, sizeof(entry->d)}, in lfs1_dir_append() 698 {entry->off, 0, &entry->d, sizeof(entry->d)}, in lfs1_dir_append() 786 &entry->d, sizeof(entry->d)); in lfs1_dir_next() 803 entry->d.elen = sizeof(entry->d) - 4; in lfs1_dir_find() 878 entry->off + 4+entry->d.elen+entry->d.alen, in lfs1_dir_find() 941 entry.d.elen = sizeof(entry.d) - 4; in lfs1_mkdir() 1053 entry.off + 4+entry.d.elen+entry.d.alen, in lfs1_dir_read() [all …]
|
/AliOS-Things-master/components/SDL2/src/events/ |
A D | SDL_events.c | 366 for (entry = SDL_EventQ.head; entry; ) { in SDL_StopEventLoop() 369 entry = next; in SDL_StopEventLoop() 371 for (entry = SDL_EventQ.free; entry; ) { in SDL_StopEventLoop() 374 entry = next; in SDL_StopEventLoop() 475 entry = (SDL_EventEntry *)SDL_malloc(sizeof(*entry)); in SDL_AddEvent() 491 entry->event.syswm.msg = &entry->msg; in SDL_AddEvent() 520 entry->prev->next = entry->next; in SDL_CutEvent() 523 entry->next->prev = entry->prev; in SDL_CutEvent() 580 for (entry = SDL_EventQ.head; entry && (!events || used < numevents); entry = next) { in SDL_PeepEvents() 662 for (entry = SDL_EventQ.head; entry; entry = next) { in SDL_FlushEvents() [all …]
|
/AliOS-Things-master/components/freetype/src/sfnt/ |
A D | ttload.c | 59 TT_Table entry; in tt_face_lookup_table() local 73 entry = face->dir_tables; in tt_face_lookup_table() 76 for ( ; entry < limit; entry++ ) in tt_face_lookup_table() 80 if ( entry->Tag == tag ) in tt_face_lookup_table() 85 return entry; in tt_face_lookup_table() 322 TT_TableRec* entry; in tt_face_load_font_dir() local 384 entry = face->dir_tables; in tt_face_load_font_dir() 398 if ( entry->Offset + entry->Length > stream->size ) in tt_face_load_font_dir() 410 entry++; in tt_face_load_font_dir() 831 entry->stringOffset + entry->stringLength > storage_limit ) in tt_face_load_name() [all …]
|
/AliOS-Things-master/components/linkkit/infra/ |
A D | infra_json_parser.c | 401 if (NULL == entry) { in _LITE_json_keys_of() 412 entry->key = in _LITE_json_keys_of() 442 json_key_t *entry = NULL; in _LITE_json_keys_of() local 445 if (NULL == entry) { in _LITE_json_keys_of() 531 entry->key = in _LITE_json_keys_of_ext() 603 entry->key = in _LITE_json_keys_of_ext() 652 json_key_t *entry = NULL; in _LITE_json_keys_of_ext() local 655 if (NULL == entry) { in _LITE_json_keys_of_ext() 724 char *entry = NULL; in _json_value_by_arrname() local 767 src = entry; in _json_value_by_arrname() [all …]
|
/AliOS-Things-master/components/SDL2/src/render/opengles2/ |
A D | SDL_render_gles2.c | 402 entry->next->prev = entry->prev; in GLES2_EvictShader() 405 entry->prev->next = entry->next; in GLES2_EvictShader() 431 entry = entry->next; in GLES2_CacheProgram() 433 if (entry) { in GLES2_CacheProgram() 436 entry->next->prev = entry->prev; in GLES2_CacheProgram() 439 entry->prev->next = entry->next; in GLES2_CacheProgram() 451 if (!entry) { in GLES2_CacheProgram() 538 return entry; in GLES2_CacheProgram() 580 entry = entry->next; in GLES2_CacheShader() 582 if (entry) { in GLES2_CacheShader() [all …]
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | ssl_cache.c | 65 mbedtls_ssl_cache_entry *cur, *entry; in mbedtls_ssl_cache_get() local 73 entry = NULL; in mbedtls_ssl_cache_get() 77 entry = cur; in mbedtls_ssl_cache_get() 82 (int) ( t - entry->timestamp ) > cache->timeout ) in mbedtls_ssl_cache_get() 88 session->id_len != entry->session.id_len ) in mbedtls_ssl_cache_get() 91 if( memcmp( session->id, entry->session.id, in mbedtls_ssl_cache_get() 92 entry->session.id_len ) != 0 ) in mbedtls_ssl_cache_get() 95 memcpy( session->master, entry->session.master, 48 ); in mbedtls_ssl_cache_get() 97 session->verify_result = entry->session.verify_result; in mbedtls_ssl_cache_get() 103 if( entry->peer_cert.p != NULL ) in mbedtls_ssl_cache_get() [all …]
|
A D | x509_crl.c | 236 mbedtls_x509_crl_entry *entry ) in x509_get_entries() argument 240 mbedtls_x509_crl_entry *cur_entry = entry; in x509_get_entries() 636 const mbedtls_x509_crl_entry *entry; in mbedtls_x509_crl_info() local 664 entry = &crl->entry; in mbedtls_x509_crl_info() 670 while( entry != NULL && entry->raw.len != 0 ) in mbedtls_x509_crl_info() 676 ret = mbedtls_x509_serial_gets( p, n, &entry->serial ); in mbedtls_x509_crl_info() 681 entry->revocation_date.year, entry->revocation_date.mon, in mbedtls_x509_crl_info() 682 entry->revocation_date.day, entry->revocation_date.hour, in mbedtls_x509_crl_info() 683 entry->revocation_date.min, entry->revocation_date.sec ); in mbedtls_x509_crl_info() 686 entry = entry->next; in mbedtls_x509_crl_info() [all …]
|
/AliOS-Things-master/components/linksdk/core/utils/ |
A D | core_list.h | 106 static inline void __core_list_del_entry(struct core_list_head *entry) in __core_list_del_entry() argument 108 __core_list_del(entry->prev, entry->next); in __core_list_del_entry() 111 static inline void core_list_del(struct core_list_head *entry) in core_list_del() argument 113 __core_list_del_entry(entry); in core_list_del() 114 entry->next = entry; in core_list_del() 115 entry->prev = entry; in core_list_del()
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/platform/ |
A D | dlist.h | 115 static inline void list_del(struct list_head *entry) in list_del() argument 117 __list_del(entry->prev, entry->next); in list_del() 118 entry->next = (struct list_head *) 0; in list_del() 119 entry->prev = (struct list_head *) 0; in list_del() 126 static inline void list_del_init(struct list_head *entry) in list_del_init() argument 128 __list_del(entry->prev, entry->next); in list_del_init() 129 INIT_LIST_HEAD(entry); in list_del_init()
|
/AliOS-Things-master/components/cplusplus/ |
A D | thread.cpp | 26 task_entry_t entry, in create() argument 35 entry, in create() 44 task_entry_t entry, in thread() argument 48 ticks, (stack_size/4), entry, autorun); in thread() 76 task_entry_t entry, in create_smp() argument 86 entry, in create_smp()
|
/AliOS-Things-master/components/amp_adapter/platform/aos/ |
A D | aos_fs.c | 28 aos_dirent_t *entry = NULL; in aos_rmdir_r() local 58 while ((ret == 0) && (entry = aos_readdir(pdir))) { in aos_rmdir_r() 61 snprintf(fpath, 128, "%s/%s", dir, entry->d_name); in aos_rmdir_r() 69 if (!strcmp(entry->d_name, ".")) in aos_rmdir_r() 71 if (!strcmp(entry->d_name, "..")) in aos_rmdir_r()
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testatomic.c | 316 SDL_EventQueueEntry *entry; in EnqueueEvent_LockFree() local 340 entry->event = *event; in EnqueueEvent_LockFree() 363 SDL_EventQueueEntry *entry; in DequeueEvent_LockFree() local 387 *event = entry->event; in DequeueEvent_LockFree() 410 SDL_EventQueueEntry *entry; in EnqueueEvent_Mutex() local 419 entry = &queue->entries[queue_pos & WRAP_MASK]; in EnqueueEvent_Mutex() 420 entry_seq = (unsigned)entry->sequence.value; in EnqueueEvent_Mutex() 427 entry->event = *event; in EnqueueEvent_Mutex() 443 SDL_EventQueueEntry *entry; in DequeueEvent_Mutex() local 453 entry_seq = (unsigned)entry->sequence.value; in DequeueEvent_Mutex() [all …]
|
/AliOS-Things-master/components/cli/src/iobox/ |
A D | rm.c | 24 struct dirent *entry = NULL; in rrmdir() local 50 while ((ret == 0) && (entry = readdir(pdir))) { in rrmdir() 53 snprintf(fpath, 128, "%s/%s", dir, entry->d_name); in rrmdir() 61 if (!strcmp(entry->d_name, ".")) in rrmdir() 63 if (!strcmp(entry->d_name, "..")) in rrmdir()
|
/AliOS-Things-master/kernel/rhino/include/ |
A D | k_task.h | 190 size_t stack_size, task_entry_t entry, uint8_t autorun); 194 task_entry_t entry, uint8_t autorun); 215 size_t stack_size, task_entry_t entry, uint8_t cpu_num, 220 task_entry_t entry, uint8_t cpu_num, uint8_t autorun); 260 task_entry_t entry, uint8_t autorun); 263 uint8_t pri, size_t stack, task_entry_t entry, 284 task_entry_t entry, uint8_t cpu_num, uint8_t autorun); 287 uint8_t pri, size_t stack, task_entry_t entry,
|