/external/syslinux/gpxe/src/drivers/block/ |
D | ata.c | 49 ata_command ( struct ata_device *ata, struct ata_command *command ) { in ata_command() argument 53 command->cb.cmd_stat, command->cb.device, in ata_command() 54 ( command->cb.lba48 ? "48" : "" ), in ata_command() 55 ( unsigned long long ) command->cb.lba.native, in ata_command() 56 command->cb.count.native ); in ata_command() 59 command->rc = -EINPROGRESS; in ata_command() 62 if ( ( rc = ata->command ( ata, command ) ) != 0 ) { in ata_command() 69 while ( command->rc == -EINPROGRESS ) in ata_command() 71 if ( ( rc = command->rc ) != 0 ) { in ata_command() 92 struct ata_command command; in ata_read() local [all …]
|
D | scsi.c | 56 struct scsi_command *command __unused ) { in scsi_detached_command() 68 struct scsi_command *command ) { in scsi_command() argument 72 scsi, SCSI_CDB_DATA ( command->cdb ) ); in scsi_command() 75 command->sense_response = 0; in scsi_command() 78 command->rc = -EINPROGRESS; in scsi_command() 81 if ( ( rc = scsi->command ( scsi, command ) ) != 0 ) { in scsi_command() 84 scsi, SCSI_CDB_DATA ( command->cdb ), strerror ( rc ) ); in scsi_command() 89 while ( command->rc == -EINPROGRESS ) in scsi_command() 91 if ( ( rc = command->rc ) != 0 ) { in scsi_command() 94 scsi, SCSI_CDB_DATA ( command->cdb ), strerror ( rc ) ); in scsi_command() [all …]
|
/external/toybox/toys/posix/ |
D | sed.c | 259 struct sedcmd *command; in process_line() local 279 command = TT.restart ? ((struct sedcmd *)TT.restart)-1 : (void *)TT.pattern; in process_line() 282 while (command) { in process_line() 283 char *str, c = command->c; in process_line() 286 if (*command->lmatch || *command->rmatch) { in process_line() 291 if (command->hit) { in process_line() 292 if (!(lm = command->lmatch[1])) { in process_line() 293 if (!command->rmatch[1]) command->hit = 0; in process_line() 295 void *rm = get_regex(command, command->rmatch[1]); in process_line() 300 } else if (lm > 0 && lm < TT.count) command->hit = 0; in process_line() [all …]
|
/external/libusb/libusb/os/ |
D | haiku_usb_backend.cpp | 71 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/python/cpython2/Doc/distutils/ |
D | commandref.rst | 7 .. % \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/guice/core/test/com/google/inject/spi/ |
D | ElementsTest.java | 87 @Override public Void visit(Message command) { in testAddMessageErrorCommand() 88 assertEquals("Message A 5 C", command.getMessage()); in testAddMessageErrorCommand() 89 assertNull(command.getCause()); in testAddMessageErrorCommand() 90 assertContains(command.getSources().toString(), in testAddMessageErrorCommand() 93 assertContains(command.getSource(), getDeclaringSourcePart(ElementsTest.class)); in testAddMessageErrorCommand() 109 @Override public Void visit(Message command) { in testAddThrowableErrorCommand() 110 assertEquals("A", command.getCause().getMessage()); in testAddThrowableErrorCommand() 111 assertEquals(command.getMessage(), in testAddThrowableErrorCommand() 113 assertContains(command.getSource(), getDeclaringSourcePart(ElementsTest.class)); in testAddThrowableErrorCommand() 135 @Override public Void visit(Message command) { in testErrorsAddedWhenExceptionsAreThrown() [all …]
|
/external/autotest/server/site_tests/firmware_Mosys/ |
D | firmware_Mosys.py | 49 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/PC/VS7.1/ |
D | make_buildinfo.c | 26 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/deqp/scripts/opengl/ |
D | gen_wrapper.py | 31 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/python/cpython2/PC/VS8.0/ |
D | make_buildinfo.c | 28 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/VS9.0/ |
D | make_buildinfo.c | 28 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/toybox/scripts/ |
D | mkflags.c | 18 char *command; member 92 new->command = ++string; in digest() 95 if (list && list->command) { in digest() 126 new->command = string++; in digest() 137 char command[256], flags[1023], allflags[1024]; in main() local 153 *command = *flags = *allflags = 0; in main() 155 command, flags, allflags); in main() 159 command, flags, allflags); in main() 161 if (!*command) break; in main() 163 fprintf(stderr, "\nError in %s (see generated/flags.raw)\n", command); in main() [all …]
|
/external/deqp/scripts/egl/ |
D | library.py | 28 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 …]
|
/external/skia/tools/ |
D | DumpRecord.cpp | 33 void operator()(const T& command) { in operator ()() argument 35 fDraw(command); in operator ()() 36 this->print(command, SkTime::GetNSecs() - start); in operator ()() 44 void print(const T& command, double ns) { in print() argument 45 this->printNameAndTime(command, ns); in print() 48 void print(const SkRecords::Restore& command, double ns) { in print() argument 50 this->printNameAndTime(command, ns); in print() 53 void print(const SkRecords::Save& command, double ns) { in print() argument 54 this->printNameAndTime(command, ns); in print() 58 void print(const SkRecords::SaveLayer& command, double ns) { in print() argument [all …]
|
/external/autotest/server/ |
D | autoserv_utils.py | 77 command = [os.path.join(autoserv_directory, script_name)] 80 command.append('-p') 83 command += ['-r', results_directory] 86 command += ['-m', machines] 89 command += ['--ssh_verbosity', str(ssh_verbosity)] 92 command += ['--ssh_options', ssh_options] 95 command += ['--no_console_prefix'] 108 command += ['-u', owner] 110 command += ['-l', name] 112 command += ['--test-retry='+str(test_retry)] [all …]
|
/external/mockftpserver/tags/1.0/src/main/java/org/mockftpserver/stub/ |
D | StubFtpServer.java | 29 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.1/src/main/java/org/mockftpserver/stub/ |
D | StubFtpServer.java | 29 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/cpython2/Lib/test/ |
D | test_sundry.py | 28 import distutils.command.bdist_dumb 30 import distutils.command.bdist_msi 31 import distutils.command.bdist 32 import distutils.command.bdist_rpm 33 import distutils.command.bdist_wininst 34 import distutils.command.build_clib 35 import distutils.command.build_ext 36 import distutils.command.build 37 import distutils.command.clean 38 import distutils.command.config [all …]
|
/external/webrtc/webrtc/tools/e2e_quality/audio/ |
D | run_audio_test.py | 54 command = ['pacmd', 'list-sources'] 55 print ' '.join(command) 56 proc = subprocess.Popen(command, stdout=subprocess.PIPE) 69 command = ['pacmd', 'set-default-source', options.play_sink + '.monitor'] 70 print ' '.join(command) 71 retcode = subprocess.call(command, stdout=subprocess.PIPE) 75 command = [options.harness, '--render=' + options.rec_sink, 77 print ' '.join(command) 78 voe_proc = subprocess.Popen(command) 88 command = (['pacat', '-p', '-d', options.play_sink] + format_args + [all …]
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/stub/command/ |
D | CommandTest.java | 16 package org.mockftpserver.stub.command; 21 import org.mockftpserver.core.command.Command; 41 Command command = new Command("abc", PARAMETERS); in testConstructor() local 42 assertEquals("name", "abc", command.getName()); in testConstructor() 43 assertEquals("parameters", PARAMETERS, command.getParameters()); in testConstructor() 52 Command command = new Command("abc", PARAMETERS_LIST); in testConstructor_List() local 53 assertEquals("name", "abc", command.getName()); in testConstructor_List() 54 assertEquals("parameters String[]", PARAMETERS_ARRAY, command.getParameters()); in testConstructor_List() 96 Command command = new Command("abc", array("123", "456")); in testGetRequiredString() local 97 assertEquals("123", "123", command.getRequiredString(0)); in testGetRequiredString() [all …]
|
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/core/command/ |
D | CommandTest.java | 16 package org.mockftpserver.core.command; 40 Command command = new Command("abc", PARAMETERS); in testConstructor() local 41 assertEquals("name", "abc", command.getName()); in testConstructor() 42 assertEquals("parameters", PARAMETERS, command.getParameters()); in testConstructor() 51 Command command = new Command("abc", PARAMETERS_LIST); in testConstructor_List() local 52 assertEquals("name", "abc", command.getName()); in testConstructor_List() 53 assertEquals("parameters String[]", PARAMETERS_ARRAY, command.getParameters()); in testConstructor_List() 95 Command command = new Command("abc", array("123", "456")); in testGetRequiredParameter() local 96 assertEquals("123", "123", command.getRequiredParameter(0)); in testGetRequiredParameter() 97 assertEquals("456", "456", command.getRequiredParameter(1)); in testGetRequiredParameter() [all …]
|
/external/mockftpserver/tags/2.0.2/src/test/java/org/mockftpserver/core/command/ |
D | CommandTest.java | 16 package org.mockftpserver.core.command; 40 Command command = new Command("abc", PARAMETERS); in testConstructor() local 41 assertEquals("name", "abc", command.getName()); in testConstructor() 42 assertEquals("parameters", PARAMETERS, command.getParameters()); in testConstructor() 51 Command command = new Command("abc", PARAMETERS_LIST); in testConstructor_List() local 52 assertEquals("name", "abc", command.getName()); in testConstructor_List() 53 assertEquals("parameters String[]", PARAMETERS_ARRAY, command.getParameters()); in testConstructor_List() 95 Command command = new Command("abc", array("123", "456")); in testGetRequiredParameter() local 96 assertEquals("123", "123", command.getRequiredParameter(0)); in testGetRequiredParameter() 97 assertEquals("456", "456", command.getRequiredParameter(1)); in testGetRequiredParameter() [all …]
|
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/core/command/ |
D | CommandTest.java | 16 package org.mockftpserver.core.command; 40 Command command = new Command("abc", PARAMETERS); in testConstructor() local 41 assertEquals("name", "abc", command.getName()); in testConstructor() 42 assertEquals("parameters", PARAMETERS, command.getParameters()); in testConstructor() 51 Command command = new Command("abc", PARAMETERS_LIST); in testConstructor_List() local 52 assertEquals("name", "abc", command.getName()); in testConstructor_List() 53 assertEquals("parameters String[]", PARAMETERS_ARRAY, command.getParameters()); in testConstructor_List() 95 Command command = new Command("abc", array("123", "456")); in testGetRequiredParameter() local 96 assertEquals("123", "123", command.getRequiredParameter(0)); in testGetRequiredParameter() 97 assertEquals("456", "456", command.getRequiredParameter(1)); in testGetRequiredParameter() [all …]
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/java/org/mockftpserver/core/command/ |
D | CommandTest.java | 16 package org.mockftpserver.core.command; 40 Command command = new Command("abc", PARAMETERS); in testConstructor() local 41 assertEquals("name", "abc", command.getName()); in testConstructor() 42 assertEquals("parameters", PARAMETERS, command.getParameters()); in testConstructor() 51 Command command = new Command("abc", PARAMETERS_LIST); in testConstructor_List() local 52 assertEquals("name", "abc", command.getName()); in testConstructor_List() 53 assertEquals("parameters String[]", PARAMETERS_ARRAY, command.getParameters()); in testConstructor_List() 95 Command command = new Command("abc", array("123", "456")); in testGetRequiredParameter() local 96 assertEquals("123", "123", command.getRequiredParameter(0)); in testGetRequiredParameter() 97 assertEquals("456", "456", command.getRequiredParameter(1)); in testGetRequiredParameter() [all …]
|
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/core/command/ |
D | CommandTest.java | 16 package org.mockftpserver.core.command; 40 Command command = new Command("abc", PARAMETERS); in testConstructor() local 41 assertEquals("name", "abc", command.getName()); in testConstructor() 42 assertEquals("parameters", PARAMETERS, command.getParameters()); in testConstructor() 51 Command command = new Command("abc", PARAMETERS_LIST); in testConstructor_List() local 52 assertEquals("name", "abc", command.getName()); in testConstructor_List() 53 assertEquals("parameters String[]", PARAMETERS_ARRAY, command.getParameters()); in testConstructor_List() 95 Command command = new Command("abc", array("123", "456")); in testGetRequiredParameter() local 96 assertEquals("123", "123", command.getRequiredParameter(0)); in testGetRequiredParameter() 97 assertEquals("456", "456", command.getRequiredParameter(1)); in testGetRequiredParameter() [all …]
|