• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-runtime/intl/

Lines Matching refs:NAME

144 # define gl_lock_define(STORAGECLASS, NAME) \
145 STORAGECLASS pthread_mutex_t NAME;
146 # define gl_lock_define_initialized(STORAGECLASS, NAME) \
147 STORAGECLASS pthread_mutex_t NAME = gl_lock_initializer;
150 # define gl_lock_init(NAME) \
153 if (pthread_in_use () && pthread_mutex_init (&NAME, NULL) != 0) \
157 # define gl_lock_lock(NAME) \
160 if (pthread_in_use () && pthread_mutex_lock (&NAME) != 0) \
164 # define gl_lock_unlock(NAME) \
167 if (pthread_in_use () && pthread_mutex_unlock (&NAME) != 0) \
171 # define gl_lock_destroy(NAME) \
174 if (pthread_in_use () && pthread_mutex_destroy (&NAME) != 0) \
186 # define gl_rwlock_define(STORAGECLASS, NAME) \
187 STORAGECLASS pthread_rwlock_t NAME;
188 # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
189 STORAGECLASS pthread_rwlock_t NAME = gl_rwlock_initializer;
192 # define gl_rwlock_init(NAME) \
195 if (pthread_in_use () && pthread_rwlock_init (&NAME, NULL) != 0) \
199 # define gl_rwlock_rdlock(NAME) \
202 if (pthread_in_use () && pthread_rwlock_rdlock (&NAME) != 0) \
206 # define gl_rwlock_wrlock(NAME) \
209 if (pthread_in_use () && pthread_rwlock_wrlock (&NAME) != 0) \
213 # define gl_rwlock_unlock(NAME) \
216 if (pthread_in_use () && pthread_rwlock_unlock (&NAME) != 0) \
220 # define gl_rwlock_destroy(NAME) \
223 if (pthread_in_use () && pthread_rwlock_destroy (&NAME) != 0) \
237 # define gl_rwlock_define(STORAGECLASS, NAME) \
238 STORAGECLASS gl_rwlock_t NAME;
239 # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
240 STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer;
243 # define gl_rwlock_init(NAME) \
247 glthread_rwlock_init (&NAME); \
250 # define gl_rwlock_rdlock(NAME) \
254 glthread_rwlock_rdlock (&NAME); \
257 # define gl_rwlock_wrlock(NAME) \
261 glthread_rwlock_wrlock (&NAME); \
264 # define gl_rwlock_unlock(NAME) \
268 glthread_rwlock_unlock (&NAME); \
271 # define gl_rwlock_destroy(NAME) \
275 glthread_rwlock_destroy (&NAME); \
297 # define gl_rwlock_define(STORAGECLASS, NAME) \
298 STORAGECLASS gl_rwlock_t NAME;
299 # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
300 STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer;
303 # define gl_rwlock_init(NAME) \
307 glthread_rwlock_init (&NAME); \
310 # define gl_rwlock_rdlock(NAME) \
314 glthread_rwlock_rdlock (&NAME); \
317 # define gl_rwlock_wrlock(NAME) \
321 glthread_rwlock_wrlock (&NAME); \
324 # define gl_rwlock_unlock(NAME) \
328 glthread_rwlock_unlock (&NAME); \
331 # define gl_rwlock_destroy(NAME) \
335 glthread_rwlock_destroy (&NAME); \
353 # define gl_recursive_lock_define(STORAGECLASS, NAME) \
354 STORAGECLASS pthread_mutex_t NAME;
355 # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
356 STORAGECLASS pthread_mutex_t NAME = gl_recursive_lock_initializer;
364 # define gl_recursive_lock_init(NAME) \
367 if (pthread_in_use () && pthread_mutex_init (&NAME, NULL) != 0) \
371 # define gl_recursive_lock_lock(NAME) \
374 if (pthread_in_use () && pthread_mutex_lock (&NAME) != 0) \
378 # define gl_recursive_lock_unlock(NAME) \
381 if (pthread_in_use () && pthread_mutex_unlock (&NAME) != 0) \
385 # define gl_recursive_lock_destroy(NAME) \
388 if (pthread_in_use () && pthread_mutex_destroy (&NAME) != 0) \
402 # define gl_recursive_lock_define(STORAGECLASS, NAME) \
403 STORAGECLASS gl_recursive_lock_t NAME;
404 # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
405 STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer;
408 # define gl_recursive_lock_init(NAME) \
412 glthread_recursive_lock_init (&NAME); \
415 # define gl_recursive_lock_lock(NAME) \
419 glthread_recursive_lock_lock (&NAME); \
422 # define gl_recursive_lock_unlock(NAME) \
426 glthread_recursive_lock_unlock (&NAME); \
429 # define gl_recursive_lock_destroy(NAME) \
433 glthread_recursive_lock_destroy (&NAME); \
455 # define gl_recursive_lock_define(STORAGECLASS, NAME) \
456 STORAGECLASS gl_recursive_lock_t NAME;
457 # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
458 STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer;
461 # define gl_recursive_lock_init(NAME) \
465 glthread_recursive_lock_init (&NAME); \
468 # define gl_recursive_lock_lock(NAME) \
472 glthread_recursive_lock_lock (&NAME); \
475 # define gl_recursive_lock_unlock(NAME) \
479 glthread_recursive_lock_unlock (&NAME); \
482 # define gl_recursive_lock_destroy(NAME) \
486 glthread_recursive_lock_destroy (&NAME); \
499 # define gl_once_define(STORAGECLASS, NAME) \
500 STORAGECLASS pthread_once_t NAME = PTHREAD_ONCE_INIT;
501 # define gl_once(NAME, INITFUNCTION) \
506 if (pthread_once (&NAME, INITFUNCTION) != 0) \
511 if (glthread_once_singlethreaded (&NAME)) \
561 # define gl_lock_define(STORAGECLASS, NAME) \
562 STORAGECLASS pth_mutex_t NAME;
563 # define gl_lock_define_initialized(STORAGECLASS, NAME) \
564 STORAGECLASS pth_mutex_t NAME = gl_lock_initializer;
567 # define gl_lock_init(NAME) \
570 if (pth_in_use() && !pth_mutex_init (&NAME)) \
574 # define gl_lock_lock(NAME) \
577 if (pth_in_use() && !pth_mutex_acquire (&NAME, 0, NULL)) \
581 # define gl_lock_unlock(NAME) \
584 if (pth_in_use() && !pth_mutex_release (&NAME)) \
588 # define gl_lock_destroy(NAME) \
589 (void)(&NAME)
594 # define gl_rwlock_define(STORAGECLASS, NAME) \
595 STORAGECLASS pth_rwlock_t NAME;
596 # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
597 STORAGECLASS pth_rwlock_t NAME = gl_rwlock_initializer;
600 # define gl_rwlock_init(NAME) \
603 if (pth_in_use() && !pth_rwlock_init (&NAME)) \
607 # define gl_rwlock_rdlock(NAME) \
611 && !pth_rwlock_acquire (&NAME, PTH_RWLOCK_RD, 0, NULL)) \
615 # define gl_rwlock_wrlock(NAME) \
619 && !pth_rwlock_acquire (&NAME, PTH_RWLOCK_RW, 0, NULL)) \
623 # define gl_rwlock_unlock(NAME) \
626 if (pth_in_use() && !pth_rwlock_release (&NAME)) \
630 # define gl_rwlock_destroy(NAME) \
631 (void)(&NAME)
637 # define gl_recursive_lock_define(STORAGECLASS, NAME) \
638 STORAGECLASS pth_mutex_t NAME;
639 # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
640 STORAGECLASS pth_mutex_t NAME = gl_recursive_lock_initializer;
643 # define gl_recursive_lock_init(NAME) \
646 if (pth_in_use() && !pth_mutex_init (&NAME)) \
650 # define gl_recursive_lock_lock(NAME) \
653 if (pth_in_use() && !pth_mutex_acquire (&NAME, 0, NULL)) \
657 # define gl_recursive_lock_unlock(NAME) \
660 if (pth_in_use() && !pth_mutex_release (&NAME)) \
664 # define gl_recursive_lock_destroy(NAME) \
665 (void)(&NAME)
670 # define gl_once_define(STORAGECLASS, NAME) \
671 STORAGECLASS pth_once_t NAME = PTH_ONCE_INIT;
672 # define gl_once(NAME, INITFUNCTION) \
678 if (!pth_once (&NAME, glthread_once_call, &gl_once_temp)) \
683 if (glthread_once_singlethreaded (&NAME)) \
738 # define gl_lock_define(STORAGECLASS, NAME) \
739 STORAGECLASS mutex_t NAME;
740 # define gl_lock_define_initialized(STORAGECLASS, NAME) \
741 STORAGECLASS mutex_t NAME = gl_lock_initializer;
744 # define gl_lock_init(NAME) \
747 if (thread_in_use () && mutex_init (&NAME, USYNC_THREAD, NULL) != 0) \
751 # define gl_lock_lock(NAME) \
754 if (thread_in_use () && mutex_lock (&NAME) != 0) \
758 # define gl_lock_unlock(NAME) \
761 if (thread_in_use () && mutex_unlock (&NAME) != 0) \
765 # define gl_lock_destroy(NAME) \
768 if (thread_in_use () && mutex_destroy (&NAME) != 0) \
776 # define gl_rwlock_define(STORAGECLASS, NAME) \
777 STORAGECLASS rwlock_t NAME;
778 # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
779 STORAGECLASS rwlock_t NAME = gl_rwlock_initializer;
782 # define gl_rwlock_init(NAME) \
785 if (thread_in_use () && rwlock_init (&NAME, USYNC_THREAD, NULL) != 0) \
789 # define gl_rwlock_rdlock(NAME) \
792 if (thread_in_use () && rw_rdlock (&NAME) != 0) \
796 # define gl_rwlock_wrlock(NAME) \
799 if (thread_in_use () && rw_wrlock (&NAME) != 0) \
803 # define gl_rwlock_unlock(NAME) \
806 if (thread_in_use () && rw_unlock (&NAME) != 0) \
810 # define gl_rwlock_destroy(NAME) \
813 if (thread_in_use () && rwlock_destroy (&NAME) != 0) \
830 # define gl_recursive_lock_define(STORAGECLASS, NAME) \
831 STORAGECLASS gl_recursive_lock_t NAME;
832 # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
833 STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer;
836 # define gl_recursive_lock_init(NAME) \
840 glthread_recursive_lock_init (&NAME); \
843 # define gl_recursive_lock_lock(NAME) \
847 glthread_recursive_lock_lock (&NAME); \
850 # define gl_recursive_lock_unlock(NAME) \
854 glthread_recursive_lock_unlock (&NAME); \
857 # define gl_recursive_lock_destroy(NAME) \
861 glthread_recursive_lock_destroy (&NAME); \
877 # define gl_once_define(STORAGECLASS, NAME) \
878 STORAGECLASS gl_once_t NAME = { 0, DEFAULTMUTEX };
879 # define gl_once(NAME, INITFUNCTION) \
884 glthread_once (&NAME, INITFUNCTION); \
888 if (glthread_once_singlethreaded (&NAME)) \
933 # define gl_lock_define(STORAGECLASS, NAME) \
934 STORAGECLASS gl_lock_t NAME;
935 # define gl_lock_define_initialized(STORAGECLASS, NAME) \
936 STORAGECLASS gl_lock_t NAME = gl_lock_initializer;
939 # define gl_lock_init(NAME) \
940 glthread_lock_init (&NAME)
941 # define gl_lock_lock(NAME) \
942 glthread_lock_lock (&NAME)
943 # define gl_lock_unlock(NAME) \
944 glthread_lock_unlock (&NAME)
945 # define gl_lock_destroy(NAME) \
946 glthread_lock_destroy (&NAME)
975 # define gl_rwlock_define(STORAGECLASS, NAME) \
976 STORAGECLASS gl_rwlock_t NAME;
977 # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
978 STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer;
981 # define gl_rwlock_init(NAME) \
982 glthread_rwlock_init (&NAME)
983 # define gl_rwlock_rdlock(NAME) \
984 glthread_rwlock_rdlock (&NAME)
985 # define gl_rwlock_wrlock(NAME) \
986 glthread_rwlock_wrlock (&NAME)
987 # define gl_rwlock_unlock(NAME) \
988 glthread_rwlock_unlock (&NAME)
989 # define gl_rwlock_destroy(NAME) \
990 glthread_rwlock_destroy (&NAME)
1011 # define gl_recursive_lock_define(STORAGECLASS, NAME) \
1012 STORAGECLASS gl_recursive_lock_t NAME;
1013 # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
1014 STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer;
1017 # define gl_recursive_lock_init(NAME) \
1018 glthread_recursive_lock_init (&NAME)
1019 # define gl_recursive_lock_lock(NAME) \
1020 glthread_recursive_lock_lock (&NAME)
1021 # define gl_recursive_lock_unlock(NAME) \
1022 glthread_recursive_lock_unlock (&NAME)
1023 # define gl_recursive_lock_destroy(NAME) \
1024 glthread_recursive_lock_destroy (&NAME)
1039 # define gl_once_define(STORAGECLASS, NAME) \
1040 STORAGECLASS gl_once_t NAME = { -1, -1 };
1041 # define gl_once(NAME, INITFUNCTION) \
1042 glthread_once (&NAME, INITFUNCTION)
1060 # define gl_lock_define(STORAGECLASS, NAME)
1061 # define gl_lock_define_initialized(STORAGECLASS, NAME)
1062 # define gl_lock_init(NAME)
1063 # define gl_lock_lock(NAME)
1064 # define gl_lock_unlock(NAME)
1069 # define gl_rwlock_define(STORAGECLASS, NAME)
1070 # define gl_rwlock_define_initialized(STORAGECLASS, NAME)
1071 # define gl_rwlock_init(NAME)
1072 # define gl_rwlock_rdlock(NAME)
1073 # define gl_rwlock_wrlock(NAME)
1074 # define gl_rwlock_unlock(NAME)
1079 # define gl_recursive_lock_define(STORAGECLASS, NAME)
1080 # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME)
1081 # define gl_recursive_lock_init(NAME)
1082 # define gl_recursive_lock_lock(NAME)
1083 # define gl_recursive_lock_unlock(NAME)
1088 # define gl_once_define(STORAGECLASS, NAME) \
1089 STORAGECLASS gl_once_t NAME = 0;
1090 # define gl_once(NAME, INITFUNCTION) \
1093 if (NAME == 0) \
1095 NAME = ~ 0; \