/external/valgrind/memcheck/tests/ |
D | deep-backtrace.c | 1 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/ply/ply/example/BASIC/ |
D | basparse.py | 20 def p_program(p): argument 24 if len(p) == 2 and p[1]: 25 p[0] = {} 26 line, stat = p[1] 27 p[0][line] = stat 28 elif len(p) == 3: 29 p[0] = p[1] 30 if not p[0]: 31 p[0] = {} 32 if p[2]: [all …]
|
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/parse/ |
D | parser.py | 73 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/ |
D | refparser.py | 321 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/tcpdump/ |
D | extract.h | 92 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/x86/rtasm/ |
D | x86sse.c | 20 static void do_realloc( struct x86_function *p ) in do_realloc() argument 22 if (p->size == 0) { in do_realloc() 23 p->size = 1024; in do_realloc() 24 p->store = _mesa_exec_malloc(p->size); in do_realloc() 25 p->csr = p->store; in do_realloc() 28 unsigned used = p->csr - p->store; in do_realloc() 29 unsigned char *tmp = p->store; in do_realloc() 30 p->size *= 2; in do_realloc() 31 p->store = _mesa_exec_malloc(p->size); in do_realloc() 32 memcpy(p->store, tmp, used); in do_realloc() [all …]
|
/external/swiftshader/include/Direct3D/ |
D | d3d8.h | 191 #define IDirect3D8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) argument 192 #define IDirect3D8_AddRef(p) (p)->lpVtbl->AddRef(p) argument 193 #define IDirect3D8_Release(p) (p)->lpVtbl->Release(p) argument 194 #define IDirect3D8_RegisterSoftwareDevice(p,a) (p)->lpVtbl->RegisterSoftwareDevice(p,a) argument 195 #define IDirect3D8_GetAdapterCount(p) (p)->lpVtbl->GetAdapterCount(p) argument 196 #define IDirect3D8_GetAdapterIdentifier(p,a,b,c) (p)->lpVtbl->GetAdapterIdentifier(p,a,b,c) argument 197 #define IDirect3D8_GetAdapterModeCount(p,a) (p)->lpVtbl->GetAdapterModeCount(p,a) argument 198 #define IDirect3D8_EnumAdapterModes(p,a,b,c) (p)->lpVtbl->EnumAdapterModes(p,a,b,c) argument 199 #define IDirect3D8_GetAdapterDisplayMode(p,a,b) (p)->lpVtbl->GetAdapterDisplayMode(p,a,b) argument 200 #define IDirect3D8_CheckDeviceType(p,a,b,c,d,e) (p)->lpVtbl->CheckDeviceType(p,a,b,c,d,e) argument [all …]
|
/external/ply/ply/example/yply/ |
D | yparse.py | 17 def p_yacc(p): argument 21 def p_defsection(p): argument 24 p.lexer.lastsection = 1 33 def p_rulesection(p): argument 37 print_code(p[2], 0) 40 def p_definitions(p): argument 45 def p_definition_literal(p): argument 47 print_code(p[1], 0) 50 def p_definition_start(p): argument 52 print("start = '%s'" % p[2]) [all …]
|
/external/lzma/C/ |
D | LzFindMt.c | 10 static 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 …]
|
D | Bcj2Enc.c | 28 void Bcj2Enc_Init(CBcj2Enc *p) in Bcj2Enc_Init() argument 32 p->state = BCJ2_ENC_STATE_OK; in Bcj2Enc_Init() 33 p->finishMode = BCJ2_ENC_FINISH_MODE_CONTINUE; in Bcj2Enc_Init() 35 p->prevByte = 0; in Bcj2Enc_Init() 37 p->cache = 0; in Bcj2Enc_Init() 38 p->range = 0xFFFFFFFF; in Bcj2Enc_Init() 39 p->low = 0; in Bcj2Enc_Init() 40 p->cacheSize = 1; in Bcj2Enc_Init() 42 p->ip = 0; in Bcj2Enc_Init() 44 p->fileIp = 0; in Bcj2Enc_Init() [all …]
|
D | MtCoder.c | 8 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 …]
|
D | XzDec.c | 33 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 …]
|
D | LzmaEnc.c | 50 void LzmaEncProps_Init(CLzmaEncProps *p) in LzmaEncProps_Init() argument 52 p->level = 5; in LzmaEncProps_Init() 53 p->dictSize = p->mc = 0; in LzmaEncProps_Init() 54 p->reduceSize = (UInt64)(Int64)-1; in LzmaEncProps_Init() 55 p->lc = p->lp = p->pb = p->algo = p->fb = p->btMode = p->numHashBytes = p->numThreads = -1; in LzmaEncProps_Init() 56 p->writeEndMark = 0; in LzmaEncProps_Init() 59 void LzmaEncProps_Normalize(CLzmaEncProps *p) in LzmaEncProps_Normalize() argument 61 int level = p->level; in LzmaEncProps_Normalize() 63 p->level = level; in LzmaEncProps_Normalize() 65 …if (p->dictSize == 0) p->dictSize = (level <= 5 ? (1 << (level * 2 + 14)) : (level == 6 ? (1 << 25… in LzmaEncProps_Normalize() [all …]
|
D | Ppmd7.c | 18 #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 …]
|
D | Bcj2.c | 16 #define _IF_BIT_0 ttt = *prob; bound = (p->range >> kNumModelBits) * ttt; if (p->code < bound) 17 #define _UPDATE_0 p->range = bound; *prob = (CProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits)); 18 #define _UPDATE_1 p->range -= bound; p->code -= bound; *prob = (CProb)(ttt - (ttt >> kNumMoveBits)); 20 void Bcj2Dec_Init(CBcj2Dec *p) in Bcj2Dec_Init() argument 24 p->state = BCJ2_DEC_STATE_OK; in Bcj2Dec_Init() 25 p->ip = 0; in Bcj2Dec_Init() 26 p->temp[3] = 0; in Bcj2Dec_Init() 27 p->range = 0; in Bcj2Dec_Init() 28 p->code = 0; in Bcj2Dec_Init() 29 for (i = 0; i < sizeof(p->probs) / sizeof(p->probs[0]); i++) in Bcj2Dec_Init() [all …]
|
/external/mesa3d/src/gallium/tests/trivial/ |
D | quad-tex.c | 89 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); in init_prog() 100 assert(p->screen); in init_prog() 103 p->pipe = p->screen->context_create(p->screen, NULL, 0); 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 …]
|
D | tri.c | 84 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); in init_prog() 95 assert(p->screen); in init_prog() 98 p->pipe = p->screen->context_create(p->screen, NULL, 0); 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/mesa3d/src/gallium/auxiliary/rtasm/ |
D | rtasm_x86sse.c | 92 debug_printf( "\n%4x %14s ", p->csr - p->store, foo ); \ 140 static void do_realloc( struct x86_function *p ) in do_realloc() argument 142 if (p->store == p->error_overflow) { in do_realloc() 143 p->csr = p->store; in do_realloc() 145 else if (p->size == 0) { in do_realloc() 146 p->size = 1024; in do_realloc() 147 p->store = rtasm_exec_malloc(p->size); in do_realloc() 148 p->csr = p->store; in do_realloc() 151 uintptr_t used = pointer_to_uintptr( p->csr ) - pointer_to_uintptr( p->store ); in do_realloc() 152 unsigned char *tmp = p->store; in do_realloc() [all …]
|
/external/tinyxml/ |
D | tinyxmlparser.cpp | 200 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/ |
D | tinyxmlparser.cpp | 209 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/ply/ply/example/GardenSnake/ |
D | GardenSnake.py | 386 def p_file_input_end(p): argument 388 p[0] = ast.Stmt(p[1]) 391 def p_file_input(p): argument 396 if isinstance(p[len(p) - 1], basestring): 397 if len(p) == 3: 398 p[0] = p[1] 400 p[0] = [] # p == 2 --> only a blank line 402 if len(p) == 3: 403 p[0] = p[1] + p[2] 405 p[0] = p[1] [all …]
|
/external/mesa3d/src/gallium/auxiliary/translate/ |
D | translate_sse.c | 142 get_const(struct translate_sse *p, unsigned id) in get_const() argument 147 if (p->const_to_reg[id] >= 0) in get_const() 148 return x86_make_reg(file_XMM, p->const_to_reg[id]); in get_const() 151 if (p->reg_to_const[i] < 0) in get_const() 161 if (p->reg_to_const[i] >= 0) in get_const() 162 p->const_to_reg[p->reg_to_const[i]] = -1; in get_const() 164 p->reg_to_const[i] = id; in get_const() 165 p->const_to_reg[id] = i; in get_const() 168 sse_movaps(p->func, reg, in get_const() 169 x86_make_disp(p->machine_EDI, in get_const() [all …]
|
/external/libpcap/ |
D | extract.h | 96 EXTRACT_16BITS(const void *p) in EXTRACT_16BITS() argument 98 return ((uint16_t)ntohs(((const unaligned_uint16_t *)(p))->val)); in EXTRACT_16BITS() 102 EXTRACT_32BITS(const void *p) in EXTRACT_32BITS() argument 104 return ((uint32_t)ntohl(((const unaligned_uint32_t *)(p))->val)); in EXTRACT_32BITS() 108 EXTRACT_64BITS(const void *p) in EXTRACT_64BITS() argument 110 return ((uint64_t)(((uint64_t)ntohl(((const unaligned_uint32_t *)(p) + 0)->val)) << 32 | \ in EXTRACT_64BITS() 111 ((uint64_t)ntohl(((const unaligned_uint32_t *)(p) + 1)->val)) << 0)); in EXTRACT_64BITS() 122 #define EXTRACT_16BITS(p) \ argument 123 ((uint16_t)(((uint16_t)(*((const uint8_t *)(p) + 0)) << 8) | \ 124 ((uint16_t)(*((const uint8_t *)(p) + 1)) << 0))) [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_program.c | 76 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/ |
D | drd_mutex.c | 41 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 …]
|