Home
last modified time | relevance | path

Searched refs:task (Results 1 – 25 of 38) sorted by relevance

12

/device/google/contexthub/firmware/os/core/
Dseos.c74 struct Task *osSetCurrentTask(struct Task *task) in osSetCurrentTask() argument
79 if (atomicCmpXchgPtr((uintptr_t*)&mCurrentTask, (uintptr_t)old, (uintptr_t)task)) { in osSetCurrentTask()
88 static inline bool osTaskTestFlags(struct Task *task, uint32_t mask) in osTaskTestFlags() argument
90 return (atomicReadByte(&task->flags) & mask) != 0; in osTaskTestFlags()
95 struct Task *task = osTaskFindByTid(tid); in osAppIsChre() local
97 return task && osTaskIsChre(task); in osAppIsChre()
102 struct Task *task = osTaskFindByTid(tid); in osAppChreVersion() local
104 if (task) in osAppChreVersion()
105 return osTaskChreVersion(task); in osAppChreVersion()
110 static inline uint32_t osTaskClrSetFlags(struct Task *task, uint32_t clrMask, uint32_t setMask) in osTaskClrSetFlags() argument
[all …]
Dnanohub_chre.c56 struct Task *task = osGetCurrentTask(); in osChreGetAppId() local
57 const struct AppHdr *app = task ? task->app : NULL; in osChreGetAppId()
142 struct Task *task = osGetCurrentTask(); in osChreAbort() local
143 if (task) { in osChreAbort()
144 if (task->app) { in osChreAbort()
146 task->app->hdr.appId, task->tid, abortCode); in osChreAbort()
149 task->tid, abortCode); in osChreAbort()
151 osTaskAbort(task); in osChreAbort()
501 struct Task *task = osTaskFindByTid(tid); in chreInfoByTid() local
502 if (task) { in chreInfoByTid()
[all …]
/device/google/contexthub/firmware/os/inc/
Dseos_priv.h25 #define for_each_task(listHead, task) for (task = osTaskByIdx((listHead)->next); task; task = osTas… argument
115 uint8_t osTaskIndex(struct Task *task);
117 struct Task *osSetCurrentTask(struct Task *task);
119 void osTaskAbort(struct Task *task);
120 void osTaskInvokeMessageFreeCallback(struct Task *task, void (*freeCallback)(void *, size_t), void …
121 void osTaskInvokeEventFreeCallback(struct Task *task, void (*freeCallback)(uint16_t, void *), uint1…
122 void osChreTaskHandle(struct Task *task, uint32_t evtType, const void *evtData);
124 static inline bool osTaskIsChre(const struct Task *task) in osTaskIsChre() argument
126 return task->app && (task->app->hdr.fwFlags & FL_APP_HDR_CHRE) != 0; in osTaskIsChre()
129 static inline uint32_t osTaskChreVersion(const struct Task *task) in osTaskChreVersion() argument
[all …]
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/
Dxf-component.h45 xf_task_t task; member
76 xf_sched_put(__sched, &(c)->task, xf_sched_timestamp(__sched) + (dts)); \
83 xf_sched_cancel(__sched, &(c)->task); \
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_thread.py43 thread.start_new_thread(self.task, (self.next_ident,))
47 def task(self, ident): member in ThreadRunningTests
113 def task(): function
117 thread.start_new_thread(task, ())
127 wr = weakref.ref(task, lambda _: done.append(None))
128 del task
Dtest_threaded_import.py15 def task(): function
67 thread.start_new_thread(task, ())
Dlock_tests.py33 def task(): function
43 start_new_thread(task, ())
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/ccbench/
Dccbench.py250 for task in throughput_tasks:
251 print(task.__doc__)
253 func, args = task()
381 for task in latency_tasks:
382 print("Background CPU task:", task.__doc__)
384 func, args = task()
508 for task in bandwidth_tasks:
509 print("Background CPU task:", task.__doc__)
511 func, args = task()
/device/generic/goldfish-opengl/android-emu/android/base/threads/
DAndroidWorkPool.cpp226 bool run(WorkPool::WaitGroupHandle waitGroupHandle, WaitGroup* waitGroup, WorkPool::Task task) { in run() argument
239 waitGroup, task, in run()
268 WorkPool::Task task = {}; member
305 if (msg.task) msg.task(); in doRun()
/device/sample/apps/tv/SetupCustomizationSample/
Dbuild.gradle25 task clean(type: Delete) {
/device/sample/apps/tv/SetupValidation/
Dbuild.gradle25 task clean(type: Delete) {
/device/generic/goldfish-opengl/android-emu/android/base/
DAndroidSubAllocator.cpp121 void rangeCheck(const char* task, void* ptr) { in rangeCheck() argument
126 ss << "SubAllocator " << task << ": "; in rangeCheck()
/device/generic/goldfish-opengl/system/vulkan_enc/
Dvulkan_enc_unittests.cpp37 WorkPool::Task task = [] { in TEST() local
41 std::vector<WorkPool::Task> tasks { task }; in TEST()
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtThunkDxe/
DWinNtThunkDxe.inf4 …ers to various Windows APIs used by various drivers to accomplish certain task in an NT32 emulator.
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/
Drefactor.py726 task = self.queue.get()
727 while task is not None:
728 args, kwargs = task
734 task = self.queue.get()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DebugSupportDxe/X64/
DAsmFuncs.asm191 ;; SS from interrupted task
192 ;; RSP from interrupted task
193 ;; rflags from interrupted task
194 ;; CS from interrupted task
195 ;; RIP from interrupted task
DAsmFuncs.nasm188 ;; SS from interrupted task
189 ;; RSP from interrupted task
190 ;; rflags from interrupted task
191 ;; CS from interrupted task
192 ;; RIP from interrupted task
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DebugSupportDxe/Ia32/
DAsmFuncs.S99 ## eflags from interrupted task
100 ## CS from interrupted task
101 ## EIP from interrupted task
DAsmFuncs.asm193 ;; eflags from interrupted task
194 ;; CS from interrupted task
195 ;; EIP from interrupted task
/device/google/cuttlefish_vmm/x86_64-linux-gnu/
DCargo.lock239 "futures-task",
266 "futures-task",
295 name = "futures-task"
314 "futures-task",
/device/google/cuttlefish_vmm/aarch64-linux-gnu/
DCargo.lock239 "futures-task",
266 "futures-task",
295 name = "futures-task"
314 "futures-task",
/device/mediatek/wembley-sepolicy/r_non_plat/
Dkernel.te62 # Purpose: Allow task of cpuset cgroup can migration to parent cgroup when cpus is NULL
/device/mediatek/wembley-sepolicy/non_plat/
Dkernel.te62 # Purpose: Allow task of cpuset cgroup can migration to parent cgroup when cpus is NULL
/device/google/trout/agl_services_build/yocto-layer/meta-google/recipes-trout/agl-services/
Dsources.inc6 # in the unpacking task.
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/
DSmiException.nasm476 ; Executiot starts here after a task switch
691 ; Replace the EIP of interrupted task with stub function
694 ; Jump to the iretd so next page fault handler as a task will start again after iretd.

12