Home
last modified time | relevance | path

Searched refs:__block (Results 1 – 25 of 129) sorted by relevance

123456

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_cfg.h309 #define foreach_block_and_inst(__block, __type, __inst, __cfg) \ argument
310 foreach_block (__block, __cfg) \
311 foreach_inst_in_block (__type, __inst, __block)
316 #define foreach_block_and_inst_safe(__block, __type, __inst, __cfg) \ argument
317 foreach_block_safe (__block, __cfg) \
318 foreach_inst_in_block_safe (__type, __inst, __block)
320 #define foreach_block(__block, __cfg) \ argument
321 foreach_list_typed (bblock_t, __block, link, &(__cfg)->block_list)
323 #define foreach_block_reverse(__block, __cfg) \ argument
324 foreach_list_typed_reverse (bblock_t, __block, link, &(__cfg)->block_list)
[all …]
/external/clang/test/Rewriter/
Drewrite-modern-block.mm14 __block CFUUIDBytes bytes;
23 __block int hello;
28 // rewriting multiple __block decls on wintin same decl stmt.
30 __block int BI1, BI2;
32 __block float FLOAT1, FT2, FFFFFFFF3,
35 __block void (^B)(), (^BB)();
38 // rewriting multiple __block decls on wintin same decl stmt
41 __block int BI1 = 1, BI2 = 2;
43 double __block BYREFVAR = 1.34, BYREFVAR_NO_INIT, BYREFVAR2 = 1.37;
45 __block const char *keys = keybuf, *values = valuebuf, *novalues;
Drewrite-captured-nested-bvar.c10 __block char BYREF_VAR_CHECK = 'a'; in f()
11 __block char d = 'd'; in f()
14 __block char e = 'e'; in f()
Drewrite-modern-captured-nested-bvar.mm10 __block char BYREF_VAR_CHECK = 'a';
11 __block char d = 'd';
14 __block char e = 'e';
/external/clang/test/CodeGen/
Dblocks-1.c13 __block int a; in test1()
24 __block int a; in test2()
38 __block int k; in test3()
39 __block int (^j)(int); in test3()
53 __block struct { int i; } i; in test5()
58 __block int i; in test6()
65 __block int i; in test7()
Dcaptured-statements-nested.c98 __block int x; in test_nest_block()
126 __block int b; in test_nest_block()
128 __block int d; in test_nest_block()
Dblocks-aligned-byref-variable.c6 __block ai a = 10; in f()
14 __block double a = 10; in g()
Dexceptions.c11 __block int x = 10; in test1()
25 __block int x = 10; in test2()
Dblock-byref-aggr.c11 __block Agg a = {100}; in test0()
37 __block Agg a, b; in test1()
/external/clang/test/ARCMT/
Drewrite-block-var.m14 __block Foo *x = p; // __block used just to break cycle.
21 __block Foo *x; // __block used as output variable.
28 __block Foo *x; // __block used as output variable.
38 __block Foo *x = p; // __block used just to break cycle.
Drewrite-block-var.m.result14 __weak Foo *x = p; // __block used just to break cycle.
21 __block Foo *x; // __block used as output variable.
28 __block Foo *x; // __block used as output variable.
38 __weak Foo *x = p; // __block used just to break cycle.
/external/clang/test/Sema/
Dblock-misc.c150 __block int test16i; // expected-error {{__block attribute not allowed, only allowed on local vari…
152 void test16(__block int i) { // expected-error {{__block attribute not allowed, only allowed on loc… in test16()
154 …extern __block double extern_var; // expected-error {{__block attribute not allowed, only allowed … in test16()
155 …static __block char * pch; // expected-error {{__block attribute not allowed, only allowed on loca… in test16()
156__block int a[size]; // expected-error {{__block attribute not allowed on declaration with a varia… in test16()
157__block int (*ap)[size]; // expected-error {{__block attribute not allowed on declaration with a v… in test16()
195 __block int x; // expected-note {{jump bypasses setup of __block variable}} in test19()
217 __block int b[10]; // expected-note {{declared here}} in test21()
Dcaptured-statements.c52 __block int x; // expected-note {{'x' declared here}} in test_nest_block()
64 __block int a; // expected-note 2 {{'a' declared here}} in test_nest_block()
68 __block int c; in test_nest_block()
Dblock-storageclass.c8 __block int X = 1234; in main()
9 __block const char * message = "HELLO"; in main()
Dblock-return.c91 __block int i; in foo5()
122 __block int j; in foo7()
126 __block const int k; in foo7()
/external/clang/test/CodeGenObjC/
Dblocks-3.m13 __block aid a1;
14 __block id a2 __attribute__((aligned(2)));
15 __block id a3 __attribute__((aligned(4)));
16 __block id a4 __attribute__((aligned(8)));
17 __block id a5, a6, a7;
18 __block void (^b)();
Dblock-byref-variable-layout.m7 __block __unsafe_unretained NSString *uuByref = (__bridge NSString *)(void*)0x102030405060708;
13 __block __weak id wid;
14 __block long XXX;
15 __block id ID;
16 __block struct S {
48 __block mds_path_t path;
/external/clang/test/Analysis/
Ddead-stores.c419 __block int x = (y > 2); // no-warning in f24_B()
428 __block int x = (y > 2); // no-warning in f24_C()
436 __block int x = (y > 2); // no-warning in f24_D()
447 __block int x = (y > 2); in f25()
448 __block int z = 0; in f25()
459 __block int x = (y > 2); in f25_b()
460 __block int z = 0; in f25_b()
468 __block int y = 0; in f26_nestedblocks()
/external/clang/test/CodeGenCXX/
Dcp-blocks-linetables.cpp28 __block enum numbers x = one; in main()
29 __block enum numbers y = two; in main()
34 { __block enum numbers x = savex; in main()
/external/clang/docs/
DBlock-ABI-Apple.rst13 * 2008/9/24 - add ``NULL`` ``isa`` field to ``__block`` storage.
161 variables, and variables marked ``__block``. In Objective-C, variables may
179 any ``Block`` literal that imports no ``const`` or ``__block`` storage
186 of ``__block`` storage class are imported as a pointer to an enclosing data
193 Automatic storage variables not marked with ``__block`` are imported as
274 __block->existingBlock->invoke(__block->existingBlock);
343 Imported ``__block`` marked variables
346 Layout of ``__block`` marked variables
349 The compiler must embed variables that are marked ``__block`` in a specialized
399 Access to ``__block`` variables from within its lexical scope
[all …]
DBlockLanguageSpec.rst15 - 2008/7/28 --- revised, ``__block`` syntax
20 - 2009/2/10 --- revised, ``__block`` objects need retain
222 The ``__block`` Storage Qualifier
226 qualifier, :block-term:`__block`, for local variables. [testme: a
227 __block declaration within a block literal] The ``__block`` storage
230 ``__block`` act as if they were in allocated storage and this storage
237 In the case where a ``__block`` variable is a Block one must assume
238 that the ``__block`` variable resides in allocated storage and as such
283 Object variables of ``__block`` storage type are assumed to hold
290 ``__weak`` specifier for ``__block`` variables of object type. If
[all …]
/external/python/cpython2/Lib/
Dthreading.py134 self.__block = _allocate_lock()
174 rc = self.__block.acquire(blocking)
208 self.__block.release()
222 self.__block.acquire()
235 self.__block.release()
682 self.__block = Condition(Lock())
692 self.__block.__init__()
698 return self.__block
862 self.__block.acquire()
864 self.__block.notify_all()
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_libdispatch_mac.cc303 __block dispatch_block_t block_copy = (dispatch_block_t)_Block_copy(block); in TSAN_INTERCEPTOR()
362 __block tsan_block_context_t new_context = { in TSAN_INTERCEPTOR()
391 __block tsan_block_context_t new_context = { in TSAN_INTERCEPTOR()
422 __block tsan_block_context_t new_context = { in TSAN_INTERCEPTOR()
512 __block tsan_block_context_t new_context = { in TSAN_INTERCEPTOR()
529 __block tsan_block_context_t new_context = { in TSAN_INTERCEPTOR()
546 __block tsan_block_context_t new_context = { in TSAN_INTERCEPTOR()
565 __block tsan_block_context_t new_context = { in TSAN_INTERCEPTOR()
583 __block tsan_block_context_t new_context = { in TSAN_INTERCEPTOR()
602 __block dispatch_io_t new_channel = nullptr; in TSAN_INTERCEPTOR()
[all …]
/external/compiler-rt/test/BlocksRuntime/
Dflagsisa.c14 __block int flags; in main()
15 __block void *isa; in main()
/external/clang/test/Parser/
Dblock-block-storageclass.c7 __block int X = 1234; in main()
8 __block const char * message = "HELLO"; in main()

123456