| /third_party/pulseaudio/src/pulse/ |
| H A D | mainloop.h | 31 /** \page mainloop Main Loop 35 * The built-in main loop implementation is based on the poll() system call. 36 * It supports the functions defined in the main loop abstraction and very 39 * The main loop is created using pa_mainloop_new() and destroyed using 40 * pa_mainloop_free(). To get access to the main loop abstraction, 45 * The main loop is designed around the concept of iterations. Each iteration 54 * When using the main loop, the application can either execute each 60 * The main loop functions are designed to be thread safe, but the objects 61 * are not. What this means is that multiple main loops can be used, but only 68 * A minimal main loo [all...] |
| H A D | thread-mainloop.h | 30 /** \page threaded_mainloop Threaded Main Loop 34 * The threaded main loop implementation is a special version of the primary 35 * main loop implementation (see \ref mainloop). For the basic design, see 38 * The added feature in the threaded main loop is that it spawns a new thread 39 * that runs the real main loop. This allows a synchronous application to use 47 * pa_threaded_mainloop_start(), after which you can start using the main loop. 60 * a locking scheme must be used to guarantee safe usage. The threaded main 69 * uses an object associated with this main loop. Those objects include 72 * hold on to the lock more than necessary though, as the threaded main loop 97 * using them together with a threaded main loo [all...] |
| /base/security/huks/frameworks/huks_standard/main/crypto_engine/rkc/include/ |
| H A D | hks_rkc_rw.h | 22 #define HKS_MK_VER 2 /* the version of main key */ 23 #define HKS_RKC_RMK_ITER 1 /* the iterator number of times which derive Root Main Key */ 24 #define HKS_RKC_RMK_HMAC_SHA256 1 /* the hash algorithm which derive Root Main Key */ 25 #define HKS_RKC_MK_CRYPT_ALG_AES256_GCM 1 /* the encrypt algorithm of main key */ 31 #define HKS_RKC_MK_IV_LEN 16 /* the tag length of main key */ 32 #define HKS_RKC_MK_CIPHER_TEXT_LEN 48 /* the cipher length of main key */ 33 #define HKS_RKC_MK_LEN 32 /* the length of main key */ 74 uint32_t rmkIter; /* the iterator number of times which derive root main key */ 75 uint8_t rmkSalt[HKS_RKC_SALT_LEN]; /* the salt which derive root main key */ 76 uint32_t rmkHashAlg; /* the hash algorithm which derive root main ke [all...] |
| /third_party/elfutils/libdwfl/ |
| H A D | dwfl_module_getdwarf.c | 103 data) now differs between the main and debug files. The in open_elf() 124 address when there is a separate debug file and a prelinked main in open_elf() 148 the main ELF file. (It might be changed for the kernel, because in open_elf() 150 the main ELF file, because both find_dw and find_symtab call in open_elf() 151 __libdwfl_getelf first to open the main file. So don't let debug in open_elf() 153 below could otherwise trigger for non-kernel/non-main files, since in open_elf() 155 if (file == &mod->main) in open_elf() 164 assert (mod->main.elf != NULL); in open_elf() 177 mod->main.elf), 2)) in mod_verify_build_id() 197 elf_end (mod->main in mod_verify_build_id() [all...] |
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_unlock/ |
| H A D | 1-1.c | 15 * 2. Main thread lock 'spinlock' with pthread_spin_lock(), should get the lock 16 * 3. Main thread unlock 'spinlock' 20 * 6. Main thread lock 'spinlock', using pthread_spin_trylock(), should get 22 * 7. Main thread unlock 'spinlock' 66 int main(void) in main() function 73 printf("main: Error at pthread_spin_init()\n"); in main() 77 printf("main: attempt spin lock\n"); in main() 82 ("main: cannot get spin lock when no one owns the lock\n"); in main() 85 printf("main: acquired spin lock\n"); in main() 87 printf("main in main() [all...] |
| H A D | 1-2.c | 20 * 2. Main thread lock 'spinlock', should get the lock 23 * 4. Main thread unlock 'spinlock' 71 int main(void) in main() function 78 printf("main: Error at pthread_spin_init()\n"); in main() 82 printf("main: attempt spin lock\n"); in main() 87 ("Error: main cannot get spin lock when no one owns the lock\n"); in main() 90 printf("main: acquired spin lock\n"); in main() 93 printf("main: create thread\n"); in main() 95 printf("main: Error creating child thread\n"); in main() 110 printf("main in main() [all...] |
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/ |
| H A D | 1-1.c | 19 * 2. Main thread read lock 'rwlock' 21 * 4. Main thread unlock 'rwlock' 22 * 5. Main thread write lock 'rwlock' 24 * 7. Main thread unlock 'rwlock' 71 int main(void) in main() function 77 printf("main: Error at pthread_rwlock_init()\n"); in main() 81 printf("main: attempt read lock\n"); in main() 86 ("Test FAILED: main cannot get read lock when no one owns the lock\n"); in main() 89 printf("main: acquired read lock\n"); in main() 93 printf("main in main() [all...] |
| H A D | 2-3.c | 19 * We have three threads, main(also a reader), writer, reader 21 * 1. Main thread set its shcedule policy as "SCHED_FIFO", with highest priority 23 * 2. Main thread read lock 'rwlock' 27 * 5. Main thread create a reader thread, with schedule policy as "SCHED_FIFO", and 31 * 7. Main thread release the 'rwlock', the writer should get the lock first. 136 int main(void) in main() function 148 /* main thread needs to have the highest priority */ in main() 153 printf("main: Error at pthread_rwlock_init()\n"); in main() 157 printf("main: attempt read lock\n"); in main() 161 ("Test FAILED: main canno in main() [all...] |
| H A D | 2-1.c | 19 * We have three threads, main(also a reader), writer, reader 21 * 1. Main thread set its shcedule policy as "SCHED_FIFO", with highest priority 23 * 2. Main thread read lock 'rwlock' 27 * 5. Main thread create a reader thread, with schedule policy as "SCHED_FIFO", and 31 * 7. Main thread release the 'rwlock', the writer should get the lock first 136 int main(void) in main() function 147 /* main thread needs to have the highest priority */ in main() 150 printf("main: has priority: %d\n", priority); in main() 153 printf("main: Error at pthread_rwlock_init()\n"); in main() 157 printf("main in main() [all...] |
| H A D | 2-2.c | 19 * We have three threads, main(also a reader), writer, reader 21 * 1. Main thread set its shcedule policy as "SCHED_FIFO", with highest priority 23 * 2. Main thread read lock 'rwlock' 27 * 5. Main thread create a reader thread, with schedule policy as "SCHED_FIFO", and 31 * 7. Main thread release the 'rwlock', the writer should get the lock first 136 int main(void) in main() function 147 /* main thread needs to have the highest priority */ in main() 152 printf("main: Error at pthread_rwlock_init()\n"); in main() 156 printf("main: attempt read lock\n"); in main() 160 ("Test FAILED: main canno in main() [all...] |
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/ |
| H A D | 3-1.c | 16 * 2. Main thread lock 'rwlock' for reading with pthread_rwlock_rdlock() 19 * 4. Main thread unlock 'rwlock' 20 * 5. Main thread lock 'rwlock' for writing 24 * 7. Main thread unlock 'rwlock' 101 int main(void) in main() function 107 printf("main: Error at pthread_rwlock_init()\n"); in main() 111 printf("main: attempt read lock\n"); in main() 113 printf("main: Error at pthread_rwlock_rdlock()\n"); in main() 116 printf("main: acquired read lock\n"); in main() 120 printf("main in main() [all...] |
| H A D | 1-1.c | 16 * 2. Main thread lock 'rwlock' for reading with pthread_rwlock_rdlock() 19 * 4. Main thread unlock 'rwlock' 20 * 5. Main thread lock 'rwlock' for writing 24 * 7. Main thread unlock 'rwlock' 87 int main(void) in main() function 93 printf("main: Error at pthread_rwlock_init()\n"); in main() 97 printf("main: attempt read lock\n"); in main() 99 printf("main: Error at pthread_rwlock_rdlock()\n"); in main() 102 printf("main: acquired read lock\n"); in main() 106 printf("main in main() [all...] |
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_tryrdlock/ |
| H A D | 1-1.c | 20 * 2. Main thread read lock 'rwlock' 22 * 4. Main thread unlock 'rwlock' 23 * 5. Main thread write lock 'rwlock' 25 * 7. Main thread unlock 'rwlock' 86 int main(void) in main() function 94 printf("main: Error at pthrad_rwlock_init()\n"); in main() 98 printf("main: attempt pthread_rwlock_tryrdlock\n"); in main() 103 ("Test FAILED: in main() at pthread_rwlock_tryrdlock, error code:%d\n", in main() 108 printf("main: acquired read lock\n"); in main() 111 printf("main in main() [all...] |
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/ |
| H A D | 1-1.c | 14 * 2. Main thread lock 'rwlock' for reading with pthread_rwlock_rdlock() 17 * 4. Main thread unlocks 'rwlock' 18 * 5. Main thread locks 'rwlock' for writing, using pthread_rwlock_trywrlock(), 22 * 7. Main thread unlock 'rwlock' 63 int main(void) in main() function 72 printf("main: Error at pthread_rwlock_init()\n"); in main() 76 printf("main: attempt read lock\n"); in main() 79 printf("main: Error at pthread_rwlock_rdlock()\n"); in main() 83 printf("main: acquired read lock\n"); in main() 85 printf("main in main() [all...] |
| /third_party/ffmpeg/libavcodec/ |
| H A D | h265_profile_level.c | 23 // Name CpbFactor-Main MaxSliceSegmentsPerPicture 25 // | | MaxLumaPs | | | MaxTileRows | BrFactor-Main | MinCr-Main 56 { "Main", 58 { "Screen-Extended Main", 60 { "Main 10", 62 { "Screen-Extended Main 10", 64 { "Main 12", 66 { "Main Still Picture", 68 { "Main 1 [all...] |
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/ |
| H A D | 3-1.c | 16 * We have four threads, main(also a reader), writer1, reader, writer2 17 * main has the highest priority, writer1 and reader has same priority, writer2 has lowest 20 * 1. Main thread set its shcedule policy as "SCHED_FIFO", with highest priority 22 * 2. Main thread write lock 'rwlock' 28 * 7. Main thread release the 'rwlock', make sure the threads got the lock in the order 96 /* Wait for main to wake us up */ in fn_rd() 131 /* Wait for main to wake us up */ in fn_wr_1() 168 /* Wait for main to wake us up */ in fn_wr_2() 183 int main(void) in main() function 194 /* main threa in main() [all...] |
| /third_party/elfutils/libcpu/ |
| H A D | i386_lex.l | 54 %x MAIN 68 "%%" { BEGIN (MAIN); return kPERCPERC; } 71 <MAIN>"0" { return '0'; } 72 <MAIN>"1" { return '1'; } 74 <INITIAL,MAIN>"{"{ID2}"}" { i386_lval.str = xstrndup (yytext + 1, 78 <MAIN>"INVALID" { i386_lval.str = (void *) -1l; 81 <MAIN>{ID} { i386_lval.str = xstrndup (yytext, yyleng); 84 <MAIN>"," { return ','; } 86 <MAIN>":" { return ':'; } 88 <INITIAL,MAIN> [all...] |
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_destroy/ |
| H A D | 1-1.c | 15 * 2. Main thread lock 'spinlock', should get the lock 16 * 3. Main thread unlock 'spinlock' 17 * 4. Main thread destroy the 'spinlock' 29 int main(void) in main() function 33 printf("main: initialize spin lock\n"); in main() 35 printf("main: Error at pthread_spin_init()\n"); in main() 39 printf("main: attempt spin lock\n"); in main() 44 ("Unresolved: main cannot get spin lock when no one owns the lock\n"); in main() 48 printf("main: acquired spin lock\n"); in main() 50 printf("main in main() [all...] |
| /third_party/curl/CMake/ |
| H A D | CurlTests.c | 47 int main(void) in main() function 71 int main(void) in main() function 113 int main(void) in main() function 131 int main(void) in main() function 145 int main(void) { return 0; } in main() function 162 int main(void) { ; return 0; } in main() function 173 int main(void) in main() function 192 int main(void) in main() function 210 int main(void) in main() function 229 int main(voi function 257 int main(void) main() function 286 int main(void) main() function 312 int main(void) main() function 327 int main(void) main() function 343 int main(void) main() function 354 int main(void) main() function 363 int main(void) main() function 372 int main(void) main() function 381 int main(void) main() function 401 int main(void) main() function 426 int main(void) main() function [all...] |
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/ |
| H A D | 1-1.c | 15 * 1. Main initialize barrier with count 2 16 * 2. Main create a child thread 18 * 4. Main call pthread_barrier_wait(), child and main should all return 59 printf("Test FAILED: main blocked on barrier wait\n"); in sig_handler() 63 int main(void) in main() function 70 /* Set up main thread to handle SIGALRM */ in main() 78 printf("main: Error at pthread_barrier_init()\n"); in main() 82 printf("main: create child thread\n"); in main() 85 printf("main in main() [all...] |
| /third_party/musl/libc-test/src/regression/ |
| H A D | pthread_cond-smasher.c | 92 trace("thread %u is last, signalling main\n", *number); in client() 94 trace("thread %u is last, signalling main, %s\n", *number, errorstring(ret)); in client() 96 t_error("thread %u is last in phase %u, signalling main failed: %s\n", *number, i, errorstring(ret)); in client() 117 int main(void) { in main() function 120 tell("start up of main, using %s, library %s\n", VERSION, LIBRARY); in main() 135 trace("main seeing %u threads in phase %u, waiting\n", inside[phase], phase); in main() 138 tell("main seeing %u threads in phase %u, %s\n", inside[phase], phase, errorstring(ret)); in main() 140 t_error("main thread in phase %u (%u threads inside), finished waiting: %s\n", phase, inside[phase], errorstring(ret)); in main() 152 trace("main has broadcast to %u: %s\n", phase, errorstring(ret)); in main() 154 t_error("main broadcas in main() [all...] |
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/ |
| H A D | 1-1.c | 16 * 2. Main thread lock 'rwlock' for reading with pthread_rwlock_rdlock() 18 * 4. Main thread unlock 'rwlock', child thread should get the write lock 19 * 5. Main thread lock 'rwlock' for writing 21 * 7. Main thread unlock 'rwlock' 71 int main(void) in main() function 81 printf("main: attempt read lock\n"); in main() 88 printf("main: acquired read lock\n"); in main() 90 printf("main: create thread1\n"); in main() 113 printf("main: unlock read lock\n"); in main() 142 printf("main in main() [all...] |
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_init/ |
| H A D | 4-1.c | 17 * 1. Main initialize barrier with count 2 18 * 2. Main create a child thread 20 * 4. Main call pthread_barrier_init() 64 printf("Test PASSED: main blocked on barrier init\n"); in sig_handler() 68 int main(void) in main() function 75 /* Set up main thread to handle SIGALRM */ in main() 81 printf("main: Initialize barrier with count = 2\n"); in main() 83 printf("main: Error at pthread_barrier_init()\n"); in main() 87 printf("main: create child thread\n"); in main() 90 printf("main in main() [all...] |
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/ |
| H A D | 1-2.c | 17 * 2. Main thread lock 'spinlock', should get the lock 19 * 4. Main thread unlock 'spinlock' 70 int main(void) in main() function 78 printf("main: Error at pthread_spin_init()\n"); in main() 82 printf("main: attempt spin lock\n"); in main() 87 ("Test FAILED: main cannot get spin lock when no one owns the lock\n"); in main() 90 printf("main: acquired spin lock\n"); in main() 96 printf("main: create thread\n"); in main() 98 printf("main: Error creating child thread\n"); in main() 113 printf("main in main() [all...] |
| /third_party/skia/third_party/externals/angle2/util/android/third_party/ |
| H A D | android_native_app_glue.h | 36 * by the Activity's main thread when certain events occur. 43 * execution model where the application can implement its own main event 48 * distinct from the activity's main thread. 106 * in its own thread separate from the main thread of the process. 116 // Fill this in with the function to process main app commands (APP_CMD_*) 189 * Looper data ID of commands coming from the app's main thread, which 214 * Command from main thread: the AInputQueue has changed. Upon processing 221 * Command from main thread: a new ANativeWindow is ready for use. Upon 228 * Command from main thread: the existing ANativeWindow needs to be 236 * Command from main threa [all...] |