/external/eigen/test/eigen2/ |
eigen2_triangular.cpp | 1 // This file is part of Eigen, a lightweight C++ template library 2 // for linear algebra. Eigen itself is part of the KDE project. 29 MatrixType m1up = m1.template part<Eigen::UpperTriangular>(); 30 MatrixType m2up = m2.template part<Eigen::UpperTriangular>(); 44 r1.template part<Eigen::UpperTriangular>() += m1; 50 m1.template part<Eigen::UpperTriangular>() = (m2.transpose() * m2).lazy(); 52 VERIFY_IS_APPROX(m3.template part<Eigen::LowerTriangular>().transpose(), m1); 56 m1.template part<Eigen::LowerTriangular>() = (m2.transpose() * m2).lazy(); 57 VERIFY_IS_APPROX(m3.template part<Eigen::LowerTriangular>(), m1); 59 VERIFY_IS_APPROX(m3.template part<Diagonal>(), m3.diagonal().asDiagonal()) [all...] |
/external/fio/lib/ |
flist_sort.c | 100 struct flist_head *part[MAX_LIST_LENGTH_BITS+1]; /* sorted partial lists local 102 int lev; /* index into part[] */ 109 memset(part, 0, sizeof(part)); 119 for (lev = 0; part[lev]; lev++) { 120 cur = merge(priv, cmp, part[lev], cur); 121 part[lev] = NULL; 132 part[lev] = cur; 136 if (part[lev]) 137 list = merge(priv, cmp, part[lev], list) [all...] |
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/ |
MessagePatternDemo.java | 31 MessagePattern.Part prevPart=null; 35 MessagePattern.Part part=msg.getPart(i); local 36 assert prevPart==null || prevPart.getLimit()<=part.getIndex(); 37 String partString=part.toString(); 38 MessagePattern.Part.Type type=part.getType(); 39 if(type==MessagePattern.Part.Type.MSG_START) { 40 indent=manySpaces.substring(0, part.getValue()*2); 42 if(part.getLength()>0) [all...] |
MiniMessageFormatter.java | 18 import com.ibm.icu.text.MessagePattern.Part; 95 Part part=msg.getPart(i); local 96 Part.Type type=part.getType(); 97 int index=part.getIndex(); 99 if(type==Part.Type.MSG_LIMIT) { 102 if(type==Part.Type.SKIP_SYNTAX || type==Part.Type.INSERT_CHAR) { 103 prevIndex=part.getLimit() [all...] |
/external/ppp/pppd/plugins/pppoatm/ |
text2atm.c | 22 int part[3]; local 25 part[0] = part[1] = part[2] = 0; 34 if (part[i] > INT_MAX/10) return TRY_OTHER;/* number too big */ 35 part[i] = part[i]*10+*text++-'0'; 45 part[i++] = ATM_ITF_ANY; /* all *_ANY have the same value */ 50 part[i++] = ATM_VPI_UNSPEC; /* all *_UNSPEC have the same 58 part[2] = part[1] [all...] |
/external/guava/guava-tests/test/com/google/common/net/ |
HttpHeadersTest.java | 81 for (String part : SPLITTER.split(constantName)) { 82 if (!uppercaseAcronyms.contains(part)) { 83 part = part.charAt(0) + Ascii.toLowerCase(part.substring(1)); 85 parts.add(part);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
ManifestEditorContributor.java | 24 import org.eclipse.ui.part.MultiPageEditorActionBarContributor; 66 public void setActivePage(IEditorPart part) { 67 if (mActiveEditorPart == part) 70 mActiveEditorPart = part; 76 (part instanceof ITextEditor) ? (ITextEditor)part : null;
|
/cts/tools/dasm/src/java_cup/ |
lalr_item.java | 177 production_part part; local 191 part = the_production().rhs(pos); 193 /* consider what kind of production part it is -- skip actions */ 194 if (!part.is_action()) 196 sym = ((symbol_part)part).the_symbol(); 233 production_part part; local 243 part = the_production().rhs(pos); 246 if (!part.is_action()) 248 sym = ((symbol_part)part).the_symbol();
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/all/ |
test-gen.c | 645 int part; local 648 for (part = 0; part < part_count; ++part) 651 data[part].as_in = data[part].dis_out = 0; 652 data[part].bits = 0; 654 if (parts[part].func (&parts[part].arg, &data[part])) [all...] |
/external/skia/src/pathops/ |
SkLineParameters.h | 77 double cubicPart(const SkDCubic& part) { 78 cubicEndPoints(part); 79 if (part[0] == part[1] || ((const SkDLine& ) part[0]).nearRay(part[2])) { 80 return pointDistance(part[3]); 82 return pointDistance(part[2]); 116 double quadPart(const SkDQuad& part) { 117 quadEndPoints(part); [all...] |
/external/vboot_reference/cgpt/ |
cgpt_boot.c | 92 memset(&drive.pmbr.part, 0, sizeof(drive.pmbr.part)); 93 drive.pmbr.part[0].f_head = 0x00; 94 drive.pmbr.part[0].f_sect = 0x02; 95 drive.pmbr.part[0].f_cyl = 0x00; 96 drive.pmbr.part[0].type = 0xee; 97 drive.pmbr.part[0].l_head = 0xff; 98 drive.pmbr.part[0].l_sect = 0xff; 99 drive.pmbr.part[0].l_cyl = 0xff; 100 drive.pmbr.part[0].f_lba = htole32(1) [all...] |
/art/runtime/interpreter/mterp/x86/ |
op_sget_wide.S | 18 SET_VREG %eax, rINST # fp[A]<- low part 19 SET_VREG_HIGH %edx, rINST # fp[A+1]<- high part
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-mmix/ |
bspec805.s | 5 TETRA 0 % Decent high-part of section length. However... 8 % length, high part.
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-sh/sh64/ |
crange-2c.s | 1 ! First part of crange-2b.s, but in section .text.mixed.
|
crange-2d.s | 1 ! Second part of crange-2b.s, but in section .text.mixed.
|
crange-2e.s | 1 ! Third part of crange-2b.s, but in section .text.mixed.
|
/external/libbrillo/brillo/dbus/ |
utils.cc | 59 for (const std::string& part : parts) { 60 // Each part should be in format of "domain/code:message" 61 size_t slash_pos = part.find('/'); 62 size_t colon_pos = part.find(':'); 67 std::string domain = part.substr(0, slash_pos); 68 std::string code = part.substr(slash_pos + 1, colon_pos - slash_pos - 1); 69 std::string message = part.substr(colon_pos + 1); 75 errors.emplace_back(errors::dbus::kDomain, dbus_error_name, part); 77 // We have a malformed part. The whole D-Bus error was most likely
|
/external/skia/src/animator/ |
SkDrawMatrix.cpp | 60 for (SkMatrixPart** part = fParts.begin(); part < fParts.end(); part++) 61 delete *part; 66 SkMatrixPart* part = (SkMatrixPart*) child; local 67 *fParts.append() = part; 68 if (part->add()) 136 for (SkMatrixPart** part = fParts.begin(); part < fParts.end(); part++) [all...] |
SkDisplayPost.cpp | 46 for (SkDataInput** part = fParts.begin(); part < fParts.end(); part++) 47 delete *part; 52 SkDataInput* part = (SkDataInput*) child; local 53 *fParts.append() = part; 101 //for some reason the last part is id, which i don't want 177 for (SkDataInput** part = fParts.begin(); part < fParts.end(); part++) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LayoutWindowCoordinator.java | 107 // What if the editor part is *already* open? How do I deal with that? 159 // they have already been opened before we added our part listener) 162 IWorkbenchPart part = ref.getPart(false /*restore*/); local 163 if (activePage.isPartVisible(part)) { 169 IWorkbenchPart part = ref.getPart(false /*restore*/); local 170 if (activePage.isPartVisible(part)) { 196 * looks up the part state and calls this method to ensure that the right 250 private void sync(IWorkbenchPart part) { 251 if (part instanceof AndroidXmlEditor) { 252 LayoutEditorDelegate editor = LayoutEditorDelegate.fromEditor((IEditorPart) part); 354 IWorkbenchPart part = partRef.getPart(false \/*restore*\/); local 377 IWorkbenchPart part = partRef.getPart(false); local 389 IWorkbenchPart part = partRef.getPart(false); local [all...] |
/external/valgrind/coregrind/m_syswrap/ |
syswrap-x86-solaris.c | 7 This file is part of Valgrind, a dynamic binary instrumentation 133 /* Architecture-specific part of VG_(save_context). */ 135 CorePart part) 145 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_x86_EIP, 148 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_x86_EAX, 151 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_x86_EBX, 154 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_x86_ECX, 157 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_x86_EDX, 160 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_x86_EBP, 163 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_x86_ESI [all...] |
/prebuilts/go/darwin-x86/src/mime/multipart/ |
multipart_test.go | 64 p := &Part{Header: make(map[string][]string)} 79 This is a multi-part message. This line is ignored. 132 part, err := reader.NextPart() 133 if part == nil || err != nil { 137 if x := part.Header.Get("Header1"); x != "value1" { 138 t.Errorf("part.Header.Get(%q) = %q, want %q", "Header1", x, "value1") 140 if x := part.Header.Get("foo-bar"); x != "baz" { 141 t.Errorf("part.Header.Get(%q) = %q, want %q", "foo-bar", x, "baz") 143 if x := part.Header.Get("Foo-Bar"); x != "baz" { 144 t.Errorf("part.Header.Get(%q) = %q, want %q", "Foo-Bar", x, "baz" [all...] |
/prebuilts/go/linux-x86/src/mime/multipart/ |
multipart_test.go | 64 p := &Part{Header: make(map[string][]string)} 79 This is a multi-part message. This line is ignored. 132 part, err := reader.NextPart() 133 if part == nil || err != nil { 137 if x := part.Header.Get("Header1"); x != "value1" { 138 t.Errorf("part.Header.Get(%q) = %q, want %q", "Header1", x, "value1") 140 if x := part.Header.Get("foo-bar"); x != "baz" { 141 t.Errorf("part.Header.Get(%q) = %q, want %q", "foo-bar", x, "baz") 143 if x := part.Header.Get("Foo-Bar"); x != "baz" { 144 t.Errorf("part.Header.Get(%q) = %q, want %q", "Foo-Bar", x, "baz" [all...] |
/frameworks/base/cmds/bootanimation/ |
BootAnimation.cpp | 560 Animation::Part part; local 561 part.playUntilComplete = pathType == 'c'; 562 part.count = count; 563 part.pause = pause; 564 part.path = path; 565 part.clockPosY = clockPosY; 566 part.audioData = NULL; 567 part.animation = NULL; 568 if (!parseColor(color, part.backgroundColor)) 578 Animation::Part part; local [all...] |
/external/autotest/client/tests/cgroup/ |
cgroup_common.py | 239 part = 0 242 logging.error("cg.smoke_test[%d]: Can't create cgroup", part) 245 part += 1 248 logging.error("cg.smoke_test[%d]: Couldn't create process", part) 251 part += 1 253 logging.error("cg.smoke_test[%d]: Process died unexpectidly", part) 257 part += 1 260 part) 264 part += 1 266 logging.error("cg.smoke_test[%d]: Could not set cgroup", part) [all...] |