Home
last modified time | relevance | path

Searched refs:cmds (Results 1 – 25 of 64) sorted by relevance

123

/external/linux-tools-perf/src/tools/perf/util/
Dhelp.c8 void add_cmdname(struct cmdnames *cmds, const char *name, size_t len) in add_cmdname() argument
16 ALLOC_GROW(cmds->names, cmds->cnt + 1, cmds->alloc); in add_cmdname()
17 cmds->names[cmds->cnt++] = ent; in add_cmdname()
20 static void clean_cmdnames(struct cmdnames *cmds) in clean_cmdnames() argument
24 for (i = 0; i < cmds->cnt; ++i) in clean_cmdnames()
25 free(cmds->names[i]); in clean_cmdnames()
26 free(cmds->names); in clean_cmdnames()
27 cmds->cnt = 0; in clean_cmdnames()
28 cmds->alloc = 0; in clean_cmdnames()
38 static void uniq(struct cmdnames *cmds) in uniq() argument
[all …]
Dhelp.h22 void add_cmdname(struct cmdnames *cmds, const char *name, size_t len);
24 void exclude_cmds(struct cmdnames *cmds, struct cmdnames *excludes);
/external/clang/bindings/python/tests/cindex/
Dtest_cdb.py32 cmds = cdb.getCompileCommands('/home/john.doe/MyProject/project.cpp')
33 assert len(cmds) != 0
38 cmds = cdb.getAllCompileCommands()
39 assert len(cmds) == 3
51 for i in range(len(cmds)):
52 assert cmds[i].directory == expected[i]['wd']
53 for arg, exp in zip(cmds[i].arguments, expected[i]['line']):
59 cmds = cdb.getCompileCommands('/home/john.doe/MyProject/project.cpp')
60 assert len(cmds) == 1
61 assert cmds[0].directory == '/home/john.doe/MyProject'
[all …]
/external/vboot_reference/cgpt/
Dcgpt.c30 } 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/mesa3d/src/gallium/state_trackers/vega/
Dvgu.c42 const VGubyte *cmds, in vgu_append_float_coords() argument
51 vgAppendPathData(path, num_cmds, cmds, common_data); in vgu_append_float_coords()
58 static const VGubyte cmds[] = {VG_MOVE_TO_ABS, VG_LINE_TO_ABS}; in vguLine() local
75 vgu_append_float_coords(path, cmds, 2, coords, 4); in vguLine()
85 VGubyte *cmds; in vguPolygon() local
103 cmds = malloc(sizeof(VGubyte) * count + 1); in vguPolygon()
106 cmds[0] = VG_MOVE_TO_ABS; in vguPolygon()
110 cmds[i] = VG_LINE_TO_ABS; in vguPolygon()
116 cmds[i] = VG_CLOSE_PATH; in vguPolygon()
120 vgu_append_float_coords(path, cmds, i, coords, 2*i); in vguPolygon()
[all …]
Dstroker.c76 const VGubyte *cmds; member
151 return it->cmds[it->position]; in stroke_fw_current_command()
160 prev_cmd = it->cmds[it->position + 1]; in stroke_bw_current_command()
197 struct array *cmds, in stroke_itr_common_init() argument
200 itr->cmds = (VGubyte*)cmds->data; in stroke_itr_common_init()
201 itr->num_commands = cmds->num_elements; in stroke_itr_common_init()
208 struct array *cmds, in stroke_forward_iterator() argument
211 stroke_itr_common_init(itr, cmds, coords); in stroke_forward_iterator()
222 struct array *cmds, in stroke_backward_iterator() argument
226 stroke_itr_common_init(itr, cmds, coords); in stroke_backward_iterator()
[all …]
/external/selinux/policycoreutils/sandbox/
Dsandbox347 self.__options, cmds = parser.parse_args()
368 if len(cmds) > 0:
378 if len(cmds) == 0:
380 cmds[0] = fullpath(cmds[0])
381 if not os.access(cmds[0], os.X_OK):
382 self.usage(_("%s is not an executable") % cmds[0] )
384 self.__cmds = cmds
386 for f in cmds:
424 cmds = [ SEUNSHARE, "-Z", self.__execcon ]
426 cmds.append('-C')
[all …]
/external/linux-tools-perf/src/tools/perf/Documentation/
DMakefile238 _cmds_txt = cmds-ancillaryinterrogators.txt \
239 cmds-ancillarymanipulators.txt \
240 cmds-mainporcelain.txt \
241 cmds-plumbinginterrogators.txt \
242 cmds-plumbingmanipulators.txt \
243 cmds-synchingrepositories.txt \
244 cmds-synchelpers.txt \
245 cmds-purehelpers.txt \
246 cmds-foreignscminterface.txt
/external/selinux/policycoreutils/scripts/
Dchcat378 gopts, cmds = getopt.getopt(sys.argv[1:], variable
395 if list_ind == 0 and len(cmds) < 1:
405 sys.exit(chcat_replace(["s0"], cmds, login_ind))
409 sys.exit(listusercats(cmds))
411 if len(cmds) > 0:
415 if len(cmds) < 2:
419 cats = cmds[0].split(",")
422 objects = cmds[1:]
/external/libcxx/buildcmds/
D.gitignore2 cxx.cmds
3 link.cmds
Dbuildcmdscc10 | perl -ne 's/\S+\.o\b/%OUT%/; print' > $DIR/cxx.cmds
13 | perl -ne 's/-o\s+\S+\b/-o %OUT%/; print' > $DIR/link.cmds
/external/libedit/src/
Dparse.c63 } cmds[] = { variable
125 for (i = 0; cmds[i].name != NULL; i++) in FUN()
126 if (Strcmp(cmds[i].name, ptr) == 0) { in FUN()
127 i = (*cmds[i].func) (el, argc, argv); in FUN()
/external/libdrm/freedreno/msm/
Dmsm_ringbuffer.c49 struct drm_msm_gem_submit_cmd *cmds; member
131 cmd = &msm_ring->cmds[i]; in get_cmd()
142 uint32_t idx = APPEND(msm_ring, cmds); in get_cmd()
145 cmd = &msm_ring->cmds[idx]; in get_cmd()
212 req.cmds = VOID2U64(msm_ring->cmds), in msm_ringbuffer_flush()
217 struct drm_msm_gem_submit_cmd *cmd = &msm_ring->cmds[i]; in msm_ringbuffer_flush()
/external/linux-tools-perf/src/tools/perf/
Dbash_completion44 cmds=$($cmd --list-cmds)
45 COMPREPLY=( $( compgen -W '$cmds' -- "$cur" ) )
/external/strace/
Daio.c78 } cmds[] = { in tprint_lio_opcode() local
90 if (cmd < ARRAY_SIZE(cmds)) { in tprint_lio_opcode()
91 tprints(cmds[cmd].name); in tprint_lio_opcode()
92 return cmds[cmd].sub; in tprint_lio_opcode()
/external/toybox/toys/other/
Dblockdev.c41 int cmds[] = {BLKRRPART, BLKFLSBUF, BLKGETSIZE64, BLKGETSIZE, BLKGETSIZE64, local
63 xioctl(fd, cmds[i], &val);
/external/fio/engines/
Dbinject.c23 struct b_user_cmd *cmds; member
99 void *buf = bd->cmds; in fio_binject_getevents()
383 free(bd->cmds); in fio_binject_cleanup()
397 bd->cmds = malloc(td->o.iodepth * sizeof(struct b_user_cmd)); in fio_binject_init()
398 memset(bd->cmds, 0, td->o.iodepth * sizeof(struct b_user_cmd)); in fio_binject_init()
Dsg.c24 struct sgio_cmd *cmds; member
36 struct sgio_cmd *sc = &sd->cmds[io_u->index]; in sgio_hdr_init()
315 free(sd->cmds); in fio_sgio_cleanup()
329 sd->cmds = malloc(td->o.iodepth * sizeof(struct sgio_cmd)); in fio_sgio_init()
330 memset(sd->cmds, 0, td->o.iodepth * sizeof(struct sgio_cmd)); in fio_sgio_init()
/external/blktrace/btt/
Dbno_plot.py44 cmds = """ variable
110 print >>fo, cmds
/external/jpeg/
Dltmain.sh1032 for cmd in $cmds; do
1131 eval cmds=\"$reload_cmds\"
1133 for cmd in $cmds; do
1546 eval cmds=\"$old_archive_from_new_cmds\"
1551 for cmd in $cmds; do
1834 eval cmds=\"$postinstall_cmds\"
1836 for cmd in $cmds; do
1971 eval cmds=\"$old_postinstall_cmds\"
1973 for cmd in $cmds; do
2237 eval cmds=\"$postuninstall_cmds\"
[all …]
/external/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_dump.py175 cmds = [ variable
218 for id, header, body, footer in cmds:
326 for id, header, body, footer in cmds:
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_video.h33 unsigned *cmds; member
50 dec->cmds[dec->ofs++] = data; in nouveau_vpe_write()
/external/openssh/
Dsftp.c179 static const struct CMD cmds[] = { variable
1237 for (i = 0; cmds[i].c != NULL; i++) { in parse_args()
1238 if (argv[0] != NULL && strcasecmp(cmds[i].c, argv[0]) == 0) in parse_args()
1241 cmdnum = cmds[i].n; in parse_args()
1242 cmd = cmds[i].c; in parse_args()
1736 list = xcalloc((sizeof(cmds) / sizeof(*cmds)) + 1, sizeof(char *)); in complete_cmd_parse()
1740 for (y = 0; cmds[y].c; y++) in complete_cmd_parse()
1741 list[count++] = xstrdup(cmds[y].c); in complete_cmd_parse()
1754 for (y = 0; cmds[y].c; y++) { in complete_cmd_parse()
1755 if (!strncasecmp(cmd, cmds[y].c, cmdlen)) in complete_cmd_parse()
[all …]
/external/tcpdump/
Dprint-telnet.c71 static const char *cmds[] = { variable
197 (void)printf(" %s", STR_OR_ID(c, cmds)); in telnet_parse()
/external/iproute2/ip/
Dip.c65 } cmds[] = { variable
94 for (c = cmds; c->cmd; ++c) { in do_cmd()

123