| /TwlSDK-5.1.0/build/libraries/os/common/src/ |
| D | os_alarm.c | 205 OSAlarm *next; in OSi_InsertAlarm() local 223 for (next = OSi_AlarmQueue.head; next; next = next->next) in OSi_InsertAlarm() 226 if ((s64)(fire - next->fire) >= 0) in OSi_InsertAlarm() 232 alarm->prev = next->prev; in OSi_InsertAlarm() 233 next->prev = alarm; in OSi_InsertAlarm() 234 alarm->next = next; in OSi_InsertAlarm() 238 prev->next = alarm; in OSi_InsertAlarm() 250 alarm->next = 0; in OSi_InsertAlarm() 256 prev->next = alarm; in OSi_InsertAlarm() 367 OSAlarm *next; in OS_CancelAlarm() local [all …]
|
| D | os_valarm.c | 161 OSVAlarm *next; in OSi_InsertVAlarm() local 164 for (next = OSi_VAlarmQueue.head; next; next = next->next) in OSi_InsertVAlarm() 167 if ((next->frame < alarm->frame) || in OSi_InsertVAlarm() 168 (next->frame == alarm->frame) && (next->fire <= alarm->fire)) in OSi_InsertVAlarm() 173 prev = next->prev; in OSi_InsertVAlarm() 178 alarm->next = next; in OSi_InsertVAlarm() 181 next->prev = alarm; in OSi_InsertVAlarm() 186 prev->next = alarm; in OSi_InsertVAlarm() 217 alarm->next = NULL; in OSi_AppendVAlarm() 225 prev->next = alarm; in OSi_AppendVAlarm() [all …]
|
| D | os_mutex.c | 570 prev->next = mutex; in OSi_EnqueueTail() 574 mutex->next = NULL; in OSi_EnqueueTail() 587 prev->link.next = mutex; in OSi_EnqueueTail() 591 mutex->link.next = NULL; in OSi_EnqueueTail() 610 OSMutex *next = mutex->next; in OSi_DequeueItem() local 615 if (!next) in OSi_DequeueItem() 621 next->prev = prev; in OSi_DequeueItem() 626 thread->mutexQueueHead = next; in OSi_DequeueItem() 630 prev->next = next; in OSi_DequeueItem() 633 OSMutex *next = mutex->link.next; in OSi_DequeueItem() [all …]
|
| D | os_thread.c | 159 OSThread *next = queue->head; in OSi_InsertLinkToQueue() local 161 while (next && next->priority <= thread->priority) in OSi_InsertLinkToQueue() 163 if (next == thread) in OSi_InsertLinkToQueue() 167 next = next->link.next; in OSi_InsertLinkToQueue() 170 if (!next) in OSi_InsertLinkToQueue() 180 prev->link.next = thread; in OSi_InsertLinkToQueue() 184 thread->link.next = NULL; in OSi_InsertLinkToQueue() 189 OSThread *prev = next->link.prev; in OSi_InsertLinkToQueue() 197 prev->link.next = thread; in OSi_InsertLinkToQueue() 201 thread->link.next = next; in OSi_InsertLinkToQueue() [all …]
|
| D | os_alloc.c | 109 Cell *next; member 172 cell->next = list; in DLAddFront() 193 for (; list; list = list->next) in DLLookup() 217 if (cell->next) in DLExtract() 219 cell->next->prev = cell->prev; in DLExtract() 224 return cell->next; in DLExtract() 228 cell->prev->next = cell->next; in DLExtract() 248 Cell *next; in DLInsert() local 250 for (next = list, prev = NULL; next; prev = next, next = next->next) in DLInsert() 252 if (cell <= next) in DLInsert() [all …]
|
| /TwlSDK-5.1.0/build/demos/wbt/wbt-1/src/ |
| D | text.c | 35 if (m->next != NULL) in link_line_buf() 37 s->next = m->next; in link_line_buf() 38 (s->next)->prev = s; in link_line_buf() 41 s->next = NULL; in link_line_buf() 43 m->next = s; in link_line_buf() 49 if ((s->prev != NULL) && (s->next != NULL)) in unlink_line_buf() 51 (s->prev)->next = s->next; in unlink_line_buf() 52 (s->next)->prev = s->prev; in unlink_line_buf() 53 s->next = NULL; in unlink_line_buf() 56 else if (s->next != NULL) in unlink_line_buf() [all …]
|
| /TwlSDK-5.1.0/build/libraries/mb/common/src/ |
| D | mb_task.c | 56 p->list = p->list->next; in MBi_TaskThread() 84 trg->next = NULL; in MBi_TaskThread() 265 while (pos->next) in MBi_SetTask() 266 pos = pos->next; in MBi_SetTask() 267 pos->next = pt; in MBi_SetTask() 277 pt->next = pos; in MBi_SetTask() 281 while (pos->next && (pos->next->priority <= priority)) in MBi_SetTask() 282 pos = pos->next; in MBi_SetTask() 283 pt->next = pos->next; in MBi_SetTask() 284 pos->next = pt; in MBi_SetTask()
|
| /TwlSDK-5.1.0/build/libraries/mi/common/src/ |
| D | mi_cache.c | 65 inf->next = cache->invalid; in MI_InitCache() 91 for (load = &cache->loading; *load; load = &(*load)->next) in WFSi_TouchCachePages() 107 for (valid = &cache->valid; *valid; valid = &(*valid)->next) in WFSi_TouchCachePages() 112 for (pp = &cache->invalid; *pp; pp = &(*pp)->next) in WFSi_TouchCachePages() 129 cache->invalid = p->next; in WFSi_TouchCachePages() 131 p->next = NULL; in WFSi_TouchCachePages() 133 load = &p->next; in WFSi_TouchCachePages() 188 for (pp = &cache->valid; *pp && bitset; pp = &(*pp)->next) in MI_ReadCache() 195 *pp = (*pp)->next; in MI_ReadCache() 196 p->next = cache->valid; in MI_ReadCache() [all …]
|
| /TwlSDK-5.1.0/build/tools/stripdebug/ |
| D | loader_subset.c | 127 CurrentSymEx = CurrentSymEx->next; in ELi_CopySymToBuffer() 344 CurrentSymEx->next = malloc( sizeof(ELSymEx)); in ELi_BuildSymList() 345 CurrentSymEx = (ELSymEx*)(CurrentSymEx->next); in ELi_BuildSymList() 367 CurrentSymEx->next = NULL; in ELi_BuildSymList() 368 elElfDesc->SymEx = DmySymEx.next; in ELi_BuildSymList() 393 while( CurrentSymEx->next != NULL) { in ELi_FreeSymList() 395 CurrentSymEx = CurrentSymEx->next; in ELi_FreeSymList() 421 SymEx = (ELSymEx*)(SymEx->next); in ELi_GetSymExfromList() 439 ShdrEx = (ELShdrEx*)(ShdrEx->next); in ELi_GetShdrExfromList() 520 CurrentSymEx = CurrentSymEx->next; in ELi_CodeIsThumb() [all …]
|
| D | elf_loader.c | 325 CurrentShdrEx->next = (void*)(malloc( sizeof(ELShdrEx))); in ELi_LoadObject() 326 CurrentShdrEx = (ELShdrEx*)(CurrentShdrEx->next); in ELi_LoadObject() 367 CurrentShdrEx->next = (void*)(malloc( sizeof(ELShdrEx))); in ELi_LoadObject() 368 CurrentShdrEx = (ELShdrEx*)(CurrentShdrEx->next); in ELi_LoadObject() 391 CurrentShdrEx->next = NULL; in ELi_LoadObject() 392 ElfHandle->ShdrEx = DmyShdrEx.next; in ELi_LoadObject() 527 CurrentSymEx = CurrentSymEx->next; in ELi_LoadObject() 777 CurrentShdrEx = CurrentShdrEx->next; in ELi_LoadObject() 882 …UnrEnt = (ELUnresolvedEntry*)(UnrEnt->next); /*To next unresolved entry… in EL_ResolveAllLibrary() 917 DmyAdrEnt.next = ELAdrEntStart; in EL_RemoveAdrEntry() [all …]
|
| D | elf_loader.h | 39 void* next; member 57 void* next; member 103 void* next; /*Next address entry*/ member 119 void* next; /*Next entry*/ member
|
| /TwlSDK-5.1.0/build/tools/makelst/ |
| D | loader_subset.c | 242 CurrentSymEx->next = (void*)(malloc( sizeof(ELSymEx))); in ELi_RelocateSym() 243 CurrentSymEx = (ELSymEx*)(CurrentSymEx->next); in ELi_RelocateSym() 258 CurrentSymEx->next = NULL; in ELi_RelocateSym() 259 ElfHandle->SymEx = DmySymEx.next; in ELi_RelocateSym() 271 CurrentSymEx = CurrentSymEx->next; in ELi_RelocateSym() 367 ExportAdrEntry->next = NULL; in ELi_RelocateSym() 398 while( CurrentSymEx->next != NULL) { in ELi_RelocateSym() 400 CurrentSymEx = CurrentSymEx->next; in ELi_RelocateSym() 441 CurrentSymEx->next = (void*)(malloc( sizeof(ELSymEx))); in ELi_DiscriminateGlobalSym() 442 CurrentSymEx = (ELSymEx*)(CurrentSymEx->next); in ELi_DiscriminateGlobalSym() [all …]
|
| D | elf_loader.c | 250 CurrentShdrEx->next = (void*)(malloc( sizeof(ELShdrEx))); in ELi_LoadObject() 251 CurrentShdrEx = (ELShdrEx*)(CurrentShdrEx->next); in ELi_LoadObject() 263 CurrentShdrEx->next = NULL; in ELi_LoadObject() 264 ElfHandle->ShdrEx = DmyShdrEx.next; in ELi_LoadObject() 419 while( CurrentShdrEx->next != NULL) { in ELi_LoadObject() 421 CurrentShdrEx = CurrentShdrEx->next; in ELi_LoadObject() 503 …UnrEnt = (ELUnresolvedEntry*)(UnrEnt->next); /*To next unresolved entry… in EL_ResolveAllLibrary() 561 …UnrEnt = (ELUnresolvedEntry*)(UnrEnt->next); /*To next unresolved entry… in EL_ExtractStaticSym1() 611 …UnrEnt = (ELUnresolvedEntry*)(UnrEnt->next); /*To next unresolved entry… in EL_ExtractStaticSym1() 642 …UnrEnt = (ELUnresolvedEntry*)(UnrEnt->next); /*To next unresolved entry… in EL_ExtractStaticSym2() [all …]
|
| D | elf_loader.h | 29 void* next; member 43 void* next; member 86 void* next; /*Next address entry*/ member 102 void* next; /*Next entry*/ member
|
| /TwlSDK-5.1.0/build/libraries/card/common/src/ |
| D | card_hook.c | 48 hook->next = CARDiHookChain; in CARDi_RegisterHook() 66 for (pp = &CARDiHookChain; *pp; pp = &(*pp)->next) in CARDi_UnregisterHook() 70 *pp = (*pp)->next; in CARDi_UnregisterHook() 101 pp = &(*pp)->next; in CARDi_NotifyEvent()
|
| D | card_hash.c | 235 context->loading_sector = sector->next; in CARD_NotifyRomHashReadAsync() 236 sector->next = context->loaded_sector; in CARD_NotifyRomHashReadAsync() 242 context->loading_block = block->next; in CARD_NotifyRomHashReadAsync() 243 block->next = context->loaded_block; in CARD_NotifyRomHashReadAsync() 273 for (;; pp = &(*pp)->next) in CARDi_TouchRomHashBlock() 279 *pp = block->next; in CARDi_TouchRomHashBlock() 280 block->next = context->valid_block; in CARDi_TouchRomHashBlock() 285 else if (block->next == NULL) in CARDi_TouchRomHashBlock() 292 for (pp = &context->loaded_block; *pp; pp = &(*pp)->next) in CARDi_TouchRomHashBlock() 303 for (pp = &context->loading_block; *pp; pp = &(*pp)->next) in CARDi_TouchRomHashBlock() [all …]
|
| /TwlSDK-5.1.0/build/libraries/snd/common/src/ |
| D | snd_bank.c | 72 SNDWaveArcLink *next; in SND_AssignWaveArc() local 99 bank->waveArcLink[index].waveArc->topLink = bank->waveArcLink[index].next; in SND_AssignWaveArc() 110 if (&bank->waveArcLink[index] == prev->next) in SND_AssignWaveArc() 112 prev = prev->next; in SND_AssignWaveArc() 115 prev->next = bank->waveArcLink[index].next; in SND_AssignWaveArc() 123 next = waveArc->topLink; in SND_AssignWaveArc() 125 bank->waveArcLink[index].next = next; in SND_AssignWaveArc() 166 waveArc->topLink = bank->waveArcLink[i].next; in SND_DestroyBank() 177 if (&bank->waveArcLink[i] == prev->next) in SND_DestroyBank() 179 prev = prev->next; in SND_DestroyBank() [all …]
|
| /TwlSDK-5.1.0/build/libraries/el/common/src/ |
| D | elf_loader.c | 642 CurrentShdrEx->next = ELi_Malloc( elElfDesc, MYObject, sizeof(ELShdrEx)); in elLoadSections() 643 if(CurrentShdrEx->next == NULL) { in elLoadSections() 646 CurrentShdrEx = (ELShdrEx*)(CurrentShdrEx->next); in elLoadSections() 658 CurrentShdrEx->next = NULL; in elLoadSections() 659 elElfDesc->ShdrEx = DmyShdrEx.next; in elLoadSections() 824 CurrentShdrEx = CurrentShdrEx->next; in elLoadSections() 858 if( (ObjEnt == NULL)||((ObjEnt == elElfDesc->ELStaticObj)&&(ObjEnt->next == NULL))) { in ELi_ResolveAllLibrary() 865 NextEnt = UnrEnt->next; in ELi_ResolveAllLibrary() 900 ObjEnt = ObjEnt->next; in ELi_ResolveAllLibrary() 965 NextEnt = ResEnt->next; in ELi_Unlink() [all …]
|
| D | loader_subset.c | 636 ExportAdrEntry->next = NULL; in ELi_GoPublicGlobalSym() 655 CurrentSymEx = CurrentSymEx->next; in ELi_GoPublicGlobalSym() 715 CurrentSymEx->next = ELi_Malloc( elElfDesc, NULL, sizeof(ELSymEx)); in ELi_BuildSymList() 716 if(CurrentSymEx->next == NULL) in ELi_BuildSymList() 718 CurrentSymEx = (ELSymEx*)(CurrentSymEx->next); in ELi_BuildSymList() 728 CurrentSymEx->next = NULL; in ELi_BuildSymList() 729 elElfDesc->SymEx = DmySymEx.next; in ELi_BuildSymList() 745 CurrentSymEx = CurrentSymEx->next; in ELi_BuildSymList() 775 CurrentSymEx = CurrentSymEx->next; in ELi_FreeSymList() 993 SymEx = (ELSymEx*)(SymEx->next); [all …]
|
| /TwlSDK-5.1.0/build/libraries/env/common/src/ |
| D | env_system.c | 121 p = p->next; in ENV_AppendResourceSet() 125 blank->next = NULL; in ENV_AppendResourceSet() 130 lastp->next = blank; in ENV_AppendResourceSet() 176 blank->next = sResourceSetLinkHead; in ENV_InsertResourceSet() 192 p = p->next; in ENV_InsertResourceSet() 201 blank->next = p->next; in ENV_InsertResourceSet() 202 p->next = blank; in ENV_InsertResourceSet() 250 return link->next; in ENV_GetNextResourceSet() 438 link = link->next; in ENVi_SearchByMemberName() 505 link = link->next; in ENVi_SearchByFullName() [all …]
|
| /TwlSDK-5.1.0/build/libraries/fs/common/src/ |
| D | fs_archive.c | 105 for (; *pp; pp = &(*pp)->next) in FSi_EndCommand() 109 *pp = file->next; in FSi_EndCommand() 113 file->next = NULL; in FSi_EndCommand() 349 FSFile *next = NULL; in FSi_NextCommand() local 359 FSFile *q = p->next; in FSi_NextCommand() 394 next = arc->list; in FSi_NextCommand() 395 next->stat |= FS_FILE_STATUS_OPERATING; in FSi_NextCommand() 398 if (owner && ((next->stat & FS_FILE_STATUS_BLOCKING) != 0)) in FSi_NextCommand() 400 OS_WakeupThread(next->queue); in FSi_NextCommand() 401 next = NULL; in FSi_NextCommand() [all …]
|
| D | fs_hook.c | 96 pp = &(*pp)->next; in FSi_SystemEvents() 129 hook->next = context->chain; in FS_RegisterEventHook() 149 for (pp = &context->chain; *pp; pp = &(*pp)->next) in FS_UnregisterEventHook() 153 *pp = (*pp)->next; in FS_UnregisterEventHook()
|
| /TwlSDK-5.1.0/build/demos/wm/dataShare-Model/src/ |
| D | menu.c | 45 for (; (w != NULL) && (w->next != NULL); w = w->next) in initWindow() 50 n = win->next; in initWindow() 52 win->next = n; in initWindow() 58 w->next = win; in initWindow() 295 for (w = sWindowRoot; w != NULL; w = w->next) in drawAllWindow() 304 for (w = sWindowRoot; w != NULL; w = w->next) in updateAllWindow() 313 for (w = sWindowRoot; w != NULL; w = w->next) in closeAllWindow()
|
| /TwlSDK-5.1.0/build/demos/wm/wep-1/src/ |
| D | menu.c | 45 for (; (w != NULL) && (w->next != NULL); w = w->next) in initWindow() 50 n = win->next; in initWindow() 52 win->next = n; in initWindow() 58 w->next = win; in initWindow() 263 for (w = sWindowRoot; w != NULL; w = w->next) in drawAllWindow() 272 for (w = sWindowRoot; w != NULL; w = w->next) in updateAllWindow() 281 for (w = sWindowRoot; w != NULL; w = w->next) in closeAllWindow()
|
| /TwlSDK-5.1.0/build/libraries/el/common/include/ |
| D | elf_loader.h | 43 void* next; member 57 void* next; member 69 void* next; member 83 void* next; /*Next entry*/ member 109 void* next; /* Next object entry */ member
|