/device/google/cuttlefish_common/host/libs/ivserver/ |
H A D | options.cc | 16 #include "host/libs/ivserver/options.h" 27 std::ostream &operator<<(std::ostream &out, const IVServerOptions &options) { argument 28 out << "\nshm_file: " << options.shm_file_path 29 << "\nqemu_socket_path: " << options.qemu_socket_path 30 << "\nclient_socket_path: " << options.client_socket_path << std::endl;
|
H A D | ivserver.cc | 29 IVServer::IVServer(const IVServerOptions &options) argument 30 : vsoc_shmem_(VSoCSharedMemory::New(options.shm_file_path)) { 31 LOG_IF(WARNING, unlink(options.qemu_socket_path.c_str()) == 0) 32 << "Removed existing unix socket: " << options.qemu_socket_path 35 options.qemu_socket_path.c_str(), false, SOCK_STREAM, 0666); 39 LOG_IF(WARNING, unlink(options.client_socket_path.c_str()) == 0) 40 << "Removed existing unix socket: " << options.client_socket_path 43 options.client_socket_path.c_str(), false, SOCK_STREAM, 0666);
|
H A D | ivserver.h | 21 #include "host/libs/ivserver/options.h" 30 IVServer(const IVServerOptions &options);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/ |
H A D | finger.py | 5 # Usage: finger [options] [user][@host] ...
38 options = ''
41 options = options + sys.argv[i] + ' '
53 finger(host, options + arg)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/i18n/ |
H A D | pygettext.py | 59 xgettext where ever possible. However some options are still missing or are
64 Usage: pygettext [options] inputfile ...
359 def __init__(self, options):
360 self.__options = options
452 options = self.__options
481 if not options.writelocations:
484 elif options.locationstyle == options.SOLARIS:
489 elif options.locationstyle == options [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/ |
H A D | main.py | 31 def __init__(self, fixers, options, explicit, nobackups, show_diffs):
34 super(StdoutRefactoringTool, self).__init__(fixers, options, explicit)
96 parser = optparse.OptionParser(usage="2to3 [options] file|dir ...")
121 options, args = parser.parse_args(args)
122 if not options.write and options.no_diffs:
124 if not options.write and options.nobackups:
126 if options.list_fixes:
138 if options [all...] |
H A D | fixer_base.py | 28 options = None # Options object passed to initializer
variable in class:BaseFix 49 def __init__(self, options, log):
53 options: an dict containing the options passed to RefactoringTool
57 self.options = options
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
H A D | diff.py | 14 usage = "usage: %prog [options] fromfile tofile"
21 (options, args) = parser.parse_args()
29 n = options.lines
37 if options.u:
39 elif options.n:
41 elif options.m:
42 diff = difflib.HtmlDiff().make_file(fromlines,tolines,fromfile,tofile,context=options.c,numlines=n)
|
/device/generic/goldfish/wifi/ipv6proxy/ |
H A D | proxy.cpp | 128 uint32_t options = kForwardOnly; local 131 options = kRewriteSourceLink | kSetDefaultGateway; 134 options = kSpoofSource; 137 options = kRewriteTargetLink; 143 forward(mOuterIf, inner, packet, options); 149 uint32_t options = kForwardOnly; local 152 options = kSpoofSource; 155 options = kSpoofSource | kAddRoute; 158 options = kRewriteTargetLink | kSpoofSource | kAddRoute; 163 forward(inner, mOuterIf, packet, options); 166 forward(const Interface& from, Interface& to, Packet& packet, uint32_t options) argument [all...] |
H A D | packet.cpp | 74 // We might have options 75 char* options = data + headerSize; local 76 if (options + sizeof(nd_opt_hdr) < data + size) { 77 nd_opt_hdr* option = reinterpret_cast<nd_opt_hdr*>(options); 79 if (options + option->nd_opt_len * 8u <= data + size) {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/ |
H A D | support.py | 33 def get_refactorer(fixer_pkg="lib2to3", fixers=None, options=None):
38 "lib2to3.fixes.*" is used. options is an optional dictionary of options to
45 options = options or {}
46 return refactor.RefactoringTool(fixers, options, explicit=True)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/iobench/ |
H A D | iobench.py | 264 def run_all_tests(options):
312 if "b" in options:
314 if "t" in options:
318 if "b" in options and "r" in options:
323 if "t" in options and "r" in options:
328 if "b" in options and "w" in options:
337 if "t" in options an [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/dom/ |
H A D | xmlbuilder.py | 168 options = self._options
169 return (options.datatype_normalization
170 and options.whitespace_in_element_content
171 and options.comments
172 and options.charset_overrides_xml_encoding
173 and not (options.namespace_declarations
174 or options.validate_if_schema
175 or options.create_entity_ref_nodes
176 or options.entities
177 or options [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/ |
H A D | xmlbuilder.py | 168 options = self._options
169 return (options.datatype_normalization
170 and options.whitespace_in_element_content
171 and options.comments
172 and options.charset_overrides_xml_encoding
173 and not (options.namespace_declarations
174 or options.validate_if_schema
175 or options.create_entity_ref_nodes
176 or options.entities
177 or options [all...] |
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
H A D | res_query.c | 133 if ((_res.options & RES_INIT) == 0 && res_init() == -1) {
138 if (_res.options & RES_DEBUG)
146 if (_res.options & RES_DEBUG)
155 if (_res.options & RES_DEBUG)
164 if (_res.options & RES_DEBUG)
211 if ((_res.options & RES_INIT) == 0 && res_init() == -1) {
247 if ((!dots && (_res.options & RES_DEFNAMES)) ||
248 (dots && !trailing_dot && (_res.options & RES_DNSRCH))) {
300 if (!(_res.options & RES_DNSRCH))
310 if (!tried_as_is && (dots || !(_res.options [all...] |
H A D | res_init.c | 182 * _res.options is tricky since some apps were known to diddle the bits
192 if (!(_res.options & RES_INIT))
193 _res.options = RES_DEFAULT;
376 if (MATCH(buf, "options")) {
377 res_setoptions(buf + sizeof("options") - 1, "conf");
414 if (_res.options & RES_DEBUG) {
429 _res.options |= RES_NOALIASES;
432 _res.options |= RES_INIT;
441 char *options,
445 char *cp = options;
440 res_setoptions( char *options, char *source ) argument [all...] |
H A D | res_send.c | 154 if (_res.options & RES_DEBUG) {
174 if (_res.options & RES_DEBUG) {
344 if ((_res.options & RES_INIT) == 0 && res_init() == -1) {
352 DprintQ((_res.options & RES_DEBUG) || (_res.pfcode & RES_PRF_QUERY),
354 v_circuit = (_res.options & RES_USEVC) || buflen > PACKETSZ;
402 Dprint(_res.options & RES_DEBUG,
491 Dprint(_res.options & RES_DEBUG,
502 Dprint(_res.options & RES_DEBUG,
548 DprintQ((_res.options & RES_DEBUG) ||
645 Dprint(_res.options [all...] |
/device/google/marlin/dumpstate/ |
H A D | DumpstateDevice.cpp | 60 CommandOptions options = CommandOptions::WithTimeout(120).Build(); local 70 RunCommandToFd(fd, "MKDIR MODEM LOG", { "/vendor/bin/sh", "-c", modemLogMkDirCmd.c_str()}, options); 71 RunCommandToFd(fd, "SMLOG DUMP", { "smlog_dump", "-d", "-o", modemLogAllDir.c_str() }, options); 75 RunCommandToFd(fd, "MV MODEM LOG", { "/vendor/bin/sh", "-c", copyCmd.c_str()}, options); 81 RunCommandToFd(fd, "TAR LOG", { "/vendor/bin/sh", "-c", modemLogTarCmd.c_str()}, options); 83 RunCommandToFd(fd, "CHG PERM", { "/vendor/bin/sh", "-c", modemLogPermCmd.c_str()}, options); 109 RunCommandToFd(fd, "RM MODEM DIR", { "/vendor/bin/sh", "-c", modemLogClearCmd.c_str()}, options); 110 RunCommandToFd(fd, "RM LOG", { "/vendor/bin/rm", modemLogCombined.c_str()}, options);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/versioncheck/ |
H A D | checkversions.py | 39 options, arguments = getopt.getopt(sys.argv[1:], 'v:')
43 for o, a in options:
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/ |
H A D | regposix.c | 140 OnigOptionType options;
local 145 options = syntax->options;
147 ONIG_OPTION_ON(options, ONIG_OPTION_IGNORECASE);
149 ONIG_OPTION_ON( options, ONIG_OPTION_NEGATE_SINGLELINE);
150 ONIG_OPTION_OFF(options, ONIG_OPTION_SINGLELINE);
157 options, OnigEncDefaultCharEncoding, syntax,
174 OnigOptionType options;
local 176 options = ONIG_OPTION_POSIX_REGION;
177 if ((posix_options & REG_NOTBOL) != 0) options | [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/ |
H A D | main.py | 17 Usage: %(progName)s [options] [tests]
32 Alternative Usage: %(progName)s discover [options]
46 Usage: %(progName)s [options] [test] [...]
119 options, args = getopt.getopt(argv[1:], 'hHvqfcb', long_opts)
120 for opt, value in options:
187 options, args = parser.parse_args(argv)
192 setattr(options, name, value)
194 # only set options from the parsing here
197 self.failfast = options.failfast
199 self.catchbreak = options [all...] |
/device/google/wahoo/dumpstate/ |
H A D | DumpstateDevice.cpp | 83 CommandOptions options = CommandOptions::WithTimeout(120).Build(); local 90 RunCommandToFd(fd, "CP DIAG LOGS", { "/vendor/bin/sh", "-c", copyCmd.c_str() }, options); 114 CommandOptions options = CommandOptions::WithTimeout(120).Build(); local 127 RunCommandToFd(fd, "MKDIR MODEM LOG", { "/vendor/bin/sh", "-c", modemLogMkDirCmd.c_str()}, options); 130 RunCommandToFd(fd, "SMLOG DUMP", { "smlog_dump", "-d", "-o", modemLogAllDir.c_str() }, options); 153 RunCommandToFd(fd, "CP MODEM LOG", { "/vendor/bin/sh", "-c", copyCmd.c_str()}, options); 161 RunCommandToFd(fd, "TAR LOG", { "/vendor/bin/sh", "-c", modemLogTarCmd.c_str()}, options); 164 RunCommandToFd(fd, "CHG PERM", { "/vendor/bin/sh", "-c", modemLogPermCmd.c_str()}, options); 190 RunCommandToFd(fd, "RM MODEM DIR", { "/vendor/bin/sh", "-c", modemLogClearCmd.c_str()}, options); 191 RunCommandToFd(fd, "RM LOG", { "/vendor/bin/rm", modemLogCombined.c_str()}, options); [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenPatchPcdTable/ |
H A D | GenPatchPcdTable.py | 198 (options, args) = parser.parse_args()
200 if options.mapfile == None or options.efifile == None:
202 elif os.path.exists(options.mapfile) and os.path.exists(options.efifile):
203 list = parsePcdInfoFromMapFile(options.mapfile, options.efifile)
205 if options.outfile != None:
206 generatePcdTable(list, options.outfile)
208 generatePcdTable(list, options [all...] |
/device/generic/goldfish/dhcp/common/ |
H A D | message.cpp | 170 // Require that there is at least enough options for the DHCP cookie 171 if (dhcpData.options + 4 > end()) { 185 // Need to have the correct cookie in the options 186 if (dhcpData.options[0] != OPT_COOKIE1) { 189 if (dhcpData.options[1] != OPT_COOKIE2) { 192 if (dhcpData.options[2] != OPT_COOKIE3) { 195 if (dhcpData.options[3] != OPT_COOKIE4) { 203 auto options = reinterpret_cast<const uint8_t*>(&dhcpData.options); local 205 if (msgEnd <= options) { [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/ |
H A D | CommandLine.py | 1 """ CommandLine - Get and parse command line options
27 def _getopt_flags(options):
35 for o in options:
88 def option_dict(options):
93 for option in options:
232 options = []
variable in class:Application 234 # Standard settings; these are appended to options in __init__
253 # options:
254 # [options] - formatted from self.options
622 options = [Option('-v','verbose')] variable in class:_test.MyApplication [all...] |