Home
last modified time | relevance | path

Searched refs:p (Results 1 – 25 of 8907) sorted by relevance

12345678910>>...357

/external/valgrind/memcheck/tests/
Ddeep-backtrace.c1 int f1(int *p) { return *p; } in f1() argument
2 int f2(int *p) { return f1(p); } in f2() argument
3 int f3(int *p) { return f2(p); } in f3() argument
4 int f4(int *p) { return f3(p); } in f4() argument
5 int f5(int *p) { return f4(p); } in f5() argument
6 int f6(int *p) { return f5(p); } in f6() argument
7 int f7(int *p) { return f6(p); } in f7() argument
8 int f8(int *p) { return f7(p); } in f8() argument
9 int f9(int *p) { return f8(p); } in f9() argument
10 int f10(int *p) { return f9(p); } in f10() argument
[all …]
Dmemalign2.c28 int* p; in main()
42 p = memalign(1024 * 1024, 4 * 1024 * 1024 + 1); assert(0 == (long)p % (1024 * 1024)); in main()
52 free (p); in main()
55 p = memalign(1024 * 1024, 4 * 1024 * 1024 + 1); assert(0 == (long)p % (1024 * 1024)); in main()
57 free (p); in main()
60 p = memalign(0, 100); assert(0 == (long)p % 8); in main()
61 p = memalign(1, 100); assert(0 == (long)p % 8); in main()
62 p = memalign(2, 100); assert(0 == (long)p % 8); in main()
63 p = memalign(3, 100); assert(0 == (long)p % 8); in main()
64 p = memalign(4, 100); assert(0 == (long)p % 8); in main()
[all …]
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/parse/
Dparser.py73 def p_root_1(self, p): argument
75 p[0] = ast.Mojom(None, ast.ImportList(), [])
77 def p_root_2(self, p): argument
79 if p[1].module is not None:
82 p[2].lineno, snippet=self._GetSnippet(p[2].lineno))
83 if p[1].import_list.items or p[1].definition_list:
87 p[2].lineno, snippet=self._GetSnippet(p[2].lineno))
88 p[0] = p[1]
89 p[0].module = p[2]
91 def p_root_3(self, p): argument
[all …]
/external/selinux/python/sepolgen/src/sepolgen/
Drefparser.py321 def p_statements(p): argument
326 if len(p) == 2 and p[1]:
327 m.children.append(p[1])
328 elif len(p) > 2 and p[2]:
329 m.children.append(p[2])
331 def p_statement(p): argument
339 p[0] = p[1]
341 def p_empty(p): argument
352 def p_policy_module_stmt(p): argument
355 m.name = p[3]
[all …]
/external/mesa3d/src/mesa/x86/rtasm/
Dx86sse.c18 static void do_realloc( struct x86_function *p ) in do_realloc() argument
20 if (p->size == 0) { in do_realloc()
21 p->size = 1024; in do_realloc()
22 p->store = _mesa_exec_malloc(p->size); in do_realloc()
23 p->csr = p->store; in do_realloc()
26 unsigned used = p->csr - p->store; in do_realloc()
27 unsigned char *tmp = p->store; in do_realloc()
28 p->size *= 2; in do_realloc()
29 p->store = _mesa_exec_malloc(p->size); in do_realloc()
30 memcpy(p->store, tmp, used); in do_realloc()
[all …]
/external/lzma/C/
DLzFindMt.c10 void MtSync_Construct(CMtSync *p) in MtSync_Construct() argument
12 p->wasCreated = False; in MtSync_Construct()
13 p->csWasInitialized = False; in MtSync_Construct()
14 p->csWasEntered = False; in MtSync_Construct()
15 Thread_Construct(&p->thread); in MtSync_Construct()
16 Event_Construct(&p->canStart); in MtSync_Construct()
17 Event_Construct(&p->wasStarted); in MtSync_Construct()
18 Event_Construct(&p->wasStopped); in MtSync_Construct()
19 Semaphore_Construct(&p->freeSemaphore); in MtSync_Construct()
20 Semaphore_Construct(&p->filledSemaphore); in MtSync_Construct()
[all …]
DMtCoder.c10 void LoopThread_Construct(CLoopThread *p) in LoopThread_Construct() argument
12 Thread_Construct(&p->thread); in LoopThread_Construct()
13 Event_Construct(&p->startEvent); in LoopThread_Construct()
14 Event_Construct(&p->finishedEvent); in LoopThread_Construct()
17 void LoopThread_Close(CLoopThread *p) in LoopThread_Close() argument
19 Thread_Close(&p->thread); in LoopThread_Close()
20 Event_Close(&p->startEvent); in LoopThread_Close()
21 Event_Close(&p->finishedEvent); in LoopThread_Close()
26 CLoopThread *p = (CLoopThread *)pp; in LoopThreadFunc() local
29 if (Event_Wait(&p->startEvent) != 0) in LoopThreadFunc()
[all …]
DLzFind.c19 static void LzInWindow_Free(CMatchFinder *p, ISzAlloc *alloc) in LzInWindow_Free() argument
21 if (!p->directInput) in LzInWindow_Free()
23 alloc->Free(alloc, p->bufferBase); in LzInWindow_Free()
24 p->bufferBase = 0; in LzInWindow_Free()
30 static int LzInWindow_Create(CMatchFinder *p, UInt32 keepSizeReserv, ISzAlloc *alloc) in LzInWindow_Create() argument
32 UInt32 blockSize = p->keepSizeBefore + p->keepSizeAfter + keepSizeReserv; in LzInWindow_Create()
33 if (p->directInput) in LzInWindow_Create()
35 p->blockSize = blockSize; in LzInWindow_Create()
38 if (p->bufferBase == 0 || p->blockSize != blockSize) in LzInWindow_Create()
40 LzInWindow_Free(p, alloc); in LzInWindow_Create()
[all …]
DXzDec.c33 unsigned Xz_ReadVarInt(const Byte *p, size_t maxSize, UInt64 *value) in Xz_ReadVarInt() argument
41 Byte b = p[i]; in Xz_ReadVarInt()
76 CBraState *p = ((CBraState *)pp); in BraState_SetProps() local
78 p->ip = 0; in BraState_SetProps()
79 if (p->methodId == XZ_ID_Delta) in BraState_SetProps()
83 p->delta = (unsigned)props[0] + 1; in BraState_SetProps()
90 switch(p->methodId) in BraState_SetProps()
107 p->ip = v; in BraState_SetProps()
117 CBraState *p = ((CBraState *)pp); in BraState_Init() local
118 p->bufPos = p->bufConv = p->bufTotal = 0; in BraState_Init()
[all …]
DLzmaEnc.c47 void LzmaEncProps_Init(CLzmaEncProps *p) in LzmaEncProps_Init() argument
49 p->level = 5; in LzmaEncProps_Init()
50 p->dictSize = p->mc = 0; in LzmaEncProps_Init()
51 p->reduceSize = (UInt64)(Int64)-1; in LzmaEncProps_Init()
52 p->lc = p->lp = p->pb = p->algo = p->fb = p->btMode = p->numHashBytes = p->numThreads = -1; in LzmaEncProps_Init()
53 p->writeEndMark = 0; in LzmaEncProps_Init()
56 void LzmaEncProps_Normalize(CLzmaEncProps *p) in LzmaEncProps_Normalize() argument
58 int level = p->level; in LzmaEncProps_Normalize()
60 p->level = level; in LzmaEncProps_Normalize()
61 …if (p->dictSize == 0) p->dictSize = (level <= 5 ? (1 << (level * 2 + 14)) : (level == 6 ? (1 << 25… in LzmaEncProps_Normalize()
[all …]
DPpmd7.c18 #define U2I(nu) (p->Units2Indx[(nu) - 1])
19 #define I2U(indx) (p->Indx2Units[indx])
24 #define REF(ptr) ((UInt32)((Byte *)(ptr) - (p)->Base))
29 #define CTX(ref) ((CPpmd7_Context *)Ppmd7_GetContext(p, ref))
30 #define STATS(ctx) Ppmd7_GetStats(p, ctx)
57 #define NODE(offs) ((CPpmd7_Node *)(p->Base + (offs)))
60 void Ppmd7_Construct(CPpmd7 *p) in Ppmd7_Construct() argument
64 p->Base = 0; in Ppmd7_Construct()
69 do { p->Units2Indx[k++] = (Byte)i; } while(--step); in Ppmd7_Construct()
70 p->Indx2Units[i] = (Byte)k; in Ppmd7_Construct()
[all …]
/external/mesa3d/src/gallium/auxiliary/rtasm/
Drtasm_x86sse.c91 debug_printf( "\n%4x %14s ", p->csr - p->store, foo ); \
139 static void do_realloc( struct x86_function *p ) in do_realloc() argument
141 if (p->store == p->error_overflow) { in do_realloc()
142 p->csr = p->store; in do_realloc()
144 else if (p->size == 0) { in do_realloc()
145 p->size = 1024; in do_realloc()
146 p->store = rtasm_exec_malloc(p->size); in do_realloc()
147 p->csr = p->store; in do_realloc()
150 uintptr_t used = pointer_to_uintptr( p->csr ) - pointer_to_uintptr( p->store ); in do_realloc()
151 unsigned char *tmp = p->store; in do_realloc()
[all …]
/external/libutf/
Drunetypebody.h20 Rune *p; in isspacerune() local
22 p = rbsearch(c, __isspacer, nelem(__isspacer)/2, 2); in isspacerune()
23 if(p && c >= p[0] && c <= p[1]) in isspacerune()
76 Rune *p; in isdigitrune() local
78 p = rbsearch(c, __isdigitr, nelem(__isdigitr)/2, 2); in isdigitrune()
79 if(p && c >= p[0] && c <= p[1]) in isdigitrune()
579 Rune *p; in isalpharune() local
581 p = rbsearch(c, __isalphar, nelem(__isalphar)/2, 2); in isalpharune()
582 if(p && c >= p[0] && c <= p[1]) in isalpharune()
584 p = rbsearch(c, __isalphas, nelem(__isalphas), 1); in isalpharune()
[all …]
/external/mesa3d/src/gallium/tests/trivial/
Dquad-tex.c89 static void init_prog(struct program *p) in init_prog() argument
95 ret = pipe_loader_probe(&p->dev, 1); in init_prog()
99 p->screen = pipe_loader_create_screen(p->dev, PIPE_SEARCH_DIR); in init_prog()
100 assert(p->screen); in init_prog()
103 p->pipe = p->screen->context_create(p->screen, NULL); in init_prog()
104 p->cso = cso_create_context(p->pipe); in init_prog()
107 p->clear_color.f[0] = 0.3; in init_prog()
108 p->clear_color.f[1] = 0.1; in init_prog()
109 p->clear_color.f[2] = 0.3; in init_prog()
110 p->clear_color.f[3] = 1.0; in init_prog()
[all …]
Dtri.c84 static void init_prog(struct program *p) in init_prog() argument
90 ret = pipe_loader_probe(&p->dev, 1); in init_prog()
94 p->screen = pipe_loader_create_screen(p->dev, PIPE_SEARCH_DIR); in init_prog()
95 assert(p->screen); in init_prog()
98 p->pipe = p->screen->context_create(p->screen, NULL); in init_prog()
99 p->cso = cso_create_context(p->pipe); in init_prog()
102 p->clear_color.f[0] = 0.3; in init_prog()
103 p->clear_color.f[1] = 0.1; in init_prog()
104 p->clear_color.f[2] = 0.3; in init_prog()
105 p->clear_color.f[3] = 1.0; in init_prog()
[all …]
/external/tinyxml/
Dtinyxmlparser.cpp200 const char* p = stamp; in Stamp() local
201 assert( p ); in Stamp()
203 while ( p < now ) in Stamp()
206 const unsigned char* pU = (const unsigned char*)p; in Stamp()
220 ++p; in Stamp()
223 if (*p == '\n') { in Stamp()
224 ++p; in Stamp()
234 ++p; in Stamp()
239 if (*p == '\r') { in Stamp()
240 ++p; in Stamp()
[all …]
/external/sfntly/cpp/src/test/tinyxml/
Dtinyxmlparser.cpp209 const char* p = stamp; in Stamp() local
210 assert( p ); in Stamp()
212 while ( p < now ) in Stamp()
215 const unsigned char* pU = (const unsigned char*)p; in Stamp()
229 ++p; in Stamp()
232 if (*p == '\n') { in Stamp()
233 ++p; in Stamp()
243 ++p; in Stamp()
248 if (*p == '\r') { in Stamp()
249 ++p; in Stamp()
[all …]
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_sse.c133 static struct x86_reg get_const( struct translate_sse *p, unsigned id) in get_const() argument
138 if(p->const_to_reg[id] >= 0) in get_const()
139 return x86_make_reg(file_XMM, p->const_to_reg[id]); in get_const()
143 if(p->reg_to_const[i] < 0) in get_const()
153 if(p->reg_to_const[i] >= 0) in get_const()
154 p->const_to_reg[p->reg_to_const[i]] = -1; in get_const()
156 p->reg_to_const[i] = id; in get_const()
157 p->const_to_reg[id] = i; in get_const()
160 sse_movaps(p->func, reg, in get_const()
161 x86_make_disp(p->machine_EDI, in get_const()
[all …]
/external/tcpdump/
Dextract.h92 EXTRACT_16BITS(const void *p) in EXTRACT_16BITS() argument
94 return ((uint16_t)ntohs(((const unaligned_uint16_t *)(p))->val)); in EXTRACT_16BITS()
98 EXTRACT_32BITS(const void *p) in EXTRACT_32BITS() argument
100 return ((uint32_t)ntohl(((const unaligned_uint32_t *)(p))->val)); in EXTRACT_32BITS()
104 EXTRACT_64BITS(const void *p) in EXTRACT_64BITS() argument
106 return ((uint64_t)(((uint64_t)ntohl(((const unaligned_uint32_t *)(p) + 0)->val)) << 32 | \ in EXTRACT_64BITS()
107 ((uint64_t)ntohl(((const unaligned_uint32_t *)(p) + 1)->val)) << 0)); in EXTRACT_64BITS()
118 #define EXTRACT_16BITS(p) \ argument
119 ((uint16_t)(((uint16_t)(*((const uint8_t *)(p) + 0)) << 8) | \
120 ((uint16_t)(*((const uint8_t *)(p) + 1)) << 0)))
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_eu.c66 void brw_set_predicate_control_flag_value( struct brw_compile *p, GLuint value ) in brw_set_predicate_control_flag_value() argument
68 p->current->header.predicate_control = BRW_PREDICATE_NONE; in brw_set_predicate_control_flag_value()
71 if (value != p->flag_value) { in brw_set_predicate_control_flag_value()
72 brw_push_insn_state(p); in brw_set_predicate_control_flag_value()
73 brw_MOV(p, brw_flag_reg(), brw_imm_uw(value)); in brw_set_predicate_control_flag_value()
74 p->flag_value = value; in brw_set_predicate_control_flag_value()
75 brw_pop_insn_state(p); in brw_set_predicate_control_flag_value()
78 p->current->header.predicate_control = BRW_PREDICATE_NORMAL; in brw_set_predicate_control_flag_value()
82 void brw_set_predicate_control( struct brw_compile *p, GLuint pc ) in brw_set_predicate_control() argument
84 p->current->header.predicate_control = pc; in brw_set_predicate_control()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_program.c76 i915_get_temp(struct i915_fragment_program *p) in i915_get_temp() argument
78 int bit = ffs(~p->temp_flag); in i915_get_temp()
84 p->temp_flag |= 1 << (bit - 1); in i915_get_temp()
90 i915_get_utemp(struct i915_fragment_program * p) in i915_get_utemp() argument
92 int bit = ffs(~p->utemp_flag); in i915_get_utemp()
98 p->utemp_flag |= 1 << (bit - 1); in i915_get_utemp()
103 i915_release_utemps(struct i915_fragment_program *p) in i915_release_utemps() argument
105 p->utemp_flag = ~0x7; in i915_release_utemps()
110 i915_emit_decl(struct i915_fragment_program *p, in i915_emit_decl() argument
116 if (p->decl_t & (1 << nr)) in i915_emit_decl()
[all …]
/external/valgrind/drd/
Ddrd_mutex.c41 static void mutex_cleanup(struct mutex_info* p);
42 static Bool mutex_is_locked(struct mutex_info* const p);
43 static void mutex_delete_thread(struct mutex_info* p, const DrdThreadId tid);
68 void DRD_(mutex_initialize)(struct mutex_info* const p, in DRD_()
72 tl_assert(p->a1 == mutex); in DRD_()
74 p->cleanup = (void(*)(DrdClientobj*))mutex_cleanup; in DRD_()
75 p->delete_thread in DRD_()
77 p->mutex_type = mutex_type; in DRD_()
78 p->recursion_count = 0; in DRD_()
79 p->ignore_ordering = False; in DRD_()
[all …]
/external/selinux/secilc/docs/
Dcil_constraint_statements.md22 <td align="left"><p><code>constrain</code></p></td>
23 <td align="left"><p>The <code>constrain</code> keyword.</p></td>
26 <td align="left"><p><code>classpermissionset_id</code></p></td>
27 …t"><p>A single named or anonymous <code>classpermissionset</code> or a single set of <code>classma…
30 <td align="left"><p><code>expression</code></p></td>
31p>There must be one constraint <code>expression</code> or one or more <code>expr</code>'s. The exp…
32 <p><code> (op u1 u2)</code></p>
33 <p><code> (role_op r1 r2)</code></p>
34 <p><code> (op t1 t2)</code></p>
35 <p><code> (op u1 user_id)</code></p>
[all …]
/external/jemalloc/include/jemalloc/internal/
Datomic.h12 #define atomic_read_uint64(p) atomic_add_uint64(p, 0) argument
13 #define atomic_read_uint32(p) atomic_add_uint32(p, 0) argument
14 #define atomic_read_p(p) atomic_add_p(p, NULL) argument
15 #define atomic_read_z(p) atomic_add_z(p, 0) argument
16 #define atomic_read_u(p) atomic_add_u(p, 0) argument
44 uint64_t atomic_add_uint64(uint64_t *p, uint64_t x);
45 uint64_t atomic_sub_uint64(uint64_t *p, uint64_t x);
46 bool atomic_cas_uint64(uint64_t *p, uint64_t c, uint64_t s);
47 void atomic_write_uint64(uint64_t *p, uint64_t x);
48 uint32_t atomic_add_uint32(uint32_t *p, uint32_t x);
[all …]
/external/mesa3d/src/mesa/main/
Dffvertex_prog.c379 static struct ureg get_temp( struct tnl_program *p ) in get_temp() argument
381 int bit = ffs( ~p->temp_in_use ); in get_temp()
387 if ((GLuint) bit > p->program->Base.NumTemporaries) in get_temp()
388 p->program->Base.NumTemporaries = bit; in get_temp()
390 p->temp_in_use |= 1<<(bit-1); in get_temp()
395 static struct ureg reserve_temp( struct tnl_program *p ) in reserve_temp() argument
397 struct ureg temp = get_temp( p ); in reserve_temp()
398 p->temp_reserved |= 1<<temp.idx; in reserve_temp()
403 static void release_temp( struct tnl_program *p, struct ureg reg ) in release_temp() argument
406 p->temp_in_use &= ~(1<<reg.idx); in release_temp()
[all …]

12345678910>>...357