Home
last modified time | relevance | path

Searched refs:command (Results 1 – 25 of 6510) sorted by relevance

12345678910>>...261

/external/toybox/toys/posix/
Dsed.c262 struct sedcmd *command; in sed_line() local
285 command = TT.restart ? ((struct sedcmd *)TT.restart)-1 : (void *)TT.pattern; in sed_line()
288 while (command) { in sed_line()
289 char *str, c = command->c; in sed_line()
292 if (*command->lmatch || *command->rmatch) { in sed_line()
297 if (command->hit) { in sed_line()
298 if (!(lm = command->lmatch[1])) { in sed_line()
299 if (!command->rmatch[1]) command->hit = 0; in sed_line()
301 void *rm = get_regex(command, command->rmatch[1]); in sed_line()
306 } else if (lm > 0 && lm < TT.count) command->hit = 0; in sed_line()
[all …]
/external/nos/test/system-test-harness/src/
Dtransport_tests.cc74 static int nos_device_read(const struct nos_device *dev, uint32_t command, in nos_device_read() argument
78 int err = dev->ops.read(dev->ctx, command, reinterpret_cast<uint8_t *>(buf), len); in nos_device_read()
96 static int nos_device_write(const struct nos_device *dev, uint32_t command, in nos_device_write() argument
100 int err = dev->ops.write(dev->ctx, command, reinterpret_cast<const uint8_t *>(buf), len); in nos_device_write()
240 void SetCommandInfoCrc(const void* arg, uint16_t arg_len, uint32_t command, in SetCommandInfoCrc() argument
244 crc = crc16_update(&command, sizeof(command), crc); in SetCommandInfoCrc()
250 void SetCommandInfoCrc(const void* arg, uint16_t arg_len, uint32_t command, in SetCommandInfoCrc() argument
252 SetCommandInfoCrc(arg, arg_len, command, info, sizeof(*info)); in SetCommandInfoCrc()
258 const uint32_t command = CMD_ID(APP_ID_TRANSPORT_TEST) | CMD_IS_READ | CMD_TRANSPORT; in TEST_F() local
259 ASSERT_EQ(nos_device_read(dev, command, &status, sizeof(transport_status)), 0); in TEST_F()
[all …]
/external/libusb/libusb/os/
Dhaiku_usb_backend.cpp71 usb_raw_command command; in Do() local
72 command.control.request_type = setup->bmRequestType; in Do()
73 command.control.request = setup->bRequest; in Do()
74 command.control.value = setup->wValue; in Do()
75 command.control.index = setup->wIndex; in Do()
76 command.control.length = setup->wLength; in Do()
77 command.control.data = fLibusbTransfer->buffer + LIBUSB_CONTROL_SETUP_SIZE; in Do()
80 if (ioctl(fRawFD, B_USB_RAW_COMMAND_CONTROL_TRANSFER, &command, sizeof(command)) || in Do()
81 command.control.status != B_USB_RAW_STATUS_SUCCESS) { in Do()
86 fUsbiTransfer->transferred = command.control.length; in Do()
[all …]
/external/oj-libjdwp/src/share/back/
DeventHelper.c133 commandSize(HelperCommand *command) in commandSize() argument
136 if (command->commandKind == COMMAND_REPORT_EVENT_COMPOSITE) { in commandSize()
143 (command->u.reportEventComposite.eventCount - 1)); in commandSize()
149 freeCommand(HelperCommand *command) in freeCommand() argument
151 if ( command == NULL ) in freeCommand()
153 jvmtiDeallocate(command); in freeCommand()
157 enqueueCommand(HelperCommand *command, in enqueueCommand() argument
162 jint size = commandSize(command); in enqueueCommand()
164 command->done = JNI_FALSE; in enqueueCommand()
165 command->waiting = wait; in enqueueCommand()
[all …]
/external/python/setuptools/setuptools.egg-info/
Dentry_points.txt2 easy_install = setuptools.command.easy_install:main
3 easy_install-3.6 = setuptools.command.easy_install:main
6 alias = setuptools.command.alias:alias
7 bdist_egg = setuptools.command.bdist_egg:bdist_egg
8 bdist_rpm = setuptools.command.bdist_rpm:bdist_rpm
9 bdist_wininst = setuptools.command.bdist_wininst:bdist_wininst
10 build_clib = setuptools.command.build_clib:build_clib
11 build_ext = setuptools.command.build_ext:build_ext
12 build_py = setuptools.command.build_py:build_py
13 develop = setuptools.command.develop:develop
[all …]
/external/guice/core/test/com/google/inject/spi/
DElementsTest.java84 public Void visit(Message command) { in testAddMessageErrorCommand()
85 assertEquals("Message A 5 C", command.getMessage()); in testAddMessageErrorCommand()
86 assertNull(command.getCause()); in testAddMessageErrorCommand()
88 command.getSources().toString(), in testAddMessageErrorCommand()
91 assertContains(command.getSource(), getDeclaringSourcePart(ElementsTest.class)); in testAddMessageErrorCommand()
107 public Void visit(Message command) { in testAddThrowableErrorCommand()
108 assertEquals("A", command.getCause().getMessage()); in testAddThrowableErrorCommand()
109 assertEquals("An exception was caught and reported. Message: A", command.getMessage()); in testAddThrowableErrorCommand()
110 assertContains(command.getSource(), getDeclaringSourcePart(ElementsTest.class)); in testAddThrowableErrorCommand()
135 public Void visit(Message command) { in testErrorsAddedWhenExceptionsAreThrown()
[all …]
/external/u-boot/drivers/mtd/spi/
Dsf_dataflash.c70 uint8_t command[16]; member
120 uint8_t *command; in spi_dataflash_erase() local
130 memset(dataflash->command, 0 , sizeof(dataflash->command)); in spi_dataflash_erase()
131 command = dataflash->command; in spi_dataflash_erase()
165 command[0] = do_block ? OP_ERASE_BLOCK : OP_ERASE_PAGE; in spi_dataflash_erase()
166 command[1] = (uint8_t)(pageaddr >> 16); in spi_dataflash_erase()
167 command[2] = (uint8_t)(pageaddr >> 8); in spi_dataflash_erase()
168 command[3] = 0; in spi_dataflash_erase()
172 command[0], command[1], command[2], command[3], in spi_dataflash_erase()
175 status = spi_flash_cmd_write(spi, command, 4, NULL, 0); in spi_dataflash_erase()
[all …]
/external/autotest/server/site_tests/firmware_Mosys/
Dfirmware_Mosys.py49 def run_cmd(self, command): argument
57 logging.info('Execute %s', command)
58 output = self.faft_client.system.run_shell_command_get_output(command)
62 def check_ec_version(self, command, exp_ec_version): argument
90 self._tag_failure(command)
92 self._tag_failure(command)
95 def check_pd_version(self, command, exp_pd_version): argument
120 self._tag_failure(command)
122 self._tag_failure(command)
125 def check_lsb_info(self, command, fieldname, exp_value): argument
[all …]
/external/python/cpython2/Doc/distutils/
Dcommandref.rst7 .. % \section{Building modules: the \protect\command{build} command family}
9 .. % \subsubsection{\protect\command{build}}
11 .. % \subsubsection{\protect\command{build\_py}}
13 .. % \subsubsection{\protect\command{build\_ext}}
15 .. % \subsubsection{\protect\command{build\_clib}}
21 Installing modules: the :command:`install` command family
24 The install command ensures that the build commands have been run and then runs
25 the subcommands :command:`install_lib`, :command:`install_data` and
26 :command:`install_scripts`.
28 .. % \subsubsection{\protect\command{install\_lib}}
[all …]
/external/python/cpython3/Doc/distutils/
Dcommandref.rst7 .. % \section{Building modules: the \protect\command{build} command family}
9 .. % \subsubsection{\protect\command{build}}
11 .. % \subsubsection{\protect\command{build\_py}}
13 .. % \subsubsection{\protect\command{build\_ext}}
15 .. % \subsubsection{\protect\command{build\_clib}}
21 Installing modules: the :command:`install` command family
24 The install command ensures that the build commands have been run and then runs
25 the subcommands :command:`install_lib`, :command:`install_data` and
26 :command:`install_scripts`.
28 .. % \subsubsection{\protect\command{install\_lib}}
[all …]
/external/python/cpython2/PC/VS7.1/
Dmake_buildinfo.c26 char command[500]; in make_buildinfo2() local
37 command[0] = '"'; /* quote the path to the executable */ in make_buildinfo2()
38 size = sizeof(command) - 1; in make_buildinfo2()
39 if (RegQueryValueEx(hTortoise, "Directory", 0, &type, command+1, &size) != ERROR_SUCCESS || in make_buildinfo2()
43 strcat(command, "bin\\subwcrev.exe"); in make_buildinfo2()
44 if (_stat(command+1, &st) < 0) in make_buildinfo2()
47 strcat(command, "\" ..\\.. ..\\..\\Modules\\getbuildinfo.c getbuildinfo2.c"); in make_buildinfo2()
48 puts(command); fflush(stdout); in make_buildinfo2()
49 if (system(command) < 0) in make_buildinfo2()
56 char command[500] = "cl.exe -c -D_WIN32 -DUSE_DL_EXPORT -D_WINDOWS -DWIN32 -D_WINDLL "; in main() local
[all …]
/external/python/cpython2/PC/VS9.0/
Dmake_buildinfo.c28 char command[CMD_SIZE+1]; in make_buildinfo2() local
39 command[0] = '"'; /* quote the path to the executable */ in make_buildinfo2()
40 size = sizeof(command) - 1; in make_buildinfo2()
41 if (RegQueryValueEx(hTortoise, "Directory", 0, &type, command+1, &size) != ERROR_SUCCESS || in make_buildinfo2()
45 strcat_s(command, CMD_SIZE, "bin\\subwcrev.exe"); in make_buildinfo2()
46 if (_stat(command+1, &st) < 0) in make_buildinfo2()
49 strcat_s(command, CMD_SIZE, "\" .. ..\\..\\Modules\\getbuildinfo.c getbuildinfo2.c"); in make_buildinfo2()
50 puts(command); fflush(stdout); in make_buildinfo2()
51 if (system(command) < 0) in make_buildinfo2()
58 char command[500] = "cl.exe -c -D_WIN32 -DUSE_DL_EXPORT -D_WINDOWS -DWIN32 -D_WINDLL "; in main() local
[all …]
/external/python/cpython2/PC/VS8.0/
Dmake_buildinfo.c28 char command[CMD_SIZE+1]; in make_buildinfo2() local
39 command[0] = '"'; /* quote the path to the executable */ in make_buildinfo2()
40 size = sizeof(command) - 1; in make_buildinfo2()
41 if (RegQueryValueEx(hTortoise, "Directory", 0, &type, command+1, &size) != ERROR_SUCCESS || in make_buildinfo2()
45 strcat_s(command, CMD_SIZE, "bin\\subwcrev.exe"); in make_buildinfo2()
46 if (_stat(command+1, &st) < 0) in make_buildinfo2()
49 strcat_s(command, CMD_SIZE, "\" ..\\.. ..\\..\\Modules\\getbuildinfo.c getbuildinfo2.c"); in make_buildinfo2()
50 puts(command); fflush(stdout); in make_buildinfo2()
51 if (system(command) < 0) in make_buildinfo2()
58 char command[500] = "cl.exe -c -D_WIN32 -DUSE_DL_EXPORT -D_WINDOWS -DWIN32 -D_WINDLL "; in main() local
[all …]
/external/deqp/scripts/opengl/
Dgen_wrapper.py31 def commandAliasDefinition (command): argument
32 return "#define\t%s\t%s" % (command.name, getMangledName(command.name))
34 def commandWrapperDeclaration (command): argument
36 command.type,
37 getMangledName(command.name),
38 ", ".join([param.declaration for param in command.params]))
46 def getDefaultReturn (command): argument
47 if command.name == "glGetError":
50 assert command.type != 'void'
51 return "(%s)0" % command.type
[all …]
/external/deqp/scripts/egl/
Dlibrary.py28 def virtualMemberDecl (command): argument
30 command.type,
31 getFunctionMemberName(command.name),
32 commandParams(command))
34 def concreteMemberDecl (command): argument
36 command.type,
37 getFunctionMemberName(command.name),
38 commandParams(command))
40 def memberImpl (command): argument
47 returnType = command.type,
[all …]
Dgtf_wrapper.py34 def commandAliasDefinition (command): argument
35 return "#define\t%s\t%s" % (command.name, getMangledName(command.name))
37 def commandWrapperDeclaration (command): argument
39 command.type,
40 getMangledName(command.name),
41 ", ".join([param.declaration for param in command.params]))
49 def commandWrapperDefinition (command): argument
61 for param in command.params:
68 returnType = command.type,
69 mangledName = "eglw" + command.name[3:],
[all …]
/external/toybox/scripts/
Dmkflags.c18 char *command; member
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()
181 command, flags, allflags); in main()
183 if (!*command) break; in main()
185 fprintf(stderr, "\nError in %s (see generated/flags.raw)\n", command); in main()
[all …]
/external/skqp/src/compute/skc/
Dscheduler.cpp188 skc_scheduler_command_t command = SKC_SCHEDULER_COMMAND_INVALID; in skc_scheduler_acquire() local
196 command = scheduler->available.indices[--scheduler->available.rem]; in skc_scheduler_acquire()
201 if (command != SKC_SCHEDULER_COMMAND_INVALID) in skc_scheduler_acquire()
204 struct skc_scheduler_command * const sc = scheduler->extent + command; in skc_scheduler_acquire()
213 return command; in skc_scheduler_acquire()
223 skc_scheduler_command_t const command) in skc_scheduler_release() argument
229 scheduler->available.indices[scheduler->available.rem++] = command; in skc_scheduler_release()
241 skc_scheduler_command_t const command) in skc_scheduler_append() argument
243 scheduler->extent[command].state = SKC_SCHEDULER_COMMAND_STATE_WAITING; in skc_scheduler_append()
252 scheduler->waiting.indices[scheduler->waiting.tail] = command; in skc_scheduler_append()
[all …]
/external/skia/src/compute/skc/
Dscheduler.cpp188 skc_scheduler_command_t command = SKC_SCHEDULER_COMMAND_INVALID; in skc_scheduler_acquire() local
196 command = scheduler->available.indices[--scheduler->available.rem]; in skc_scheduler_acquire()
201 if (command != SKC_SCHEDULER_COMMAND_INVALID) in skc_scheduler_acquire()
204 struct skc_scheduler_command * const sc = scheduler->extent + command; in skc_scheduler_acquire()
213 return command; in skc_scheduler_acquire()
223 skc_scheduler_command_t const command) in skc_scheduler_release() argument
229 scheduler->available.indices[scheduler->available.rem++] = command; in skc_scheduler_release()
241 skc_scheduler_command_t const command) in skc_scheduler_append() argument
243 scheduler->extent[command].state = SKC_SCHEDULER_COMMAND_STATE_WAITING; in skc_scheduler_append()
252 scheduler->waiting.indices[scheduler->waiting.tail] = command; in skc_scheduler_append()
[all …]
/external/u-boot/lib/
Dtpm-v1.c34 const u8 command[12] = { in tpm_startup() local
41 0, command, sizeof(command), in tpm_startup()
50 const u8 command[10] = { in tpm_self_test_full() local
53 return tpm_sendrecv_command(command, NULL, NULL); in tpm_self_test_full()
58 const u8 command[10] = { in tpm_continue_self_test() local
61 return tpm_sendrecv_command(command, NULL, NULL); in tpm_continue_self_test()
66 const u8 command[101] = { in tpm_nv_define_space() local
98 0, command, sizeof(command), in tpm_nv_define_space()
109 const u8 command[22] = { in tpm_nv_read_value() local
122 0, command, sizeof(command), in tpm_nv_read_value()
[all …]
/external/skqp/tools/
DDumpRecord.cpp34 void operator()(const T& command) { in operator ()() argument
36 fDraw(command); in operator ()()
37 this->print(command, SkTime::GetNSecs() - start); in operator ()()
45 void print(const T& command, double ns) { in print() argument
46 this->printNameAndTime(command, ns); in print()
49 void print(const SkRecords::Restore& command, double ns) { in print() argument
51 this->printNameAndTime(command, ns); in print()
54 void print(const SkRecords::Save& command, double ns) { in print() argument
55 this->printNameAndTime(command, ns); in print()
59 void print(const SkRecords::SaveLayer& command, double ns) { in print() argument
[all …]
/external/skia/tools/
DDumpRecord.cpp34 void operator()(const T& command) { in operator ()() argument
36 fDraw(command); in operator ()()
37 this->print(command, SkTime::GetNSecs() - start); in operator ()()
45 void print(const T& command, double ns) { in print() argument
46 this->printNameAndTime(command, ns); in print()
49 void print(const SkRecords::Restore& command, double ns) { in print() argument
51 this->printNameAndTime(command, ns); in print()
54 void print(const SkRecords::Save& command, double ns) { in print() argument
55 this->printNameAndTime(command, ns); in print()
59 void print(const SkRecords::SaveLayer& command, double ns) { in print() argument
[all …]
/external/mockftpserver/tags/1.1/src/main/java/org/mockftpserver/stub/
DStubFtpServer.java29 import org.mockftpserver.core.command.Command;
30 import org.mockftpserver.core.command.CommandHandler;
31 import org.mockftpserver.core.command.CommandNames;
32 import org.mockftpserver.core.command.ReplyTextBundleAware;
33 import org.mockftpserver.core.command.ReplyTextBundleUtil;
40 import org.mockftpserver.stub.command.AborCommandHandler;
41 import org.mockftpserver.stub.command.AcctCommandHandler;
42 import org.mockftpserver.stub.command.AlloCommandHandler;
43 import org.mockftpserver.stub.command.AppeCommandHandler;
44 import org.mockftpserver.stub.command.CdupCommandHandler;
[all …]
/external/mockftpserver/tags/1.0/src/main/java/org/mockftpserver/stub/
DStubFtpServer.java29 import org.mockftpserver.core.command.Command;
30 import org.mockftpserver.core.command.CommandHandler;
31 import org.mockftpserver.core.command.CommandNames;
32 import org.mockftpserver.core.command.ReplyTextBundleAware;
33 import org.mockftpserver.core.command.ReplyTextBundleUtil;
40 import org.mockftpserver.stub.command.AborCommandHandler;
41 import org.mockftpserver.stub.command.AcctCommandHandler;
42 import org.mockftpserver.stub.command.AlloCommandHandler;
43 import org.mockftpserver.stub.command.AppeCommandHandler;
44 import org.mockftpserver.stub.command.CdupCommandHandler;
[all …]
/external/python/cpython3/Lib/test/
Dtest_sundry.py27 import distutils.command.bdist_dumb
29 import distutils.command.bdist_msi
30 import distutils.command.bdist
31 import distutils.command.bdist_rpm
32 import distutils.command.bdist_wininst
33 import distutils.command.build_clib
34 import distutils.command.build_ext
35 import distutils.command.build
36 import distutils.command.clean
37 import distutils.command.config
[all …]

12345678910>>...261