/external/clang/bindings/python/tests/cindex/ |
D | test_cdb.py | 32 cmds = cdb.getCompileCommands('/home/john.doe/MyProject/project.cpp') 33 assert len(cmds) != 0 38 cmds = cdb.getAllCompileCommands() 39 assert len(cmds) == 3 55 for i in range(len(cmds)): 56 assert cmds[i].directory == expected[i]['wd'] 57 assert cmds[i].filename == expected[i]['file'] 58 for arg, exp in zip(cmds[i].arguments, expected[i]['line']): 65 cmds = cdb.getCompileCommands(file) 66 assert len(cmds) == 1 [all …]
|
/external/skia/src/compute/tests/groups/ |
D | groups.c | 195 skc_styling_cmd_t cmds[3 + 1]; in groups_layers_decode() local 199 skc_styling_background_over_encoder(cmds,background); in groups_layers_decode() 201 cmds[3] = SKC_STYLING_OPCODE_SURFACE_COMPOSITE | SKC_STYLING_OPCODE_IS_FINAL; in groups_layers_decode() 205 SKC_STYLING_CMDS(cmds)); in groups_layers_decode() 244 skc_styling_cmd_t cmds[1 + 1 + 1]; in groups_layers_decode() local 246 cmds[0] = SKC_STYLING_OPCODE_COVER_NONZERO; in groups_layers_decode() 250 cmds[1] = SKC_STYLING_OPCODE_COVER_WIP_MOVE_TO_MASK; in groups_layers_decode() 251 cmds[2] = SKC_STYLING_OPCODE_COVER_MASK_INVERT | SKC_STYLING_OPCODE_IS_FINAL; in groups_layers_decode() 255 cmds[1] = SKC_STYLING_OPCODE_COVER_WIP_MOVE_TO_MASK | SKC_STYLING_OPCODE_IS_FINAL; in groups_layers_decode() 261 _countof(cmds),cmds); in groups_layers_decode() [all …]
|
/external/skqp/src/compute/tests/groups/ |
D | groups.c | 195 skc_styling_cmd_t cmds[3 + 1]; in groups_layers_decode() local 199 skc_styling_background_over_encoder(cmds,background); in groups_layers_decode() 201 cmds[3] = SKC_STYLING_OPCODE_SURFACE_COMPOSITE | SKC_STYLING_OPCODE_IS_FINAL; in groups_layers_decode() 205 SKC_STYLING_CMDS(cmds)); in groups_layers_decode() 244 skc_styling_cmd_t cmds[1 + 1 + 1]; in groups_layers_decode() local 246 cmds[0] = SKC_STYLING_OPCODE_COVER_NONZERO; in groups_layers_decode() 250 cmds[1] = SKC_STYLING_OPCODE_COVER_WIP_MOVE_TO_MASK; in groups_layers_decode() 251 cmds[2] = SKC_STYLING_OPCODE_COVER_MASK_INVERT | SKC_STYLING_OPCODE_IS_FINAL; in groups_layers_decode() 255 cmds[1] = SKC_STYLING_OPCODE_COVER_WIP_MOVE_TO_MASK | SKC_STYLING_OPCODE_IS_FINAL; in groups_layers_decode() 261 _countof(cmds),cmds); in groups_layers_decode() [all …]
|
/external/scapy/scapy/ |
D | autorun.py | 41 def autorun_commands(cmds, my_globals=None, ignore_globals=None, verb=0): argument 53 cmds = cmds.splitlines() 54 cmds.append("") # ensure we finish multi-line commands 55 cmds.reverse() 63 l = cmds.pop() 71 if len(cmds) <= 1: 79 def autorun_get_interactive_session(cmds, **kargs): argument 93 res = autorun_commands(cmds, **kargs) 101 def autorun_get_text_interactive_session(cmds, **kargs): argument 105 s,res = autorun_get_interactive_session(cmds, **kargs) [all …]
|
/external/skia/src/compute/skc/ |
D | styling.c | 102 skc_styling_cmd_t const * cmds) in skc_styling_group_enter() argument 106 styling->groups.extent[group_id].cmds.enter = styling->extras.count; in skc_styling_group_enter() 108 memcpy(styling->extras.extent + styling->extras.count,cmds,n * sizeof(*cmds)); in skc_styling_group_enter() 119 skc_styling_cmd_t const * cmds) in skc_styling_group_leave() argument 123 styling->groups.extent[group_id].cmds.leave = styling->extras.count; in skc_styling_group_leave() 125 memcpy(styling->extras.extent + styling->extras.count,cmds,n * sizeof(*cmds)); in skc_styling_group_leave() 181 skc_styling_cmd_t const * cmds) in skc_styling_group_layer() argument 187 .cmds = styling->extras.count, in skc_styling_group_layer() 191 memcpy(styling->extras.extent + styling->extras.count,cmds,n * sizeof(*cmds)); in skc_styling_group_layer() 231 skc_styling_layer_cmd_rgba_encoder(skc_styling_cmd_t * const cmds, in skc_styling_layer_cmd_rgba_encoder() argument [all …]
|
/external/skqp/src/compute/skc/ |
D | styling.c | 102 skc_styling_cmd_t const * cmds) in skc_styling_group_enter() argument 106 styling->groups.extent[group_id].cmds.enter = styling->extras.count; in skc_styling_group_enter() 108 memcpy(styling->extras.extent + styling->extras.count,cmds,n * sizeof(*cmds)); in skc_styling_group_enter() 119 skc_styling_cmd_t const * cmds) in skc_styling_group_leave() argument 123 styling->groups.extent[group_id].cmds.leave = styling->extras.count; in skc_styling_group_leave() 125 memcpy(styling->extras.extent + styling->extras.count,cmds,n * sizeof(*cmds)); in skc_styling_group_leave() 181 skc_styling_cmd_t const * cmds) in skc_styling_group_layer() argument 187 .cmds = styling->extras.count, in skc_styling_group_layer() 191 memcpy(styling->extras.extent + styling->extras.count,cmds,n * sizeof(*cmds)); in skc_styling_group_layer() 231 skc_styling_layer_cmd_rgba_encoder(skc_styling_cmd_t * const cmds, in skc_styling_layer_cmd_rgba_encoder() argument [all …]
|
/external/vboot_reference/cgpt/ |
D | cgpt.c | 30 } cmds[] = { variable 49 for (i = 0; i < sizeof(cmds)/sizeof(cmds[0]); ++i) { in Usage() 50 printf(" %-15s %s\n", cmds[i].name, cmds[i].comment); in Usage() 76 for (i = 0; command && i < sizeof(cmds)/sizeof(cmds[0]); ++i) { in main() 78 if (0 == strcmp(cmds[i].name, command)) { in main() 84 else if (0 == strncmp(cmds[i].name, command, strlen(command))) { in main() 91 return cmds[match_index].fp(argc, argv); in main()
|
/external/skqp/src/compute/skc/platforms/cl_12/ |
D | composition_cl_12.c | 110 struct skc_extent_phw1g_tdrNs_snap cmds; member 155 skc_extent_phw1g_tdrNs_free(runtime,&impl->cmds.extent); in skc_composition_pfn_release() 182 skc_extent_phw1g_tdrNs_snap_free(runtime,&place->cmds); in skc_composition_place_grid_pfn_dispose() 234 skc_uint const work_size = skc_extent_ring_snap_count(place->cmds.snap); in skc_composition_place_grid_pfn_execute() 241 cl(SetKernelArg(impl->kernels.place,3,SKC_CL_ARG(place->cmds.drN))); in skc_composition_place_grid_pfn_execute() 296 skc_extent_ring_checkpoint(&impl->cmds.ring); in skc_composition_snap() 299 skc_extent_phw1g_tdrNs_snap_init(impl->runtime,&impl->cmds.ring,&place->cmds); in skc_composition_snap() 303 &impl->cmds.extent, in skc_composition_snap() 304 &place->cmds, in skc_composition_snap() 336 skc_uint const count = skc_extent_ring_wip_count(&impl->cmds.ring); in skc_composition_pfn_seal() [all …]
|
/external/skia/src/compute/skc/platforms/cl_12/ |
D | composition_cl_12.c | 110 struct skc_extent_phw1g_tdrNs_snap cmds; member 155 skc_extent_phw1g_tdrNs_free(runtime,&impl->cmds.extent); in skc_composition_pfn_release() 182 skc_extent_phw1g_tdrNs_snap_free(runtime,&place->cmds); in skc_composition_place_grid_pfn_dispose() 234 skc_uint const work_size = skc_extent_ring_snap_count(place->cmds.snap); in skc_composition_place_grid_pfn_execute() 241 cl(SetKernelArg(impl->kernels.place,3,SKC_CL_ARG(place->cmds.drN))); in skc_composition_place_grid_pfn_execute() 296 skc_extent_ring_checkpoint(&impl->cmds.ring); in skc_composition_snap() 299 skc_extent_phw1g_tdrNs_snap_init(impl->runtime,&impl->cmds.ring,&place->cmds); in skc_composition_snap() 303 &impl->cmds.extent, in skc_composition_snap() 304 &place->cmds, in skc_composition_snap() 336 skc_uint const count = skc_extent_ring_wip_count(&impl->cmds.ring); in skc_composition_pfn_seal() [all …]
|
/external/autotest/client/profilers/cmdprofile/ |
D | cmdprofile.py | 15 def initialize(self, cmds=['ps'], interval=60, outputfile='cmdprofile', argument 23 elif outputfiles and len(outputfiles) != len(cmds): 27 (len(outputfiles), len(cmds))) 30 self.cmds = cmds 35 self.outputfiles = [outputfile] * len(cmds) 44 for cmd, outputfile in zip(self.cmds, self.outputfiles):
|
/external/skqp/modules/pathkit/ |
D | pathkit_wasm_bindings.cpp | 58 JSArray cmds = emscripten::val::array(); in ToCmds() local 60 VisitPath(path, [&cmds](SkPath::Verb verb, const SkPoint pts[4], SkPath::RawIter iter) { in ToCmds() 90 cmds.call<void>("push", cmd); in ToCmds() 92 return cmds; in ToCmds() 106 const auto* cmds = reinterpret_cast<const float*>(cptr); in FromCmds() local 118 switch (sk_float_floor2int(cmds[i++])) { in FromCmds() 121 x1 = cmds[i++], y1 = cmds[i++]; in FromCmds() 126 x1 = cmds[i++], y1 = cmds[i++]; in FromCmds() 131 x1 = cmds[i++], y1 = cmds[i++]; in FromCmds() 132 x2 = cmds[i++], y2 = cmds[i++]; in FromCmds() [all …]
|
/external/skia/modules/pathkit/ |
D | pathkit_wasm_bindings.cpp | 58 JSArray cmds = emscripten::val::array(); in ToCmds() local 60 VisitPath(path, [&cmds](SkPath::Verb verb, const SkPoint pts[4], SkPath::RawIter iter) { in ToCmds() 90 cmds.call<void>("push", cmd); in ToCmds() 92 return cmds; in ToCmds() 106 const auto* cmds = reinterpret_cast<const float*>(cptr); in FromCmds() local 118 switch (sk_float_floor2int(cmds[i++])) { in FromCmds() 121 x1 = cmds[i++], y1 = cmds[i++]; in FromCmds() 126 x1 = cmds[i++], y1 = cmds[i++]; in FromCmds() 131 x1 = cmds[i++], y1 = cmds[i++]; in FromCmds() 132 x2 = cmds[i++], y2 = cmds[i++]; in FromCmds() [all …]
|
/external/skqp/modules/pathkit/tests/ |
D | svg.spec.js | 24 let cmds = path.toCmds(); 25 expect(cmds).toBeTruthy(); 28 expect(cmds.length).toBe(6); 29 expect(cmds).toEqual([[PathKit.MOVE_VERB, 205, 5], 42 let cmds = [[PathKit.MOVE_VERB, 205, 5], 48 let path = PathKit.FromCmds(cmds); 60 let cmds = [[PathKit.MOVE_VERB, "0x15e80300", "0x400004dc"], // 9.37088e-26f, 2.0003f 66 let path = PathKit.FromCmds(cmds);
|
/external/skia/modules/pathkit/tests/ |
D | svg.spec.js | 24 let cmds = path.toCmds(); 25 expect(cmds).toBeTruthy(); 28 expect(cmds.length).toBe(6); 29 expect(cmds).toEqual([[PathKit.MOVE_VERB, 205, 5], 42 let cmds = [[PathKit.MOVE_VERB, 205, 5], 48 let path = PathKit.FromCmds(cmds); 60 let cmds = [[PathKit.MOVE_VERB, "0x15e80300", "0x400004dc"], // 9.37088e-26f, 2.0003f 66 let path = PathKit.FromCmds(cmds);
|
/external/brotli/c/enc/ |
D | block_splitter.c | 40 static size_t CountLiterals(const Command* cmds, const size_t num_commands) { in CountLiterals() argument 45 total_length += cmds[i].insert_len_; in CountLiterals() 50 static void CopyLiteralsToByteArray(const Command* cmds, in CopyLiteralsToByteArray() argument 60 size_t insert_len = cmds[i].insert_len_; in CopyLiteralsToByteArray() 72 from_pos = (from_pos + insert_len + CommandCopyLen(&cmds[i])) & mask; in CopyLiteralsToByteArray() 123 const Command* cmds, in BrotliSplitBlock() argument 133 size_t literals_count = CountLiterals(cmds, num_commands); in BrotliSplitBlock() 137 CopyLiteralsToByteArray(cmds, num_commands, data, pos, mask, literals); in BrotliSplitBlock() 155 insert_and_copy_codes[i] = cmds[i].cmd_prefix_; in BrotliSplitBlock() 175 const Command* cmd = &cmds[i]; in BrotliSplitBlock()
|
/external/autotest/client/site_tests/cellular_ModemControl/ |
D | cellular_ModemControl.py | 143 cmds = self.PickRandomCommands() 144 logging.info('Enable with %s' % cmds) 145 cmds.Enable() 148 cmds = self.PickRandomCommands() 149 logging.info('Disable with %s' % cmds) 150 cmds.Disable() 153 cmds = self.PickRandomCommands() 154 logging.info('Connect with %s' % cmds) 155 cmds.Connect(**kwargs) 158 cmds = self.PickRandomCommands() [all …]
|
/external/libdrm/freedreno/msm/ |
D | msm_ringbuffer.c | 65 struct drm_msm_gem_submit_cmd *cmds; member 75 struct msm_cmd **cmds; member 267 cmd = &msm_ring->submit.cmds[i]; in get_cmd() 276 i = APPEND(&msm_ring->submit, cmds); in get_cmd() 277 APPEND(msm_ring, cmds); in get_cmd() 278 msm_ring->cmds[i] = target_cmd; in get_cmd() 279 cmd = &msm_ring->submit.cmds[i]; in get_cmd() 331 struct msm_cmd *target_cmd = msm_ring->cmds[i]; in flush_reset() 381 struct drm_msm_gem_submit_cmd *cmd = &msm_ring->submit.cmds[i]; in dump_submit() 419 req.cmds = VOID2U64(msm_ring->submit.cmds), in msm_ringbuffer_flush() [all …]
|
/external/selinux/sandbox/ |
D | sandbox | 377 self.__options, cmds = parser.parse_args() 398 if len(cmds) > 0: 408 if len(cmds) == 0: 410 cmds[0] = fullpath(cmds[0]) 411 if not os.access(cmds[0], os.X_OK): 412 self.usage(_("%s is not an executable") % cmds[0]) 414 self.__cmds = cmds 416 for f in cmds: 451 cmds = [SEUNSHARE, "-Z", self.__execcon] 453 cmds.append('-C') [all …]
|
/external/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_allocator_module/ |
D | test_per_cpu_allocator_module.c | 34 static const struct alloc_cmd cmds[] = { variable 84 #define NR_CMDS ARRAY_SIZE(cmds) 140 verify_area(ptrs[cmdno], cmds[cmdno].size, cmdno); in free_cmd() 150 const struct alloc_cmd *cmd = &cmds[i]; in run_test() 169 if (cmds[j].marker == cmd->marker) in run_test()
|
/external/iproute2/tipc/ |
D | peer.c | 67 const struct cmd cmds[] = { in cmd_peer_rm() local 72 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_peer_rm() 87 const struct cmd cmds[] = { in cmd_peer() local 92 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_peer()
|
D | media.c | 146 const struct cmd cmds[] = { in cmd_media_get() local 153 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_media_get() 227 const struct cmd cmds[] = { in cmd_media_set() local 234 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_media_set() 252 const struct cmd cmds[] = { in cmd_media() local 259 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_media()
|
/external/skia/modules/canvaskit/tests/ |
D | path.spec.js | 172 let cmds = path.toCmds(); 173 expect(cmds).toBeTruthy(); 176 expect(cmds.length).toBe(6); 177 expect(cmds).toEqual([[CanvasKit.MOVE_VERB, 205, 5], 190 let cmds = [[CanvasKit.MOVE_VERB, 205, 5], 196 let path = CanvasKit.MakePathFromCmds(cmds);
|
/external/python/cpython3/Lib/idlelib/ |
D | undo.py | 305 self.cmds = [] 311 for cmd in self.cmds: 316 return len(self.cmds) 319 self.cmds.append(cmd) 322 return self.cmds[i] 325 for cmd in self.cmds: 329 cmds = self.cmds[:] 330 cmds.reverse() 331 for cmd in cmds:
|
/external/python/cpython2/Lib/idlelib/ |
D | UndoDelegator.py | 306 self.cmds = [] 312 for cmd in self.cmds: 317 return len(self.cmds) 320 self.cmds.append(cmd) 323 return self.cmds[i] 326 for cmd in self.cmds: 330 cmds = self.cmds[:] 331 cmds.reverse() 332 for cmd in cmds:
|
/external/skqp/experimental/canvaskit/tests/ |
D | path.spec.js | 207 let cmds = path.toCmds(); 208 expect(cmds).toBeTruthy(); 211 expect(cmds.length).toBe(6); 212 expect(cmds).toEqual([[CanvasKit.MOVE_VERB, 205, 5], 225 let cmds = [[CanvasKit.MOVE_VERB, 205, 5], 231 let path = CanvasKit.MakePathFromCmds(cmds);
|