| /external/eigen/unsupported/test/ |
| D | levenberg_marquardt.cpp | 12 // FIXME: These tests all check for hard-coded values. Ideally, parameters and start estimates shou… 35 static const double y[15] = {1.4e-1, 1.8e-1, 2.2e-1, 2.5e-1, 2.9e-1, 3.2e-1, 3.5e-1, in operator ()() 36 3.9e-1, 3.7e-1, 5.8e-1, 7.3e-1, 9.6e-1, 1.34, 2.1, 4.39}; in operator ()() 41 tmp2 = 16 - i - 1; in operator ()() 43 fvec[i] = y[i] - (x[0] + tmp1/(x[1]*tmp2 + x[2]*tmp3)); in operator ()() 54 tmp2 = 16 - i - 1; in df() 57 fjac(i,0) = -1; in df() 76 LevenbergMarquardt<lmder_functor> lm(functor); in testLmder1() local 77 info = lm.lmder1(x); in testLmder1() 81 VERIFY_IS_EQUAL(lm.nfev(), 6); in testLmder1() [all …]
|
| D | NonLinearOptimization.cpp | 22 --g_test_level; \ 35 static const double y[15]={1.4e-1, 1.8e-1, 2.2e-1, 2.5e-1, 2.9e-1, 3.2e-1, 3.5e-1, in fcn_chkder() 36 3.9e-1, 3.7e-1, 5.8e-1, 7.3e-1, 9.6e-1, 1.34, 2.1, 4.39}; in fcn_chkder() 45 tmp2 = 16-i-1; in fcn_chkder() 48 fvec[i] = y[i] - (x[0] + tmp1/(x[1]*tmp2 + x[2]*tmp3)); in fcn_chkder() 53 tmp2 = 16-i-1; in fcn_chkder() 61 fjac(i,0) = -1.; in fcn_chkder() 79 x << 9.2e-1, 1.3e-1, 5.4e-1; in testChkder() 87 fvecp -= fvec; in testChkder() 92 -1.181606, -1.429655, -1.606344, in testChkder() [all …]
|
| /external/musl/src/locale/ |
| D | setlocale.c | 12 const struct __locale_map *lm; in setlocale() local 27 char part[LOCALE_NAME_MAX+1] = "C.UTF-8"; in setlocale() 31 if (z-p <= LOCALE_NAME_MAX) { in setlocale() 32 memcpy(part, p, z-p); in setlocale() 33 part[z-p] = 0; in setlocale() 36 lm = __get_locale(i, part); in setlocale() 37 if (lm == LOC_MAP_FAILED) { in setlocale() 41 tmp_locale.cat[i] = lm; in setlocale() 49 const struct __locale_map *lm = in setlocale() local 51 if (lm == libc.global_locale.cat[0]) same++; in setlocale() [all …]
|
| /external/trusty/musl/src/locale/ |
| D | setlocale.c | 13 const struct __locale_map *lm; in setlocale() local 28 char part[LOCALE_NAME_MAX+1] = "C.UTF-8"; in setlocale() 32 if (z-p <= LOCALE_NAME_MAX) { in setlocale() 33 memcpy(part, p, z-p); in setlocale() 34 part[z-p] = 0; in setlocale() 37 lm = __get_locale(i, part); in setlocale() 38 if (lm == LOC_MAP_FAILED) { in setlocale() 42 tmp_locale.cat[i] = lm; in setlocale() 50 const struct __locale_map *lm = in setlocale() local 52 if (lm == libc.global_locale.cat[0]) same++; in setlocale() [all …]
|
| /external/mesa3d/src/amd/compiler/ |
| D | aco_insert_exec_mask.cpp | 4 * SPDX-License-Identifier: MIT 42 Operand op; /* Either a temporary, exec or const -1. */ 57 exec_ctx(Program* program_) : program(program_), info(program->blocks.size()) {} in exec_ctx() 63 if (instr->isMUBUF()) { in needs_exact() 64 return instr->mubuf().disable_wqm; in needs_exact() 65 } else if (instr->isMTBUF()) { in needs_exact() 66 return instr->mtbuf().disable_wqm; in needs_exact() 67 } else if (instr->isMIMG()) { in needs_exact() 68 return instr->mimg().disable_wqm; in needs_exact() 69 } else if (instr->isFlatLike()) { in needs_exact() [all …]
|
| /external/musl/src/internal/ |
| D | fdpic_crt.h | 7 * non-FDPIC-aware ELF loader, and fixups are not needed, in __fdpic_fixup() 9 if (!map) return (void *)z[-1]; in __fdpic_fixup() 16 } *lm = map; in __fdpic_fixup() local 17 int nsegs = lm->nsegs, rseg = 0, vseg = 0; in __fdpic_fixup() 19 while (*a-lm->segs[rseg].p_vaddr >= lm->segs[rseg].p_memsz) in __fdpic_fixup() 22 (*a + lm->segs[rseg].addr - lm->segs[rseg].p_vaddr); in __fdpic_fixup() 24 while (*r-lm->segs[vseg].p_vaddr >= lm->segs[vseg].p_memsz) in __fdpic_fixup() 26 *r += lm->segs[vseg].addr - lm->segs[vseg].p_vaddr; in __fdpic_fixup()
|
| /external/trusty/musl/src/internal/ |
| D | fdpic_crt.h | 7 * non-FDPIC-aware ELF loader, and fixups are not needed, in __fdpic_fixup() 9 if (!map) return (void *)z[-1]; in __fdpic_fixup() 16 } *lm = map; in __fdpic_fixup() local 17 int nsegs = lm->nsegs, rseg = 0, vseg = 0; in __fdpic_fixup() 19 while (*a-lm->segs[rseg].p_vaddr >= lm->segs[rseg].p_memsz) in __fdpic_fixup() 22 (*a + lm->segs[rseg].addr - lm->segs[rseg].p_vaddr); in __fdpic_fixup() 24 while (*r-lm->segs[vseg].p_vaddr >= lm->segs[vseg].p_memsz) in __fdpic_fixup() 26 *r += lm->segs[vseg].addr - lm->segs[vseg].p_vaddr; in __fdpic_fixup()
|
| /external/ltp/testcases/misc/math/float/trigo/ |
| D | README | 2 [linux@node-162 trigo]$ pwd 5 [linux@node-162 trigo]$ ls 11 [linux@node-162 trigo]$ make all 12 gcc -lm -lpthread gensin.c -o gensin 13 gcc -lm -lpthread gencos.c -o gencos 14 gcc -lm -lpthread gentan.c -o gentan 15 gcc -lm -lpthread genatan.c -o genatan 16 gcc -lm -lpthread genatan2.c -o genatan2 17 gcc -lm -lpthread genasin.c -o genasin 18 gcc -lm -lpthread genacos.c -o genacos [all …]
|
| /external/skia/platform_tools/android/apps/jetski/src/main/java/org/skia/jetski/ |
| D | Gradient.java | 4 * Use of this source code is governed by a BSD-style license that can be 17 protected Gradient(int[] colors, float[] pos, TileMode tm, Matrix lm, in Gradient() argument 19 super(makeGradient(colors, pos, tm, lm, gf)); in Gradient() 22 protected Gradient(float[] colors, float[] pos, TileMode tm, Matrix lm, in Gradient() argument 24 super(makeGradient(colors, pos, tm, lm, gf)); in Gradient() 27 private static long makeGradient(int[] colors, float[] pos, TileMode tm, Matrix lm, in makeGradient() argument 30 throw new IllegalArgumentException("Expecting equal-length colors and positions."); in makeGradient() 42 return gf.make(fcolors, pos, tm.ordinal(), lm != null ? lm.getNativeInstance() : 0); in makeGradient() 45 private static long makeGradient(float[] colors, float[] pos, TileMode tm, Matrix lm, in makeGradient() argument 55 return gf.make(colors, pos, tm.ordinal(), lm != null ? lm.getNativeInstance() : 0); in makeGradient()
|
| /external/libopus/celt/ |
| D | celt_encoder.c | 1 /* Copyright (c) 2007-2008 CSIRO 2 Copyright (c) 2007-2010 Xiph.Org Foundation 4 Written by Jean-Marc Valin and Gregory Maxwell */ 10 - Redistributions of source code must retain the above copyright 13 - Redistributions in binary form must reproduce the above copyright 106 /* VBR-related parameters */ 122 celt_sig in_mem[1]; /* Size = channels*mode->overlap */ 124 /* opus_val16 oldBandE[], Size = channels*mode->nbEBands */ 125 /* opus_val16 oldLogE[], Size = channels*mode->nbEBands */ 126 /* opus_val16 oldLogE2[], Size = channels*mode->nbEBands */ [all …]
|
| D | rate.h | 1 /* Copyright (c) 2007-2008 CSIRO 2 Copyright (c) 2007-2009 Xiph.Org Foundation 3 Written by Jean-Marc Valin */ 9 - Redistributions of source code must retain the above copyright 12 - Redistributions in binary form must reproduce the above copyright 46 void compute_pulse_cache(CELTMode *m, int LM); 50 return i<8 ? i : (8 + (i&7)) << ((i>>3)-1); in get_pulses() 53 static OPUS_INLINE int bits2pulses(const CELTMode *m, int band, int LM, int bits) in bits2pulses() argument 59 LM++; in bits2pulses() 60 cache = m->cache.bits + m->cache.index[LM*m->nbEBands+band]; in bits2pulses() [all …]
|
| D | bands.c | 1 /* Copyright (c) 2007-2008 CSIRO 2 Copyright (c) 2007-2009 Xiph.Org Foundation 3 Copyright (c) 2008-2009 Gregory Maxwell 4 Written by Jean-Marc Valin and Gregory Maxwell */ 10 - Redistributions of source code must retain the above copyright 13 - Redistributions in binary form must reproduce the above copyright 56 if (i<prev && val > thresholds[prev-1]-hysteresis[prev-1]) in hysteresis_decision() 66 /* This is a cos() approximation designed to be bit-exact on any platform. Bit exactness 75 x2 = (32767-x2) + FRAC_MUL16(x2, (-7651 + FRAC_MUL16(x2, (8277 + FRAC_MUL16(-626, x2))))); in bitexact_cos() 86 icos<<=15-lc; in bitexact_log2tan() [all …]
|
| D | celt_decoder.c | 1 /* Copyright (c) 2007-2008 CSIRO 2 Copyright (c) 2007-2010 Xiph.Org Foundation 4 Written by Jean-Marc Valin and Gregory Maxwell */ 10 - Redistributions of source code must retain the above copyright 13 - Redistributions in binary form must reproduce the above copyright 59 /* The maximum pitch lag to allow in the pitch-based PLC. It's possible to save 63 /* The minimum pitch lag to allow in the pitch-based PLC. This corresponds to a 117 celt_sig _decode_mem[1]; /* Size = channels*(DECODE_BUFFER_SIZE+mode->overlap) */ 119 /* opus_val16 oldEBands[], Size = 2*mode->nbEBands */ 120 /* opus_val16 oldLogE[], Size = 2*mode->nbEBands */ [all …]
|
| /external/clang/lib/Parse/ |
| D | ParseCXXInlineMethods.cpp | 1 //===--- ParseCXXInlineMethods.cpp - C++ class inline methods parsing------===// 8 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 22 /// ParseCXXInlineMethodDef - We parsed and verified that the specified 36 TemplateInfo.TemplateParams ? TemplateInfo.TemplateParams->data() in ParseCXXInlineMethodDef() 38 TemplateInfo.TemplateParams ? TemplateInfo.TemplateParams->size() : 0); in ParseCXXInlineMethodDef() 68 SourceLocation KWEndLoc = Tok.getEndLoc().getLocWithOffset(-1); in ParseCXXInlineMethodDef() 77 DeclAsFunction->setRangeEnd(KWEndLoc); in ParseCXXInlineMethodDef() 86 DeclAsFunction->setRangeEnd(KWEndLoc); in ParseCXXInlineMethodDef() 116 !(FnD && FnD->getAsFunction() && in ParseCXXInlineMethodDef() [all …]
|
| /external/tensorflow/third_party/llvm_openmp/ |
| D | openmp.bzl | 2 TODO(Intel-tf): Delete this and reuse a similar function in third_party/llvm 11 WINDOWS_MSVC_LLVM_OPENMP_LIBPATH = "bazel-out/x64_windows-opt/bin/external/llvm_openmp/libiomp5md.d… 42 def select_os_specific_2(LM, W): 43 return select_os_specific(L = LM, M = LM, W = W) 48 # TODO(Intel-tf) Replace the following calls to cc_binary with cc_library. 67 LM = [ 76 "runtime/src/z_Windows_NT-586_util.cpp", 81 LM = ["omp_EXPORTS", "_GNU_SOURCE", "_REENTRANT"], 86 LM = ["-lpthread -ldl -Wl,--version-script=$(location :ldscript)"], 91 LM = [":ldscript"],
|
| /external/rust/android-crates-io/crates/zerotrie/src/ |
| D | serde.rs | 3 // (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). 27 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() 30 fn visit_bytes<E>(self, v: &[u8]) -> Result<Self::Value, E> { in visit_bytes() 33 fn visit_str<E>(self, v: &str) -> Result<Self::Value, E> { in visit_str() 36 fn visit_seq<A>(self, mut v: A) -> Result<Self::Value, A::Error> in visit_seq() 49 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize() 59 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize() 74 fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> in serialize() 98 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize() 103 let lm = LiteMap::<Box<ByteStr>, usize>::deserialize(deserializer)?; in deserialize() localVariable [all …]
|
| /external/libva-utils/encode/ |
| D | Makefile.am | 17 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 27 -Wall \ 32 AM_CPPFLAGS += -fstack-protector 36 h264encode_CFLAGS = -I$(top_srcdir)/common -g 39 $(top_builddir)/common/libva-display.la \ 40 -lpthread -lm 43 hevcencode_CFLAGS = -I$(top_srcdir)/common -g 46 $(top_builddir)/common/libva-display.la \ 47 -lpthread -lm 51 avcenc_CFLAGS = -I$(top_srcdir)/common -g [all …]
|
| /external/cpuinfo/test/cpuinfo/ |
| D | leagoo-t5c.log | 5 model name : Spreadtrum SC9853I-IA 20 … sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht nx rdtscp lm constant_tsc arch_pe… 32 model name : Spreadtrum SC9853I-IA 47 … sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht nx rdtscp lm constant_tsc arch_pe… 59 model name : Spreadtrum SC9853I-IA 74 … sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht nx rdtscp lm constant_tsc arch_pe… 86 model name : Spreadtrum SC9853I-IA 101 … sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht nx rdtscp lm constant_tsc arch_pe… 113 model name : Spreadtrum SC9853I-IA 128 … sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht nx rdtscp lm constant_tsc arch_pe… [all …]
|
| /external/clang/test/Driver/ |
| D | netbsd.cpp | 1 // RUN: %clangxx -no-canonical-prefixes -target x86_64--netbsd \ 2 // RUN: -stdlib=platform --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 3 // RUN: | FileCheck -check-prefix=X86_64 %s 4 // RUN: %clangxx -no-canonical-prefixes -target x86_64--netbsd7.0.0 \ 5 // RUN: -stdlib=platform --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 6 // RUN: | FileCheck -check-prefix=X86_64-7 %s 7 // RUN: %clangxx -no-canonical-prefixes -target x86_64--netbsd6.0.0 \ 8 // RUN: -stdlib=platform --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ 9 // RUN: | FileCheck -check-prefix=X86_64-6 %s 10 // RUN: %clangxx -no-canonical-prefixes -target arm--netbsd6.0.0-eabi \ [all …]
|
| /external/coreboot/util/bincfg/ |
| D | Makefile | 1 ## SPDX-License-Identifier: GPL-2.0-only 6 WERROR=-Werror 7 CFLAGS=-O2 -Wall -Wextra -Wshadow ${WERROR} 8 CFLAGS+=-Wno-unused-function 9 LDFLAGS= -lfl 14 $(CC) $^ $(CFLAGS) $(LDFLAGS) -o $@ 17 $(LEX) -o $(patsubst $(TARGET).l,$(TARGET).lex.c,$<) $< 20 $(YACC) -d $< 23 gen-gbe-ich9m: $(TARGET) 24 $(abspath $(TARGET)) gbe-ich9m.spec gbe-ich9m.set gbe1.bin [all …]
|
| /external/tensorflow/tensorflow/core/kernels/ |
| D | eigen_spatial_convolutions.h | 7 http://www.apache.org/licenses/LICENSE-2.0 23 #include "tensorflow/core/kernels/eigen_spatial_convolutions-inl.h" 40 const Index num_coeffs = max_depth - depth; 59 Index num_coeffs = max_depth - depth; 74 // block in column-major storage order. Knowing the properties of the 163 // - patch_depth_is_multiple_of_packet_size=true: We are guaranteed to have 168 // - has_padding: Input tensor has non-zero padding. In this case for each 186 SubMapper lm = rhs.getLinearMapper(0, col); 194 const bool pad_col = has_padding && lm.padCol(c); 196 eigen_assert(has_padding || !lm.padCol(c)); [all …]
|
| /external/eigen/test/ |
| D | permutationmatrices.cpp | 49 Matrix<Scalar,Rows,Rows> lm(lp); in permutationmatrices() local 52 VERIFY_IS_APPROX(m_permuted, lm*m_original*rm); in permutationmatrices() 56 VERIFY_IS_APPROX(m_permuted, lm*m_original*rm); in permutationmatrices() 74 VERIFY_IS_APPROX((lp*lp2).toDenseMatrix().template cast<Scalar>(), lm*lm2); in permutationmatrices() 75 …S_APPROX((lv.asPermutation()*lv2.asPermutation()).toDenseMatrix().template cast<Scalar>(), lm*lm2); in permutationmatrices() 76 …(),lv.size())*MapLeftPerm(lv2.data(),lv2.size())).toDenseMatrix().template cast<Scalar>(), lm*lm2); in permutationmatrices() 102 Index i = internal::random<Index>(0, rows-1); in permutationmatrices() 104 do j = internal::random<Index>(0, rows-1); while(j==i); in permutationmatrices() 106 lm = lp; in permutationmatrices() 107 lm.row(i).swap(lm.row(j)); in permutationmatrices() [all …]
|
| /external/cronet/stable/third_party/llvm-libc/src/test/UnitTest/ |
| D | PrintfMatcher.cpp | 1 //===-- PrintfMatcher.cpp ---------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 39 #define CASE_LM(lm) \ argument 40 case (LengthModifier::lm): \ 41 tlog << #lm; \ 43 #define CASE_LM_BIT_WIDTH(lm, bw) \ argument 44 case (LengthModifier::lm): \ 45 tlog << #lm << "\n\tbit width: :" << bw; \
|
| /external/cronet/tot/third_party/llvm-libc/src/test/UnitTest/ |
| D | PrintfMatcher.cpp | 1 //===-- PrintfMatcher.cpp ---------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 39 #define CASE_LM(lm) \ argument 40 case (LengthModifier::lm): \ 41 tlog << #lm; \ 43 #define CASE_LM_BIT_WIDTH(lm, bw) \ argument 44 case (LengthModifier::lm): \ 45 tlog << #lm << "\n\tbit width: :" << bw; \
|
| /external/llvm-libc/test/UnitTest/ |
| D | PrintfMatcher.cpp | 1 //===-- PrintfMatcher.cpp ---------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 39 #define CASE_LM(lm) \ argument 40 case (LengthModifier::lm): \ 41 tlog << #lm; \ 43 #define CASE_LM_BIT_WIDTH(lm, bw) \ argument 44 case (LengthModifier::lm): \ 45 tlog << #lm << "\n\tbit width: :" << bw; \
|