Home
last modified time | relevance | path

Searched full:ln (Results 1 – 25 of 1706) sorted by relevance

12345678910>>...69

/external/python/cpython3/Lib/test/decimaltestdata/
Dln.decTest2 -- ln.decTest -- decimal natural logarithm --
30 lnxs001 ln 0 -> -Infinity
31 lnxs002 ln 1.000 -> 0
32 lnxs003 ln 2.71828183 -> 1.00000000 Inexact Rounded
33 lnxs004 ln 10 -> 2.30258509 Inexact Rounded
34 lnxs005 ln +Infinity -> Infinity
39 lnx0001 ln 0 -> -Infinity
40 lnx0002 ln 1E-9 -> -20.72326583694641 Inexact Rounded
41 lnx0003 ln 0.0007 -> -7.264430222920869 Inexact Rounded
42 lnx0004 ln 0.1 -> -2.302585092994046 Inexact Rounded
[all …]
/external/python/cpython2/Lib/test/decimaltestdata/
Dln.decTest2 -- ln.decTest -- decimal natural logarithm --
30 lnxs001 ln 0 -> -Infinity
31 lnxs002 ln 1.000 -> 0
32 lnxs003 ln 2.71828183 -> 1.00000000 Inexact Rounded
33 lnxs004 ln 10 -> 2.30258509 Inexact Rounded
34 lnxs005 ln +Infinity -> Infinity
39 lnx0001 ln 0 -> -Infinity
40 lnx0002 ln 1E-9 -> -20.72326583694641 Inexact Rounded
41 lnx0003 ln 0.0007 -> -7.264430222920869 Inexact Rounded
42 lnx0004 ln 0.1 -> -2.302585092994046 Inexact Rounded
[all …]
/external/syzkaller/pkg/email/
Dpatch.go18 ln := s.Text()
19 if strings.HasPrefix(ln, "--- a/") || strings.HasPrefix(ln, "--- /dev/null") {
26 if ln == "" || ln == "--" || ln == "-- " || ln[0] == '>' ||
27 ln[0] >= 'A' && ln[0] <= 'Z' {
30 diff += ln + "\n"
33 if strings.HasPrefix(ln, "diff --git") {
37 if strings.HasPrefix(ln, "Subject: ") {
38 title = ln[len("Subject: "):]
41 if ln == "" || title != "" || diffStarted {
44 lastLine = ln
[all …]
/external/clang/test/Driver/
Dparse-progname.c5 // RUN: ln -fs %clang %T/clang++
6 // RUN: ln -fs %clang %T/clang++3.5.0
7 // RUN: ln -fs %clang %T/clang++-3.5
8 // RUN: ln -fs %clang %T/clang++-tot
9 // RUN: ln -fs %clang %T/clang-c++
10 // RUN: ln -fs %clang %T/clang-g++
11 // RUN: ln -fs %clang %T/c++
12 // RUN: ln -fs %clang %T/foo-clang++
13 // RUN: ln -fs %clang %T/foo-clang++-3.5
14 // RUN: ln -fs %clang %T/foo-clang++3.5
[all …]
/external/toybox/tests/
Dln.test12 testing "create_hardlink" "ln file hlink && [ file -ef hlink ] &&
14 testing "create_softlink" "ln -s file slink && [ -L slink ] &&
19 testing "force_create_hardlink" "ln -f file hlink &&
23 testing "force_create_softlink" "ln -f -s file slink &&
29 testing "preserves_hardlinks" "ln file hlink 2>/dev/null || echo 'yes'" \
34 testing "preserves_softlinks" "ln -s file slink 2>/dev/null || echo 'yes'" \
39 testing "multilevel_symbolic_links" "ln -s dir slink &&
40 ln -s file slink && [ -L slink -a -L slink/file ] &&
44 testing "no_dereference" "ln -s dir slink &&
45 ln -n -s file slink 2>/dev/null || [ -L slink ] && readlink slink" \
[all …]
Dreadlink.test18 ln -sf notfound link
21 ln -sf ../../ link
24 ln -sf file link
26 ln -sf . link
28 ln -snf link link
42 ln -s . here &&
43 ln -s ./sub dir &&
55 ln -sf / link || exit 1
59 rm -f link && ln -sf link link || exit 1
67 ln -s link1 link2
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/lit/formats/
Dgoogletest.py47 for ln in output.splitlines(False): # Don't keep newlines.
48 ln = lit.util.to_string(ln)
50 if 'Running main() from gtest_main.cc' in ln:
61 ln = ln.split('#', 1)[0].rstrip()
62 if not ln.lstrip():
66 while ln[index*2:index*2+2] == ' ':
71 ln = ln[index*2:]
72 if ln.endswith('.'):
73 nested_tests.append(ln)
75 for name in nested_tests + [ln]]):
[all …]
/external/swiftshader/third_party/LLVM/utils/lit/lit/
DTestRunner.py240 ln = ' &&\n'.join(commands)
242 cmd = ShUtil.ShParser(ln, litConfig.isWindows).parse()
244 return (Test.FAIL, "shell parser error on: %r" % ln)
266 for ln in commands:
269 ln = TclUtil.TclLexer(ln).lex_unquoted(process_all = True)
272 tokens = list(TclUtil.TclLexer(ln).lex())
274 return (Test.FAIL, "Tcl lexer error on: %r" % ln)
280 "Invalid test line: %r containing %r" % (ln, t))
285 return (Test.FAIL, "Tcl 'exec' parse error on: %r" % ln)
429 for ln in open(sourcepath):
[all …]
/external/syzkaller/pkg/symbolizer/
Dnm.go36 ln := s.Bytes()
37 if !bytes.Contains(ln, text[0]) && !bytes.Contains(ln, text[1]) {
40 sp1 := bytes.IndexByte(ln, ' ')
44 sp2 := bytes.IndexByte(ln[sp1+1:], ' ')
49 if !bytes.HasPrefix(ln[sp2:], text[0]) && !bytes.HasPrefix(ln[sp2:], text[1]) {
52 addr, err := strconv.ParseUint(string(ln[:sp1]), 16, 64)
56 size, err := strconv.ParseUint(string(ln[sp1+1:sp2]), 16, 64)
60 name := string(ln[sp2+len(text[0]):])
Dsymbolizer.go152 ln := s.Text()
153 if len(ln) > 3 && ln[0] == '0' && ln[1] == 'x' {
156 fn := ln
164 ln = s.Text()
165 colon := strings.LastIndexByte(ln, ':')
167 return nil, fmt.Errorf("failed to parse file:line in addr2line output: %v", ln)
170 for lineEnd < len(ln) && ln[lineEnd] >= '0' && ln[lineEnd] <= '9' {
173 file := ln[:colon]
174 line, err := strconv.Atoi(ln[colon+1 : lineEnd])
/external/clang/utils/perf-training/
Dperf-helper.py118 for ln in cc_output.split('\n'):
120 if (ln == 'Using built-in specs.' or
121 ln.startswith('Configured with:') or
122 ln.startswith('Target:') or
123 ln.startswith('Thread model:') or
124 ln.startswith('InstalledDir:') or
125 ln.startswith('LLVM Profile Note') or
126 ' version ' in ln):
128 cc_commands.append(ln)
185 for ln in f:
[all …]
/external/libcxx/utils/libcxx/test/
Dgooglebenchmark.py50 for ln in output.splitlines(False): # Don't keep newlines.
51 ln = lit.util.to_string(ln)
52 if not ln.strip():
56 while ln[index*2:index*2+2] == ' ':
61 ln = ln[index*2:]
62 if ln.endswith('.'):
63 nested_tests.append(ln)
65 for name in nested_tests + [ln]]):
70 yield ''.join(nested_tests) + ln
/external/python/cpython2/Mac/
DMakefile.in37 INSTALL_SYMLINK=ln -fsn
41 LN=@LN@
57 ln -sf python$(VERSION) "$(DESTDIR)$(prefix)/bin/python2"
58 ln -sf python2 "$(DESTDIR)$(prefix)/bin/python"
59 ln -sf pythonw$(VERSION) "$(DESTDIR)$(prefix)/bin/pythonw2"
60 ln -sf pythonw2 "$(DESTDIR)$(prefix)/bin/pythonw"
64 ln -sf python$(VERSION)-32 "$(DESTDIR)$(prefix)/bin/python2-32"
65 ln -sf python2-32 "$(DESTDIR)$(prefix)/bin/python-32"
66 ln -sf pythonw$(VERSION)-32 "$(DESTDIR)$(prefix)/bin/pythonw2-32"
67 ln -sf pythonw2-32 "$(DESTDIR)$(prefix)/bin/pythonw-32"
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfpField.java92 /** High precision string representation of ln(2). */
95 /** High precision string representation of ln(5). */
98 /** High precision string representation of ln(10). */
143 /** A {@link Dfp} with value ln(2). */
146 /** A two elements {@link Dfp} array with value ln(2) split in two pieces. */
149 /** A {@link Dfp} with value ln(5). */
152 /** A two elements {@link Dfp} array with value ln(5) split in two pieces. */
155 /** A {@link Dfp} with value ln(10). */
480 /** Get the constant ln(2).
481 * @return a {@link Dfp} with value ln(2)
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
DResourceBasedPeriodFormatterDataService.java100 String ln = localeName; in get() local
101 while (!availableLocales.contains(ln)) { in get()
102 int ix = ln.lastIndexOf("_"); in get()
104 ln = ln.substring(0, ix); in get()
105 } else if (!"test".equals(ln)) { in get()
106 ln = "test"; in get()
108 ln = null; in get()
112 if (ln != null) { in get()
113 String name = PATH + "pfd_" + ln + ".xml"; in get()
117 DataRecord dr = DataRecord.read(ln, new XMLRecordReader(reader)); in get()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/
DResourceBasedPeriodFormatterDataService.java102 String ln = localeName; in get() local
103 while (!availableLocales.contains(ln)) { in get()
104 int ix = ln.lastIndexOf("_"); in get()
106 ln = ln.substring(0, ix); in get()
107 } else if (!"test".equals(ln)) { in get()
108 ln = "test"; in get()
110 ln = null; in get()
114 if (ln != null) { in get()
115 String name = PATH + "pfd_" + ln + ".xml"; in get()
119 DataRecord dr = DataRecord.read(ln, new XMLRecordReader(reader)); in get()
[all …]
/external/llvm/utils/lit/lit/formats/
Dgoogletest.py42 for ln in lines:
43 if not ln.strip():
46 if 'Running main() from gtest_main.cc' in ln:
54 while ln[index*2:index*2+2] == ' ':
59 ln = ln[index*2:]
60 if ln.endswith('.'):
61 nested_tests.append(ln)
63 for name in nested_tests + [ln]]):
68 yield ''.join(nested_tests) + ln
/external/crcalc/tests/src/com/hp/creals/
DSlowCRTest.java132 checkEq(x, x.exp().ln(), "ln(exp) failed:" + xAsDouble); in checkExpLn()
139 checkApprEq(x.ln().doubleValue(), Math.log(xAsDouble), in checkExpLn()
141 checkEq(x, x.ln().exp(), "exp(ln) failed:" + xAsDouble); in checkExpLn()
142 checkEq(x.ln().divide(CR.valueOf(2)), x.sqrt().ln(), in checkExpLn()
143 "ln(sqrt) failed:" + xAsDouble); in checkExpLn()
144 // Check that ln(xv) = ln(x) + ln(v) for various v in checkExpLn()
148 x.ln().add(v.ln()), in checkExpLn()
149 x.multiply(v).ln(), in checkExpLn()
150 "ln(product) formula failed for:" + xAsDouble + "," + i); in checkExpLn()
200 checkEq(CR.valueOf(1).ln(), CR.valueOf(0), "ln(1) != 0"); in testSlowExpLn()
/external/syzkaller/pkg/report/
Dreport_test.go67 switch ln := s.Text(); {
68 case strings.HasPrefix(ln, "#"):
69 case strings.HasPrefix(ln, titlePrefix):
70 test.Title = ln[len(titlePrefix):]
71 case strings.HasPrefix(ln, startPrefix):
72 test.StartLine = ln[len(startPrefix):]
73 case strings.HasPrefix(ln, endPrefix):
74 test.EndLine = ln[len(endPrefix):]
75 case strings.HasPrefix(ln, corruptedPrefix):
76 switch v := ln[len(corruptedPrefix):]; v {
[all …]
/external/libmtp/src/
Dutil.c103 uint32_t ln, lc; in data_dump_ascii() local
111 ln = ( remain > 16 ) ? 16 : remain; in data_dump_ascii()
113 for (i = 0; i < ln; i++) { in data_dump_ascii()
118 if ( ln < 16 ) { in data_dump_ascii()
119 int width = ((16-ln)/2)*5 + (2*(ln%2)); in data_dump_ascii()
124 for (i = 0; i < ln; i++) { in data_dump_ascii()
132 remain -= ln; in data_dump_ascii()
133 dump_boundry += ln; in data_dump_ascii()
/external/clang/utils/
DCmpDriver99 for ln in err.split('\n'):
100 if (ln == 'Using built-in specs.' or
101 ln.startswith('Target: ') or
102 ln.startswith('Configured with: ') or
103 ln.startswith('Thread model: ') or
104 ln.startswith('gcc version') or
105 ln.startswith('clang version')):
107 elif ln.strip().startswith('"'):
108 self.commands.append(list(splitArgs(ln)))
110 self.stderr += ln + '\n'
/external/llvm/utils/Target/ARM/
Danalyze-match-table.py12 for ln in lines:
13 ln = ln.split("{", 1)[1]
14 ln = ln.rsplit("}", 1)[0]
15 a,bc = ln.split("{", 1)
/external/swiftshader/third_party/llvm-7.0/llvm/utils/Target/ARM/
Danalyze-match-table.py12 for ln in lines:
13 ln = ln.split("{", 1)[1]
14 ln = ln.rsplit("}", 1)[0]
15 a,bc = ln.split("{", 1)
/external/swiftshader/third_party/LLVM/utils/Target/ARM/
Danalyze-match-table.py12 for ln in lines:
13 ln = ln.split("{", 1)[1]
14 ln = ln.rsplit("}", 1)[0]
15 a,bc = ln.split("{", 1)
/external/python/cpython3/Mac/
DMakefile.in41 INSTALL_SYMLINK=ln -fsn
45 LN=@LN@
74 $(LN) -s $(BINDIR)/$${fn} $${fn} ;\
83 $(LN) -s $(BINDIR)/$${fn} $${fn} ;\
93 $(LN) -s $(BINDIR)/$${fn} $${fn} ;\
103 $(LN) -s $(BINDIR)/$${fn} $${fn} ;\
125 $(LN) -s $(BINDIR)/$${fn} $${fn} ;\
134 $(LN) -s $(BINDIR)/$${fn} $${fn} ;\
144 $(LN) -s $(BINDIR)/$${fn} $${fn} ;\
155 $(LN) -s $(BINDIR)/$${fn} $${fn} ;\
[all …]

12345678910>>...69