Home
last modified time | relevance | path

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

12345678910>>...296

/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/selinux/sepolgen/src/sepolgen/
Drefparser.py320 def p_statements(p): argument
325 if len(p) == 2 and p[1]:
326 m.children.append(p[1])
327 elif len(p) > 2 and p[2]:
328 m.children.append(p[2])
330 def p_statement(p): argument
338 p[0] = p[1]
340 def p_empty(p): argument
351 def p_policy_module_stmt(p): argument
354 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/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/lzma/C/
DLzFindMt.c8 void MtSync_Construct(CMtSync *p) in MtSync_Construct() argument
10 p->wasCreated = False; in MtSync_Construct()
11 p->csWasInitialized = False; in MtSync_Construct()
12 p->csWasEntered = False; in MtSync_Construct()
13 Thread_Construct(&p->thread); in MtSync_Construct()
14 Event_Construct(&p->canStart); in MtSync_Construct()
15 Event_Construct(&p->wasStarted); in MtSync_Construct()
16 Event_Construct(&p->wasStopped); in MtSync_Construct()
17 Semaphore_Construct(&p->freeSemaphore); in MtSync_Construct()
18 Semaphore_Construct(&p->filledSemaphore); in MtSync_Construct()
[all …]
DMtCoder.c8 void LoopThread_Construct(CLoopThread *p) in LoopThread_Construct() argument
10 Thread_Construct(&p->thread); in LoopThread_Construct()
11 Event_Construct(&p->startEvent); in LoopThread_Construct()
12 Event_Construct(&p->finishedEvent); in LoopThread_Construct()
15 void LoopThread_Close(CLoopThread *p) in LoopThread_Close() argument
17 Thread_Close(&p->thread); in LoopThread_Close()
18 Event_Close(&p->startEvent); in LoopThread_Close()
19 Event_Close(&p->finishedEvent); in LoopThread_Close()
24 CLoopThread *p = (CLoopThread *)pp; in LoopThreadFunc() local
27 if (Event_Wait(&p->startEvent) != 0) in LoopThreadFunc()
[all …]
DLzFind.c17 static void LzInWindow_Free(CMatchFinder *p, ISzAlloc *alloc) in LzInWindow_Free() argument
19 if (!p->directInput) in LzInWindow_Free()
21 alloc->Free(alloc, p->bufferBase); in LzInWindow_Free()
22 p->bufferBase = 0; in LzInWindow_Free()
28 static int LzInWindow_Create(CMatchFinder *p, UInt32 keepSizeReserv, ISzAlloc *alloc) in LzInWindow_Create() argument
30 UInt32 blockSize = p->keepSizeBefore + p->keepSizeAfter + keepSizeReserv; in LzInWindow_Create()
31 if (p->directInput) in LzInWindow_Create()
33 p->blockSize = blockSize; in LzInWindow_Create()
36 if (p->bufferBase == 0 || p->blockSize != blockSize) in LzInWindow_Create()
38 LzInWindow_Free(p, alloc); in LzInWindow_Create()
[all …]
DXzDec.c30 unsigned Xz_ReadVarInt(const Byte *p, size_t maxSize, UInt64 *value) in Xz_ReadVarInt() argument
38 Byte b = p[i]; in Xz_ReadVarInt()
73 CBraState *p = ((CBraState *)pp); in BraState_SetProps() local
75 p->encodeMode = 0; in BraState_SetProps()
76 p->ip = 0; in BraState_SetProps()
77 if (p->methodId == XZ_ID_Delta) in BraState_SetProps()
81 p->delta = (unsigned)props[0] + 1; in BraState_SetProps()
88 switch(p->methodId) in BraState_SetProps()
105 p->ip = v; in BraState_SetProps()
115 CBraState *p = ((CBraState *)pp); in BraState_Init() local
[all …]
DLzmaEnc.c45 void LzmaEncProps_Init(CLzmaEncProps *p) in LzmaEncProps_Init() argument
47 p->level = 5; in LzmaEncProps_Init()
48 p->dictSize = p->mc = 0; in LzmaEncProps_Init()
49 p->lc = p->lp = p->pb = p->algo = p->fb = p->btMode = p->numHashBytes = p->numThreads = -1; in LzmaEncProps_Init()
50 p->writeEndMark = 0; in LzmaEncProps_Init()
53 void LzmaEncProps_Normalize(CLzmaEncProps *p) in LzmaEncProps_Normalize() argument
55 int level = p->level; in LzmaEncProps_Normalize()
57 p->level = level; in LzmaEncProps_Normalize()
58 …if (p->dictSize == 0) p->dictSize = (level <= 5 ? (1 << (level * 2 + 14)) : (level == 6 ? (1 << 25… in LzmaEncProps_Normalize()
59 if (p->lc < 0) p->lc = 3; in LzmaEncProps_Normalize()
[all …]
DPpmd7.c16 #define U2I(nu) (p->Units2Indx[(nu) - 1])
17 #define I2U(indx) (p->Indx2Units[indx])
22 #define REF(ptr) ((UInt32)((Byte *)(ptr) - (p)->Base))
27 #define CTX(ref) ((CPpmd7_Context *)Ppmd7_GetContext(p, ref))
28 #define STATS(ctx) Ppmd7_GetStats(p, ctx)
55 #define NODE(offs) ((CPpmd7_Node *)(p->Base + (offs)))
58 void Ppmd7_Construct(CPpmd7 *p) in Ppmd7_Construct() argument
62 p->Base = 0; in Ppmd7_Construct()
67 do { p->Units2Indx[k++] = (Byte)i; } while(--step); in Ppmd7_Construct()
68 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/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/libvncserver/x11vnc/
Dremote.c262 char *p, *str; in add_item() local
274 p = strtok(instr, ","); in add_item()
275 while (p) { in add_item()
276 if (!strcmp(p, item)) { in add_item()
278 p = strtok(NULL, ","); in add_item()
282 } else if (*p == '\0') { in add_item()
283 p = strtok(NULL, ","); in add_item()
289 strcat(str, p); in add_item()
290 p = strtok(NULL, ","); in add_item()
302 char *p, *str; in delete_item() local
[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/chromium-trace/trace-viewer/tracing/test_data/
Dddms_calculator_start.trace3427 ��p������
3433p�qt�����
3436 X�p������
3437 H��p���
3442 H�p���;���
3451 H&�p������
3452 I&�p������
3453 �.�p������
3454 �.�p"������
3455 �.�p&������
[all …]
/external/libnfc-nci/src/hal/include/
Dnfc_types.h54 #define UINT32_TO_STREAM(p, u32) {*(p)++ = (UINT8)(u32); *(p)++ = (UINT8)((u32) >> 8); *(p)++ = (UI… argument
55 #define UINT24_TO_STREAM(p, u24) {*(p)++ = (UINT8)(u24); *(p)++ = (UINT8)((u24) >> 8); *(p)++ = (UI… argument
56 #define UINT16_TO_STREAM(p, u16) {*(p)++ = (UINT8)(u16); *(p)++ = (UINT8)((u16) >> 8);} argument
57 #define UINT8_TO_STREAM(p, u8) {*(p)++ = (UINT8)(u8);} argument
58 #define INT8_TO_STREAM(p, u8) {*(p)++ = (INT8)(u8);} argument
59 #define ARRAY32_TO_STREAM(p, a) {register int ijk; for (ijk = 0; ijk < 32; ijk++) *(p)++… argument
60 #define ARRAY16_TO_STREAM(p, a) {register int ijk; for (ijk = 0; ijk < 16; ijk++) *(p)++… argument
61 #define ARRAY8_TO_STREAM(p, a) {register int ijk; for (ijk = 0; ijk < 8; ijk++) *(p)++… argument
62 #define BDADDR_TO_STREAM(p, a) {register int ijk; for (ijk = 0; ijk < BD_ADDR_LEN; ijk++) *(p)++… argument
63 #define LAP_TO_STREAM(p, a) {register int ijk; for (ijk = 0; ijk < LAP_LEN; ijk++) *(p)++… argument
[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/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/scrypt/lib/util/
Dsysendian.h50 const uint8_t *p = (uint8_t const *)pp; in be32dec() local
52 return ((uint32_t)(p[3]) + ((uint32_t)(p[2]) << 8) + in be32dec()
53 ((uint32_t)(p[1]) << 16) + ((uint32_t)(p[0]) << 24)); in be32dec()
59 uint8_t * p = (uint8_t *)pp; in be32enc() local
61 p[3] = x & 0xff; in be32enc()
62 p[2] = (x >> 8) & 0xff; in be32enc()
63 p[1] = (x >> 16) & 0xff; in be32enc()
64 p[0] = (x >> 24) & 0xff; in be32enc()
70 const uint8_t *p = (uint8_t const *)pp; in be64dec() local
72 return ((uint64_t)(p[7]) + ((uint64_t)(p[6]) << 8) + in be64dec()
[all …]
/external/clang/test/Analysis/
Dnull-deref-ps.c13 void f1(int *p) { in f1() argument
14 if (p) *p = 1; in f1()
15 else *p = 0; // expected-warning{{ereference}} in f1()
22 int f2(struct foo_struct* p) { in f2() argument
24 if (p) in f2()
25 p->x = 1; in f2()
27 …return p->x++; // expected-warning{{Access to field 'x' results in a dereference of a null pointer… in f2()
50 int f4(int *p) { in f4() argument
52 uintptr_t x = (uintptr_t) p; in f4()
64 short *p = x; // expected-warning{{incompatible integer to pointer conversion}} in f4_b() local
[all …]

12345678910>>...296