Home
last modified time | relevance | path

Searched refs:command (Results 1 - 25 of 976) sorted by relevance

12345678910>>...40

/third_party/toybox/toys/posix/
H A Dsed.c28 -n No default output (use the p command to output matched lines)
39 Each COMMAND may be preceded by an address which limits the command to
66 of input early (using the n and N command), but other than that command
72 ! Run this command when the test _didn't_ match.
74 { Start a new command block, continuing until a corresponding "}".
78 } End command block (this command cannot have an address)
83 D Delete one line of input and restart command SCRIPT (same as "d"
150 t [label] Test, jump to :label only if an "s" command foun
244 get_regex(void *command, int offset) get_regex() argument
264 struct sedcmd *command; sed_line() local
658 struct sedcmd *command; do_sed_file() local
750 struct sedcmd *command = (void *)TT.pattern; parse_pattern() local
[all...]
/third_party/astc-encoder/Test/
H A Dastc_test_functional.py20 command line is correctly handled, under both valid and invalid usage
22 some very basic incidental usage needed to validate the command line.
37 constant color blocks, are used to help determine that the command line is
117 These tests are designed to test the command line is handled correctly.
236 These tests are designed to test the command line is handled correctly.
403 def exec(self, command, pattern=None):
411 command (list(str)): The command to execute.
421 result = sp.run(command, stdout=sp.PIPE, stderr=sp.PIPE,
431 print("\n" + " ".join(command))
[all...]
/third_party/vk-gl-cts/scripts/opengl/
H A Dgen_wrapper.py36 def commandAliasDefinition (command):
37 return "#define\t%s\t%s" % (command.name, getMangledName(command.name))
39 def commandWrapperDeclaration (command):
41 command.type,
42 getMangledName(command.name),
43 ", ".join([param.declaration for param in command.params]))
51 def getDefaultReturn (command):
52 if command.name == "glGetError":
55 assert command
[all...]
H A Dgen_null_render_context.py57 def commandDummyImpl (command):
58 if command.name in OVERRIDE_FUNCS:
66 returnType = command.type,
67 commandName = command.name,
68 paramDecls = commandParams(command),
69 body = ''.join("\tDE_UNREF(%s);\n" % p.name for p in command.params),
70 maybeReturn = "\n\treturn (%s)0;" % command.type if command.type != 'void' else "")
72 def commandInitStatement (command):
73 return "gl->%s\t= %s;" % (getFunctionMemberName(command
[all...]
H A Dgen_ext_init.py36 for command in iface.commands:
37 cmdMap[command.name] = command
55 def genInit (command):
56 ifaceName = command.alias.name if command.alias and command.name not in ALIASING_EXCEPTIONS else command.name
60 command.name)
62 for line in indentLines(genInit(command) fo
[all...]
/third_party/vk-gl-cts/scripts/egl/
H A Dlibrary.py33 def virtualMemberDecl (command):
35 command.type,
36 getFunctionMemberName(command.name),
37 commandParams(command))
39 def concreteMemberDecl (command):
41 command.type,
42 getFunctionMemberName(command.name),
43 commandParams(command))
45 def memberImpl (command):
52 returnType = command
[all...]
H A Dgtf_wrapper.py39 def commandAliasDefinition (command):
40 return "#define\t%s\t%s" % (command.name, getMangledName(command.name))
42 def commandWrapperDeclaration (command):
44 command.type,
45 getMangledName(command.name),
46 ", ".join([param.declaration for param in command.params]))
54 def commandWrapperDefinition (command):
66 for param in command.params:
73 returnType = command
[all...]
H A Dcall_log_wrapper.py71 def prefixedParams (command):
72 if len(command.params) > 0:
73 return ", ".join(eglwPrefix(param.declaration) for param in command.params)
77 def commandLogWrapperMemberDecl (command):
78 return "%s\t%s\t(%s);" % (eglwPrefix(command.type), command.name, prefixedParams(command))
90 def commandLogWrapperMemberDef (command):
93 logSpec = CALL_LOG_SPECS[command.name]
98 src += "%s CallLogWrapper::%s (%s)\n{\n" % (eglwPrefix(command
[all...]
/third_party/rust/crates/clap/tests/derive/
H A Dhelp.rs15 let cmd = CliOptions::command(); in arg_help_heading_applied()
33 #[command(next_help_heading = "DEFAULT")] in app_help_heading_applied()
43 let cmd = CliOptions::command(); in app_help_heading_applied()
68 #[command(flatten)] in app_help_heading_flattened()
71 #[command(flatten)] in app_help_heading_flattened()
74 #[command(subcommand)] in app_help_heading_flattened()
82 #[command(next_help_heading = "HEADING A")] in app_help_heading_flattened()
89 #[command(next_help_heading = "HEADING B")] in app_help_heading_flattened()
97 #[command(flatten)] in app_help_heading_flattened()
99 #[command(subcomman in app_help_heading_flattened()
[all...]
H A Dapp_name.rs10 #[command(name = "my-cmd")] in app_name_in_short_help_from_struct()
21 #[command(name = "my-cmd")] in app_name_in_long_help_from_struct()
32 #[command(name = "my-cmd")] in app_name_in_short_help_from_enum()
43 #[command(name = "my-cmd")] in app_name_in_long_help_from_enum()
54 #[command(name = "my-cmd")] in app_name_in_short_version_from_struct()
57 let version = MyApp::command().render_version(); in app_name_in_short_version_from_struct()
65 #[command(name = "my-cmd")] in app_name_in_long_version_from_struct()
68 let version = MyApp::command().render_long_version(); in app_name_in_long_version_from_struct()
76 #[command(name = "my-cmd")] in app_name_in_short_version_from_enum()
79 let version = MyApp::command() in app_name_in_short_version_from_enum()
[all...]
/third_party/toybox/scripts/
H A Dmkflags.c2 // The three words on each input lnie are command name, option string with
18 char *command; member
80 // Break down a command string into linked list of "struct flag".
95 new->command = ++string; in digest()
98 if (list && list->command) { in digest()
131 new->command = string++; in digest()
157 char command[256], flags[1023], allflags[1024]; in main() local
173 *command = *flags = *allflags = 0; in main()
175 command, flags, allflags); in main()
180 fprintf(stderr, "command in main()
[all...]
/third_party/vk-gl-cts/external/amber/src/src/
H A Dverifier.cc23 #include "src/command.h"
95 Result CheckActualValue(const ProbeSSBOCommand* command, in CheckActualValue() argument
98 const auto comp = command->GetComparator(); in CheckActualValue()
99 const auto& tolerance = command->GetTolerances(); in CheckActualValue()
135 command->HasTolerances() ? tolerance[0].value : kEpsilon, in CheckActualValue()
136 command->HasTolerances() ? tolerance[0].is_percent : true)) { in CheckActualValue()
166 Result CheckValue(const ProbeSSBOCommand* command, in CheckValue() argument
170 return CheckActualValue<T>(command, *ptr, value); in CheckValue()
173 void SetupToleranceForTexels(const ProbeCommand* command, in SetupToleranceForTexels() argument
176 if (command in SetupToleranceForTexels()
314 IsTexelEqualToExpected(const std::vector<double>& texel, const Format* fmt, const ProbeCommand* command, const double* tolerance, const bool* is_tolerance_percent) IsTexelEqualToExpected() argument
399 Probe(const ProbeCommand* command, const Format* fmt, uint32_t texel_stride, uint32_t row_stride, uint32_t frame_width, uint32_t frame_height, const void* buf) Probe() argument
516 ProbeSSBO(const ProbeSSBOCommand* command, uint32_t buffer_element_count, const void* buffer) ProbeSSBO() argument
[all...]
/third_party/python/Lib/test/
H A Dtest_sundry.py28 import distutils.command.bdist_dumb namespace
29 import distutils.command.bdist namespace
30 import distutils.command.bdist_rpm namespace
31 import distutils.command.build_clib namespace
32 import distutils.command.build_ext namespace
33 import distutils.command.build namespace
34 import distutils.command.clean namespace
35 import distutils.command.config namespace
36 import distutils.command.install_data namespace
37 import distutils.command namespace
38 import distutils.command.install_headers global() namespace
39 import distutils.command.install_lib global() namespace
40 import distutils.command.register global() namespace
41 import distutils.command.sdist global() namespace
42 import distutils.command.upload global() namespace
[all...]
/third_party/skia/tools/
H A Ddump_record.cpp27 "If true, print time next to command, else in first column.");
45 void operator()(const T& command) { in operator ()() argument
47 fDraw(command); in operator ()()
48 this->print(command, SkTime::GetNSecs() - start); in operator ()()
56 void print(const T& command, double ns) { in print() argument
57 this->printNameAndTime(command, ns); in print()
60 void print(const SkRecords::Restore& command, double ns) { in print() argument
62 this->printNameAndTime(command, ns); in print()
65 void print(const SkRecords::Save& command, double ns) { in print() argument
66 this->printNameAndTime(command, n in print()
70 print(const SkRecords::SaveLayer& command, double ns) print() argument
75 print(const SkRecords::DrawPicture& command, double ns) print() argument
90 print(const SkRecords::DrawAnnotation& command, double ns) print() argument
109 printNameAndTime(const T& command, double ns) printNameAndTime() argument
[all...]
/third_party/node/benchmark/child_process/
H A Dchild-process-params.js6 const command = 'echo';
31 for (let i = 0; i < n; i++) method(command).kill();
36 for (let i = 0; i < n; i++) method(command, options).kill();
41 for (let i = 0; i < n; i++) method(command, options, cb).kill();
50 for (let i = 0; i < n; i++) method(command);
55 for (let i = 0; i < n; i++) method(command, options);
64 for (let i = 0; i < n; i++) method(command).kill();
69 for (let i = 0; i < n; i++) method(command, args).kill();
74 for (let i = 0; i < n; i++) method(command, args, options).kill();
79 for (let i = 0; i < n; i++) method(command, arg
[all...]
/third_party/ffmpeg/doc/
H A Dt2h.pm67 my $command = shift;
75 $result .= $self->command_string($command) ."\n" if ($cmdname ne 'node');
80 my $element_id = $self->command_id($command);
84 print STDERR "Process $command "
85 .Texinfo::Structuring::_print_root_command_texi($command)."\n"
88 if ($Texinfo::Common::root_commands{$command->{'cmdname'}}
89 and $command->{'parent'}
90 and $command->{'parent'}->{'type'}
91 and $command->{'parent'}->{'type'} eq 'element') {
92 $element = $command
[all...]
/third_party/ninja/src/
H A Dbrowse.cc51 std::vector<const char *> command; in RunBrowsePython() local
52 command.push_back(NINJA_PYTHON); in RunBrowsePython()
53 command.push_back("-"); in RunBrowsePython()
54 command.push_back("--ninja-command"); in RunBrowsePython()
55 command.push_back(ninja_command); in RunBrowsePython()
56 command.push_back("-f"); in RunBrowsePython()
57 command.push_back(input_file); in RunBrowsePython()
59 command.push_back(argv[i]); in RunBrowsePython()
61 command in RunBrowsePython()
[all...]
/third_party/gn/misc/
H A Dhelp_as_html.py31 command, sep, rest = line.partition(':')
32 command = command.strip()
33 is_option = command.startswith('-')
36 commands.append(command)
37 output_line.append('<a href="#' + cgi.escape(command) + '">')
38 output_line.append(cgi.escape(command))
48 def ParseCommand(command, out):
56 output.append('<h3><a name="' + cgi.escape(command) + '">' +
98 for command i
[all...]
/third_party/backends/backend/
H A Dpieusb_scancmd.c47 * Each scanner command has its own function.
64 static void _prep_scsi_cmd(SANE_Byte* command_bytes, SANE_Byte command, SANE_Word size);
187 * Perform a TEST UNIT READY (SCSI command code 0x00)
200 SANE_Byte command[SCSI_COMMAND_LEN]; in sanei_pieusb_cmd_test_unit_ready() local
204 _prep_scsi_cmd (command, SCSI_TEST_UNIT_READY, 0); in sanei_pieusb_cmd_test_unit_ready()
206 status->pieusb_status = sanei_pieusb_command (device_number, command, NULL, 0); in sanei_pieusb_cmd_test_unit_ready()
221 SANE_Byte command[SCSI_COMMAND_LEN]; in sanei_pieusb_cmd_slide() local
227 _prep_scsi_cmd(command, SCSI_SLIDE, SLIDE_DATA_SIZE); in sanei_pieusb_cmd_slide()
232 status->pieusb_status = sanei_pieusb_command(device_number, command, data, SLIDE_DATA_SIZE); in sanei_pieusb_cmd_slide()
237 * Perform a REQUEST SENSE (SCSI command cod
252 SANE_Byte command[SCSI_COMMAND_LEN]; sanei_pieusb_cmd_get_sense() local
308 SANE_Byte command[SCSI_COMMAND_LEN]; sanei_pieusb_cmd_get_scan_frame() local
356 SANE_Byte command[SCSI_COMMAND_LEN]; sanei_pieusb_cmd_17() local
388 SANE_Byte command[SCSI_COMMAND_LEN]; sanei_pieusb_cmd_get_shading_parms() local
460 SANE_Byte command[SCSI_COMMAND_LEN]; sanei_pieusb_cmd_get_scanned_lines() local
483 SANE_Byte command[SCSI_COMMAND_LEN]; sanei_pieusb_cmd_set_scan_frame() local
523 SANE_Byte command[SCSI_COMMAND_LEN]; sanei_pieusb_cmd_set_exposure_time() local
560 SANE_Byte command[SCSI_COMMAND_LEN]; sanei_pieusb_cmd_set_highlight_shadow() local
598 SANE_Byte command[SCSI_COMMAND_LEN]; sanei_pieusb_cmd_get_parameters() local
662 SANE_Byte command[SCSI_COMMAND_LEN]; sanei_pieusb_cmd_inquiry() local
733 SANE_Byte command[SCSI_COMMAND_LEN]; sanei_pieusb_cmd_set_mode() local
821 SANE_Byte command[SCSI_COMMAND_LEN]; sanei_pieusb_cmd_get_ccd_mask() local
845 SANE_Byte command[SCSI_COMMAND_LEN]; sanei_pieusb_cmd_get_mode() local
923 SANE_Byte command[SCSI_COMMAND_LEN]; sanei_pieusb_cmd_start_scan() local
942 SANE_Byte command[SCSI_COMMAND_LEN]; sanei_pieusb_cmd_stop_scan() local
972 SANE_Byte command[SCSI_COMMAND_LEN]; sanei_pieusb_cmd_set_scan_head() local
1024 SANE_Byte command[SCSI_COMMAND_LEN]; sanei_pieusb_cmd_get_gain_offset() local
1081 SANE_Byte command[SCSI_COMMAND_LEN]; sanei_pieusb_cmd_set_gain_offset() local
1169 SANE_Byte command[SCSI_COMMAND_LEN]; sanei_pieusb_cmd_read_state() local
1204 _prep_scsi_cmd(SANE_Byte* command, SANE_Byte code, SANE_Word size) _prep_scsi_cmd() argument
[all...]
/third_party/python/Lib/distutils/
H A Ddist.py23 # Regex to define acceptable Distutils command names. This is not *quite*
26 # to look for a Python module named after the command.
47 to the Distutils commands specified on the command line.
58 # 'global_options' describes the command-line options that may be
62 # since every global option is also valid as a command option -- and we
144 filled in with real command objects by 'parse_command_line()'.
147 # Default values for our command-line options
156 # information here (and enough command-line options) that it's
164 # 'cmdclass' maps command names to class objects, so we
166 # we need to create a new command objec
736 import distutils.command global() namespace
770 import distutils.command global() namespace
[all...]
/third_party/node/tools/gyp/pylib/gyp/
H A DMSVSUserFile.py17 def _FindCommandInPath(command):
18 """If there are no slashes in the command given, this function
19 searches the PATH env to find the given command, and converts it
21 for an actual file to launch a debugger on, not just a command
24 if "/" in command or "\\" in command:
25 # If the command already has path elements (either relative or
27 return command
33 item = os.path.join(path, command)
36 return command
[all...]
/third_party/node/deps/npm/node_modules/cross-spawn/lib/
H A Dparse.js19 parsed.command = shebang;
35 // We don't need a shell if the command filename is an executable
41 // Need to double escape meta chars if the command is a cmd-shim located in `node_modules/.bin/`
49 parsed.command = path.normalize(parsed.command);
51 // Escape command & arguments
52 parsed.command = escape.command(parsed.command);
55 const shellCommand = [parsed.command]
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
H A DMSVSUserFile.py17 def _FindCommandInPath(command):
18 """If there are no slashes in the command given, this function
19 searches the PATH env to find the given command, and converts it
21 for an actual file to launch a debugger on, not just a command
24 if "/" in command or "\\" in command:
25 # If the command already has path elements (either relative or
27 return command
33 item = os.path.join(path, command)
36 return command
[all...]
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
H A Dengine_vulkan.cc431 Result EngineVulkan::DoClearColor(const ClearColorCommand* command) { in DoClearColor() argument
432 auto& info = pipeline_map_[command->GetPipeline()]; in DoClearColor()
437 command->GetR(), command->GetG(), command->GetB(), command->GetA()); in DoClearColor()
440 Result EngineVulkan::DoClearStencil(const ClearStencilCommand* command) { in DoClearStencil() argument
441 auto& info = pipeline_map_[command->GetPipeline()]; in DoClearStencil()
445 return info.vk_pipeline->AsGraphics()->SetClearStencil(command->GetValue()); in DoClearStencil()
448 Result EngineVulkan::DoClearDepth(const ClearDepthCommand* command) { in DoClearDepth() argument
456 DoClear(const ClearCommand* command) DoClear() argument
464 DoDrawRect(const DrawRectCommand* command) DoDrawRect() argument
529 DoDrawGrid(const DrawGridCommand* command) DoDrawGrid() argument
616 DoDrawArrays(const DrawArraysCommand* command) DoDrawArrays() argument
625 DoCompute(const ComputeCommand* command) DoCompute() argument
634 DoEntryPoint(const EntryPointCommand* command) DoEntryPoint() argument
648 DoPatchParameterVertices( const PatchParameterVerticesCommand* command) DoPatchParameterVertices() argument
[all...]
/third_party/vk-gl-cts/framework/referencerenderer/
H A DrrRenderer.cpp1517 bool isValidCommand (const DrawCommand& command, int numInstances) in isValidCommand() argument
1524 if (command.program.geometryShader) in isValidCommand()
1526 if (command.program.vertexShader->getOutputs() != command.program.geometryShader->getInputs()) in isValidCommand()
1529 if (command.program.geometryShader->getOutputs() != command.program.fragmentShader->getInputs()) in isValidCommand()
1534 if (command.program.vertexShader->getOutputs() != command.program.fragmentShader->getInputs()) in isValidCommand()
1539 for (size_t varyingNdx = 0; varyingNdx < command.program.vertexShader->getInputs().size(); ++varyingNdx) in isValidCommand()
1540 if (command in isValidCommand()
1755 drawInstanced(const DrawCommand& command, int numInstances) const drawInstanced() argument
[all...]

Completed in 12 milliseconds

12345678910>>...40