Home
last modified time | relevance | path

Searched refs:tout (Results 1 – 25 of 55) sorted by relevance

123

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/tar/
DTarArchiveEntryTest.java63 TarArchiveOutputStream tout = null; in testTarFileWithFSRoot() local
66 tout = new TarArchiveOutputStream(new FileOutputStream(f)); in testTarFileWithFSRoot()
68 tout.putArchiveEntry(t); in testTarFileWithFSRoot()
69 tout.closeArchiveEntry(); in testTarFileWithFSRoot()
72 tout.putArchiveEntry(t); in testTarFileWithFSRoot()
73 tout.write(new byte[] {'h', 'e', 'l', 'l', 'o', ' '}); in testTarFileWithFSRoot()
74 tout.closeArchiveEntry(); in testTarFileWithFSRoot()
78 tout.putArchiveEntry(t); in testTarFileWithFSRoot()
79 tout.write(new byte[] {'w', 'o', 'r', 'l', 'd'}); in testTarFileWithFSRoot()
80 tout.closeArchiveEntry(); in testTarFileWithFSRoot()
[all …]
/external/u-boot/tools/binman/
Dcontrol.py18 import tout
148 tout.Notice("Wrote %#x bytes to file '%s'" % (len(data), output_fname))
155 tout.Notice('%d entries match and will be written' % len(einfos))
168 tout.Notice("Write entry '%s' to '%s'" % (entry.GetPath(), fname))
216 tout.Info('Processing image')
224 tout.Info('Writing data to %s' % entry.GetPath())
249 tout.Info("Write entry '%s', file '%s'" % (entry_path, image_fname))
286 tout.Notice("Read %#x bytes from file '%s'" % (len(data), input_fname))
295 tout.Notice("Replacing %d matching entries in image '%s'" %
303 tout.Info("Skipping section entry '%s'" % entry.GetPath())
[all …]
Dstate.py14 import tout
215 tout.Info('Preparing device trees')
220 tout.Info(" Found device tree type 'fdtmap' '%s'" % image.fdtmap_dtb.name)
224 tout.Info(" Found device tree type '%s' at '%s' path '%s'" %
237 tout.Info(" FDT path prefix '%s'" % fdt_path_prefix)
327 tout.Detail("File %s: Update node '%s' prop '%s' to %#x" %
Delf_test.py17 import tout
168 tout.Init(tout.DEBUG)
176 tout.Init(tout.WARNING)
Dimage.py24 import tout
139 tout.Debug("Entry '%s' size change" % self._node.path)
149 tout.Info("Writing image to '%s'" % fname)
153 tout.Info("Wrote %#x bytes" % len(data))
204 tout.Debug("Image '%s' ReadData(), size=%#x" %
Delf.py20 import tout
142 tout.Debug('%s:\n insert %s, offset %x, value %x, length %d' %
Dentry.py17 import tout
299 tout.Debug("Entry '%s' size change from %s to %s" % (
388 tout.Detail('%30s: %s' % (tag, msg))
712 tout.Debug("ReadChildData section '%s', entry '%s'" %
/external/iputils/
Dclockdiff.c135 struct timeval tv1, tout; in measure() local
150 tout.tv_sec = tout.tv_usec = 0; in measure()
152 if (select(FD_SETSIZE, &ready, (fd_set *)0, (fd_set *)0, &tout)) { in measure()
211 tout.tv_sec = tmo/1000; in measure()
212 tout.tv_usec = (tmo - (tmo/1000)*1000)*1000; in measure()
216 (fd_set *)0, &tout)) <= 0) in measure()
312 struct timeval tv1, tout; in measure_opt() local
326 tout.tv_sec = tout.tv_usec = 0; in measure_opt()
328 if (select(FD_SETSIZE, &ready, (fd_set *)0, (fd_set *)0, &tout)) { in measure_opt()
391 tout.tv_sec = tmo/1000; in measure_opt()
[all …]
/external/scapy/scapy/contrib/
Dppi_cace.py60 tout = scale * float(val)
61 return tout
69 tout = int((scale * val) + 0.5)
70 return tout
/external/bc/tests/
Dafl.py48 def run_test(cmd, exebase, tout, indata, out, file, type, test, environ=None): argument
50 p = subprocess.run(cmd, timeout=tout, input=indata, stdout=subprocess.PIPE,
56 def create_test(file, tout, environ=None): argument
70 run_test(exe + [ file ], exebase, tout, halt.encode(), out, file, "file", file, environ)
77 run_test(exe, exebase, tout, content, out, file,
/external/python/cpython2/Lib/test/
Dtest_select.py34 for tout in (0, 1, 2, 4, 8, 16) + (None,)*10:
36 print 'timeout =', tout
37 rfd, wfd, xfd = select.select([p], [], [], tout)
/external/python/cpython2/Demo/metaclasses/
DSynch.py224 tout = 0.001
233 tout = 0.001
235 time.sleep(tout)
236 tout = tout*2
/external/python/cpython3/Lib/test/
Dtest_select.py50 for tout in (0, 1, 2, 4, 8, 16) + (None,)*10:
52 print('timeout =', tout)
53 rfd, wfd, xfd = select.select([p], [], [], tout)
/external/u-boot/tools/patman/
Dtools.py16 import tout
68 tout.Debug("Using output directory '%s'" % outdir)
71 tout.Debug("Using temporary directory '%s'" % outdir)
77 tout.Debug("Deleted temporary directory '%s'" % outdir)
117 tout.Debug("Using input directories %s" % indir)
/external/u-boot/tools/binman/etype/
Dfmap.py12 import tout
45 tout.Debug("fmap: Add entry '%s' type '%s' (%s subentries)" %
Dsection.py20 import tout
514 tout.Info("ReadData path='%s'" % self.GetPath())
516 tout.Info('%s: Reading data from offset %#x-%#x, size %#x' %
523 tout.Debug("ReadChildData for child '%s'" % child.GetPath())
526 tout.Debug("Extract for child '%s': offset %#x, skip_at_start %#x, result %#x" %
533 tout.Info("%s: Decompressing data size %#x with algo '%s' to data size %#x" %
/external/iproute2/misc/
Dlnstat_util.c72 struct timeval *tout, in time_after() argument
75 if (now->tv_sec > last->tv_sec + tout->tv_sec) in time_after()
78 if (now->tv_sec == last->tv_sec + tout->tv_sec) { in time_after()
79 if (now->tv_usec > last->tv_usec + tout->tv_usec) in time_after()
/external/python/cpython2/Modules/
Dselectmodule.c201 PyObject *tout = Py_None; in select_select() local
211 &ifdlist, &ofdlist, &efdlist, &tout)) in select_select()
214 if (tout == Py_None) in select_select()
216 else if (!PyNumber_Check(tout)) { in select_select()
222 timeout = PyFloat_AsDouble(tout); in select_select()
507 PyObject *result_list = NULL, *tout = NULL; in poll_poll() local
511 if (!PyArg_UnpackTuple(args, "poll", 0, 1, &tout)) { in poll_poll()
516 if (tout == NULL || tout == Py_None) in poll_poll()
518 else if (!PyNumber_Check(tout)) { in poll_poll()
524 tout = PyNumber_Int(tout); in poll_poll()
[all …]
/external/tensorflow/tensorflow/python/ops/
Dfunctional_ops.py1086 tout=None, argument
1116 if tout is None:
1117 tout = tuple(x.type for x in f.definition.signature.output_arg)
1132 Tout=tout,
1139 Tout=tout,
1152 list=attr_value_pb2.AttrValue.ListValue(type=tout))
1179 op = graph.create_op(op_name, args, tout, name=op_name, attrs=op_attrs)
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dfunction_optimizer_test.cc1521 auto& tout = AttrSlice(node).Find("Tout")->list(); in TEST_F() local
1523 ASSERT_EQ(1, tout.type_size()); in TEST_F()
1525 EXPECT_EQ(DT_FLOAT, tout.type(0)); in TEST_F()
1664 auto& tout = AttrSlice(node).Find("Tout")->list(); in TEST_F() local
1666 ASSERT_EQ(1, tout.type_size()); in TEST_F()
1668 EXPECT_EQ(DT_FLOAT, tout.type(0)); in TEST_F()
2004 auto& tout = AttrSlice(node).Find("Tout")->list(); in TEST_F() local
2007 ASSERT_EQ(3, tout.type_size()); in TEST_F()
2011 auto& tout = AttrSlice(node).Find("Tout")->list(); in TEST_F() local
2014 ASSERT_EQ(1, tout.type_size()); in TEST_F()
[all …]
Dimplementation_selector.cc155 auto tout = node_def->mutable_attr()->find("Tout"); in UpdateNodeDef() local
156 tout->second.mutable_list()->clear_type(); in UpdateNodeDef()
158 tout->second.mutable_list()->add_type(tout_dtype); in UpdateNodeDef()
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-readobj/
Dbroken-group.test4 # RUN: %t.o >%tout.log 2>%terr.log
7 # RUN: FileCheck %s -check-prefix=GNU-STDOUT < %tout.log
/external/u-boot/arch/arm/include/asm/arch-spear/
Dspr_emi.h23 u32 tout; member
/external/u-boot/drivers/mtd/
Dcfi_flash.c572 ulong tout, char *prompt) in flash_status_check() argument
579 tout *= (ulong)CONFIG_SYS_HZ / 1000; in flash_status_check()
581 tout = DIV_ROUND_UP(tout * (ulong)CONFIG_SYS_HZ, 1000); in flash_status_check()
591 if (get_timer(start) > tout) { in flash_status_check()
611 ulong tout, char *prompt) in flash_full_status_check() argument
615 retcode = flash_status_check(info, sector, tout, prompt); in flash_full_status_check()
663 ulong tout, char *prompt) in flash_status_poll() argument
672 tout *= (ulong)CONFIG_SYS_HZ / 1000; in flash_status_poll()
674 tout = DIV_ROUND_UP(tout * (ulong)CONFIG_SYS_HZ, 1000); in flash_status_poll()
703 if (get_timer(start) > tout) { in flash_status_poll()
/external/python/cpython2/Demo/tkinter/guido/
DManPage.py64 def avail(fp=fp, tout=0.0, select=select): argument
65 return select([fp], [], [], tout)[0]

123