/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/netinet/ |
udp.h | 23 * Redistribution and use in source and binary forms, with or without 26 * 1. Redistributions of source code must retain the above copyright 60 u_int16_t uh_sport; /* source port */ 70 u_int16_t source; member in struct:udphdr
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/syntax/ |
source.go | 2 // Use of this source code is governed by a BSD-style 5 // This file implements source, a buffered rune reader 11 // This file is self-contained (go tool compile source.go 30 type source struct { type 34 // source buffer 36 offs int // source offset of buf 47 // init initializes source to read from src and to report errors via errh. 49 func (s *source) init(src io.Reader, errh func(line, pos uint, msg string)) { 65 func (s *source) ungetr() { 72 func (s *source) ungetr2() [all...] |
/prebuilts/go/darwin-x86/src/cmd/vendor/github.com/google/pprof/internal/driver/ |
cli.go | 26 type source struct { type 41 // and returns the source of the profile and optionally the command 43 func parseFlags(o *plugin.Options) (*source, []string, error) { 46 flagBase := flag.StringList("base", "", "Source for base profile for comparison") 47 // Source options. 88 return nil, nil, fmt.Errorf("no profile source specified") 132 source := &source{ 145 source.Base = append(source.Base, *s [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/syntax/ |
source.go | 2 // Use of this source code is governed by a BSD-style 5 // This file implements source, a buffered rune reader 11 // This file is self-contained (go tool compile source.go 30 type source struct { type 34 // source buffer 36 offs int // source offset of buf 47 // init initializes source to read from src and to report errors via errh. 49 func (s *source) init(src io.Reader, errh func(line, pos uint, msg string)) { 65 func (s *source) ungetr() { 72 func (s *source) ungetr2() [all...] |
/prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/internal/driver/ |
cli.go | 26 type source struct { type 41 // and returns the source of the profile and optionally the command 43 func parseFlags(o *plugin.Options) (*source, []string, error) { 46 flagBase := flag.StringList("base", "", "Source for base profile for comparison") 47 // Source options. 88 return nil, nil, fmt.Errorf("no profile source specified") 132 source := &source{ 145 source.Base = append(source.Base, *s [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/ |
weak_ptr.pass.cpp | 6 // Source Licenses. See LICENSE.TXT for details. 58 std::weak_ptr<T> source (std::shared_ptr<T> p) { return std::weak_ptr<T>(p); } function 108 std::weak_ptr<A> pA = source(ps);
|
weak_ptr_Y.pass.cpp | 6 // Source Licenses. See LICENSE.TXT for details. 56 std::weak_ptr<T> source (std::shared_ptr<T> p) { return std::weak_ptr<T>(p); } function 102 std::weak_ptr<A> pA = source(ps);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/utility/forward/ |
forward_03.pass.cpp | 6 // Source Licenses. See LICENSE.TXT for details. 21 A source() {return A();} function 46 // static_assert(sizeof(test(std::forward<A>(source()))) == 2, ""); 49 static_assert(sizeof(test(std::forward<const A&>(source()))) == 2, ""); 51 static_assert(sizeof(test(std::forward<const A>(source()))) == 2, "");
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/ |
mlsrule.py | 36 def expanded_mls_rule_factory(original, source, target): 41 source The source type of the expanded rule. 52 rule.source = source 71 return "{0.ruletype} {0.source} {0.target}:{0.tclass} {0.default};".format(self) 76 def source(self): member in class:MLSRule 77 """The rule's source type/attribute.""" 92 for s, t in itertools.product(self.source.expand(), self.target.expand()): 100 source = Non variable in class:ExpandedMLSRule [all...] |
rbacrule.py | 39 def expanded_rbac_rule_factory(original, source, target): 44 source The source type of the expanded rule. 57 rule.source = source 76 return "{0.ruletype} {0.source} {0.target};".format(self) 79 return hash("{0.ruletype}|{0.source}|{0.target}".format(self)) 84 def source(self): member in class:RoleAllow 85 """The rule's source role.""" 105 for s, t in itertools.product(self.source.expand(), self.target.expand()) 119 def source(self): member in class:RoleTransition 143 source = None variable in class:ExpandedRoleAllow 152 source = None variable in class:ExpandedRoleTransition [all...] |
rule.py | 41 return hash("{0.ruletype}|{0.source}|{0.target}|{0.tclass}|{1}|{2}".format( 50 def source(self): member in class:PolicyRule 52 The source for the rule. This should be overridden by
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/ |
rbacrulequery.py | 38 source The name of the source role/attribute to match. 42 be used on the source role/attribute. 59 source = CriteriaDescriptor("source_regex", "lookup_role") variable in class:RBACRuleQuery 94 self.log.debug("Source: {0.source!r}, indirect: {0.source_indirect}, " 110 # Matching on source role 112 if self.source and not match_indirect_regex( 113 rule.source, 114 self.source, [all...] |
/test/suite_harness/tools/dex-tools/test/dex/reader/ |
LargeDexTests.java | 2 * Copyright (C) 2009 The Android Open Source Project 44 JavaSource source = new JavaSource(CLASS_NAME, b.toString()); local 45 DexFile dexFile = javaToDexUtil.getFrom(source);
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
CompressionResult.java | 2 * Copyright (C) 2016 The Android Open Source Project 37 private final CloseableByteSource source; field in class:CompressionResult 40 * Size of the compressed source. Kept because {@code source.size()} can throw 48 * @param source the data source 51 public CompressionResult(@Nonnull CloseableByteSource source, @Nonnull CompressionMethod method, 54 this.source = source; 75 return source; [all...] |
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
BuddyInfoMetricCollector.java | 2 * Copyright (C) 2018 The Android Open Source Project 42 try (InputStreamSource source = new FileInputStreamSource(outputFile, true)) { 47 source); local
|
GraphicsStatsMetricCollector.java | 2 * Copyright (C) 2017 The Android Open Source Project 41 try (InputStreamSource source = new FileInputStreamSource(outputFile, true)) { 46 source); local
|
IonHeapInfoMetricCollector.java | 2 * Copyright (C) 2018 The Android Open Source Project 49 try (InputStreamSource source = new FileInputStreamSource(outputFile, true)) { 54 source); local 67 try (InputStreamSource source = new FileInputStreamSource(outputFile, true)) { 72 source); local
|
MemInfoMetricCollector.java | 2 * Copyright (C) 2017 The Android Open Source Project 41 try (InputStreamSource source = new FileInputStreamSource(outputFile, true)) { 46 source); local
|
PagetypeInfoMetricCollector.java | 2 * Copyright (C) 2018 The Android Open Source Project 41 try (InputStreamSource source = new FileInputStreamSource(outputFile, true)) { 46 source); local
|
TraceMetricCollector.java | 2 * Copyright (C) 2018 The Android Open Source Project 42 try (InputStreamSource source = new FileInputStreamSource(outputFile, true)) { 47 source); local
|
/external/okhttp/okio/okio/src/test/java/okio/ |
BufferedSourceTest.java | 45 result.source = buffer; 59 result.source = new RealBufferedSource(buffer); 73 result.source = new RealBufferedSource(new ForwardingSource(buffer) { 92 BufferedSource source; field in class:BufferedSourceTest.Pipe 114 private BufferedSource source; field in class:BufferedSourceTest 119 source = pipe.source; 124 assertEquals(0xab, source.readByte() & 0xff); 125 assertEquals(0xcd, source.readByte() & 0xff); 126 assertTrue(source.exhausted()) [all...] |
/frameworks/base/tests/net/java/android/net/ |
LinkPropertiesTest.java | 2 * Copyright (C) 2010 The Android Open Source Project 72 public void assertLinkPropertiesEqual(LinkProperties source, LinkProperties target) { 74 assertTrue(source.isIdenticalInterfaceName(target)); 75 assertTrue(target.isIdenticalInterfaceName(source)); 77 assertTrue(source.isIdenticalAddresses(target)); 78 assertTrue(target.isIdenticalAddresses(source)); 80 assertTrue(source.isIdenticalDnses(target)); 81 assertTrue(target.isIdenticalDnses(source)); 83 assertTrue(source.isIdenticalPrivateDns(target)); 84 assertTrue(target.isIdenticalPrivateDns(source)); 114 LinkProperties source = new LinkProperties(); local 123 LinkProperties source = new LinkProperties(); local 214 LinkProperties source = new LinkProperties(); local 243 LinkProperties source = new LinkProperties(); local 794 LinkProperties source = new LinkProperties(); local [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
InputFilter_AllCapsTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 44 CharSequence source = "Caps"; local 51 dest.insert(3, source); 55 dest.replace(7, 11, source); 72 // The source string, lowerBee, is two code units that contains a single lowercase letter. 91 final String source = "i"; local 96 assertEquals("I", usAllCaps.filter(source, 0, source.length(), dest, 0, 0)); 97 assertEquals("?", turkishAllCaps.filter(source, 0, source.length(), dest, 0, 0)) 102 final String source = "?"; \/\/ U+01C8 LATIN CAPITAL LETTER L WITH SMALL LETTER J local 116 final SpannableString source = new SpannableString(lowerString); local [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
AbsSavedStateTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 64 Parcel source = Parcel.obtain(); local 65 source.writeParcelable(superState, 0); 66 source.setDataPosition(0); 67 s = new AbsSavedStateImpl(source, AbsSavedStateImpl.class.getClassLoader()); 70 source = Parcel.obtain(); 71 s = new AbsSavedStateImpl(source); 74 source = Parcel.obtain(); 75 source.writeParcelable(superState, 0); 76 source.setDataPosition(0) [all...] |
View_BaseSavedStateTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 63 Parcel source = Parcel.obtain(); local 64 source.writeParcelable(superState, 0); 65 source.setDataPosition(0); 66 s = new BaseSavedState(source); 70 source = Parcel.obtain(); 71 source.writeParcelable(superState, 0); 72 source.setDataPosition(0); 73 s = new BaseSavedState(source, loader);
|