Home
last modified time | relevance | path

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

12345678910>>...345

/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 …]
/external/selinux/sepolgen/src/sepolgen/
Drefparser.py319 def p_statements(p): argument
324 if len(p) == 2 and p[1]:
325 m.children.append(p[1])
326 elif len(p) > 2 and p[2]:
327 m.children.append(p[2])
329 def p_statement(p): argument
337 p[0] = p[1]
339 def p_empty(p): argument
350 def p_policy_module_stmt(p): argument
353 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/opencv3/modules/imgproc/src/opencl/
Dmoments.cl24 int4 S = (int4)(0, 0, 0, 0), p;
32 p = convert_int4(vload4(0, ptr));
34 p = min(p, 1);
36 S += (int4)(p.s0, 0, 0, 0) + (int4)(p.s1, p.s1, p.s1, p.s1) +
37 … (int4)(p.s2, p.s2 * 2, p.s2 * 4, p.s2 * 8) + (int4)(p.s3, p.s3 * 3, p.s3 * 9, p.s3 * 27);
38 //SUM_ELEM(p.s0, 0) + SUM_ELEM(p.s1, 1) + SUM_ELEM(p.s2, 2) + SUM_ELEM(p.s3, 3);
42 p = convert_int4(vload4(0, ptr + 4));
44 p = min(p, 1);
46 …S += (int4)(p.s0, p.s0 * 4, p.s0 * 16, p.s0 * 64) + (int4)(p.s1, p.s1 * 5, p.s1 * 25, p.s1 * 125) +
47 … (int4)(p.s2, p.s2 * 6, p.s2 * 36, p.s2 * 216) + (int4)(p.s3, p.s3 * 7, p.s3 * 49, p.s3 * 343);
[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 …]
/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/opencv3/3rdparty/include/dshow/
Ddsound.h447 #define IDirectSound_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) argument
448 #define IDirectSound_AddRef(p) (p)->lpVtbl->AddRef(p) argument
449 #define IDirectSound_Release(p) (p)->lpVtbl->Release(p) argument
451 #define IDirectSound_CreateSoundBuffer(p,a,b,c) (p)->lpVtbl->CreateSoundBuffer(p,a,b,c) argument
452 #define IDirectSound_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a) argument
453 #define IDirectSound_DuplicateSoundBuffer(p,a,b) (p)->lpVtbl->DuplicateSoundBuffer(p,a,b) argument
454 #define IDirectSound_SetCooperativeLevel(p,a,b) (p)->lpVtbl->SetCooperativeLevel(p,a,b) argument
455 #define IDirectSound_Compact(p) (p)->lpVtbl->Compact(p) argument
456 #define IDirectSound_GetSpeakerConfig(p,a) (p)->lpVtbl->GetSpeakerConfig(p,a) argument
457 #define IDirectSound_SetSpeakerConfig(p,a) (p)->lpVtbl->SetSpeakerConfig(p,a) argument
[all …]
Dddraw.h1272 #define IDirectDrawPalette_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) argument
1273 #define IDirectDrawPalette_AddRef(p) (p)->lpVtbl->AddRef(p) argument
1274 #define IDirectDrawPalette_Release(p) (p)->lpVtbl->Release(p) argument
1276 #define IDirectDrawPalette_GetCaps(p,a) (p)->lpVtbl->GetCaps(p,a) argument
1277 #define IDirectDrawPalette_GetEntries(p,a,b,c,d) (p)->lpVtbl->GetEntries(p,a,b,c,d) argument
1278 #define IDirectDrawPalette_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c) argument
1279 #define IDirectDrawPalette_SetEntries(p,a,b,c,d) (p)->lpVtbl->SetEntries(p,a,b,c,d) argument
1282 #define IDirectDrawPalette_QueryInterface(p,a,b) (p)->QueryInterface(a,b) argument
1283 #define IDirectDrawPalette_AddRef(p) (p)->AddRef() argument
1284 #define IDirectDrawPalette_Release(p) (p)->Release() argument
[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/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/js/
Dplayer.js7 var p = document.body.animate([], 0);
9 assert.equal(p.startTime, 100);
10 assert.equal(p.currentTime, 0);
14 var p = document.body.animate([], 2000);
16 assert.equal(p.startTime, 100);
17 assert.equal(p.currentTime, 0);
19 assert.equal(p.startTime, 100);
20 assert.equal(p.currentTime, 200);
24 var p = document.body.animate([], 2000);
25 p.pause();
[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/chromium-trace/catapult/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/opencv3/3rdparty/include/ffmpeg_/libavutil/
Dintreadwrite.h82 # define AV_RB16(p) AV_RN16(p) argument
84 # define AV_RN16(p) AV_RB16(p) argument
88 # define AV_WB16(p, v) AV_WN16(p, v) argument
90 # define AV_WN16(p, v) AV_WB16(p, v) argument
94 # define AV_RB24(p) AV_RN24(p) argument
96 # define AV_RN24(p) AV_RB24(p) argument
100 # define AV_WB24(p, v) AV_WN24(p, v) argument
102 # define AV_WN24(p, v) AV_WB24(p, v) argument
106 # define AV_RB32(p) AV_RN32(p) argument
108 # define AV_RN32(p) AV_RB32(p) argument
[all …]
/external/avahi/avahi-core/
Ddns.c40 AvahiDnsPacket *p; in avahi_dns_packet_new() local
53 if (!(p = avahi_malloc(sizeof(AvahiDnsPacket) + max_size))) in avahi_dns_packet_new()
54 return p; in avahi_dns_packet_new()
56 p->size = p->rindex = AVAHI_DNS_PACKET_HEADER_SIZE; in avahi_dns_packet_new()
57 p->max_size = max_size; in avahi_dns_packet_new()
58 p->name_table = NULL; in avahi_dns_packet_new()
59 p->data = NULL; in avahi_dns_packet_new()
61 memset(AVAHI_DNS_PACKET_DATA(p), 0, p->size); in avahi_dns_packet_new()
62 return p; in avahi_dns_packet_new()
66 AvahiDnsPacket *p; in avahi_dns_packet_new_query() local
[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 …]

12345678910>>...345