/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/ |
SerializationTest.java | 28 private static void assertThrowsSerializationException(Struct struct) { 30 struct.serialize(null); 31 fail("Serialization of invalid struct should have thrown an exception."); 38 * Verifies that serializing a struct with an invalid handle of a non-nullable type throws an 43 Struct2 struct = new Struct2(); local 44 assertFalse(struct.hdl.isValid()); 45 assertThrowsSerializationException(struct); 47 // Make the struct valid and verify that it serializes without an exception. 48 struct.hdl = new HandleMock() 57 Struct3 struct = new Struct3(); local 72 Struct4 struct = new Struct4(); local 91 Struct5 struct = new Struct5(); local 112 Struct6 struct = new Struct6(); local 127 StructOfNullables struct = new StructOfNullables(); local 157 StructOfNullables struct = new StructOfNullables(); local [all...] |
BindingsVersioningTest.java | 20 * Testing generated classes with the [MinVersion] annotation. Struct in this test are from: 35 MultiVersionStruct struct = new MultiVersionStruct(); local 36 struct.fInt32 = 123; 37 struct.fRect = newRect(5); 38 struct.fString = "hello"; 39 struct.fArray = new byte[] {10, 9, 8}; 40 struct.fBool = true; 41 struct.fInt16 = 256; 42 return struct; 46 * Testing serializing old struct version to newer one 145 MultiVersionStruct struct = newStruct(); local [all...] |
/external/clang/test/CXX/dcl.decl/dcl.name/ |
p1.cpp | 5 struct v {}; 7 struct s { 9 operator struct v() { return v(); }; 16 (void)new struct s; 18 (void)&s::operator struct v;
|
/frameworks/base/services/net/java/android/net/netlink/ |
StructNlMsgErr.java | 27 * struct nlmsgerr 46 final StructNlMsgErr struct = new StructNlMsgErr(); local 47 struct.error = byteBuffer.getInt(); 48 struct.msg = StructNlMsgHdr.parse(byteBuffer); 49 return struct;
|
StructNdaCacheInfo.java | 26 * struct nda_cacheinfo 46 final StructNdaCacheInfo struct = new StructNdaCacheInfo(); local 47 struct.ndm_used = byteBuffer.getInt(); 48 struct.ndm_confirmed = byteBuffer.getInt(); 49 struct.ndm_updated = byteBuffer.getInt(); 50 struct.ndm_refcnt = byteBuffer.getInt(); 51 return struct;
|
StructNlAttr.java | 29 * struct nlattr 46 // This is used for scanning over a packed set of struct nlattr's, 55 final StructNlAttr struct = new StructNlAttr(byteBuffer.order()); local 60 struct.nla_len = byteBuffer.getShort(); 61 struct.nla_type = byteBuffer.getShort(); 67 if (struct.nla_len < NLA_HEADERLEN) { 71 return struct; 75 final StructNlAttr struct = peek(byteBuffer); local 76 if (struct == null || byteBuffer.remaining() < struct.getAlignedLength()) [all...] |
StructNlMsgHdr.java | 24 * struct nlmsghdr 87 final StructNlMsgHdr struct = new StructNlMsgHdr(); local 88 struct.nlmsg_len = byteBuffer.getInt(); 89 struct.nlmsg_type = byteBuffer.getShort(); 90 struct.nlmsg_flags = byteBuffer.getShort(); 91 struct.nlmsg_seq = byteBuffer.getInt(); 92 struct.nlmsg_pid = byteBuffer.getInt(); 94 if (struct.nlmsg_len < STRUCT_SIZE) { 98 return struct;
|
StructNdMsg.java | 25 * struct ndmsg 112 final StructNdMsg struct = new StructNdMsg(); local 113 struct.ndm_family = byteBuffer.get(); 116 struct.ndm_ifindex = byteBuffer.getInt(); 117 struct.ndm_state = byteBuffer.getShort(); 118 struct.ndm_flags = byteBuffer.get(); 119 struct.ndm_type = byteBuffer.get(); 120 return struct;
|
/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
StandaloneJarProcessor.java | 36 EntryStruct struct = new EntryStruct(); local 40 struct.name = entry.getName(); 41 struct.time = entry.getTime(); 44 struct.data = baos.toByteArray(); 45 if (proc.process(struct)) { 46 if (entries.add(struct.name)) { 47 entry = new JarEntry(struct.name); 48 entry.setTime(struct.time); 51 out.write(struct.data); 52 } else if (struct.name.endsWith("/")) [all...] |
AntJarProcessor.java | 30 private EntryStruct struct = new EntryStruct(); field in class:AntJarProcessor 67 struct.data = baos.toByteArray(); 68 struct.name = vPath; 69 struct.time = lastModified; 70 if (proc.process(struct)) { 74 addParentDirs(struct.name, zOut); 76 super.zipFile(new ByteArrayInputStream(struct.data), 77 zOut, struct.name, struct.time, fromArchive, mode);
|
/external/python/cpython2/Demo/rpc/ |
xdr.py | 5 import struct 7 struct = None variable 28 if struct and struct.pack('l', 1) == '\0\0\0\1': 33 self.buf = self.buf + struct.pack('l', x) 51 self.buf = self.buf + struct.pack('f', x) 55 self.buf = self.buf + struct.pack('d', x) 117 if struct and struct.unpack('l', '\0\0\0\1') == 1: 124 return struct.unpack('l', data [all...] |
/external/xmlrpcpp/src/ |
XmlRpcValue.h | 57 XmlRpcValue(struct tm* value) : _type(TypeDateTime) 58 { _value.asTime = new struct tm(*value); } 93 operator struct tm&() { assertTypeOrInvalid(TypeDateTime); return *_value.asTime; } 108 //! Return the size for string, base64, array, and struct values. 114 //! Check for the existence of a struct member by name. 180 struct tm* asTime;
|
/external/clang/test/Preprocessor/ |
cxx_oper_keyword_ms_compat.cpp | 84 #define struct macro 169 struct
|
/external/clang/test/SemaCXX/ |
conversion-function.cpp | 66 struct Flip; 67 struct Flop { 71 struct Flip { 77 struct C { 129 struct A1 { 149 struct sneaky_int { 154 struct A { }; 157 struct A<T, T> : A<T, int> { }; 159 struct E { 172 struct E2 [all...] |
/prebuilts/tools/common/m2/repository/org/anarres/jarjar/jarjar-core/1.0.0/ |
jarjar-core-1.0.0.jar | |
/art/test/924-threads/src/art/ |
Test924.java | 141 nativeLoop(w.struct); 439 public long struct; field in class:Test924.NativeWaiter 441 struct = nativeWaiterStructAlloc(); 444 if (struct == 0l) { 447 nativeWaiterStructWaitForNative(struct); 450 if (struct == 0l) { 453 nativeWaiterStructFinish(struct); 454 struct = 0; 459 private static native void nativeWaiterStructWaitForNative(long struct); 460 private static native void nativeWaiterStructFinish(long struct); [all...] |
/external/python/cpython3/Lib/test/ |
test_buffer.py | 30 import struct 32 struct = None variable 66 if struct: 69 struct.pack('Q', 2**64-1) 72 except struct.error: 99 struct.pack(fmt, (1<<exp)-1) 101 except struct.error: 115 if struct: 159 x = struct.pack(char, x) 160 x = struct.unpack(char, x)[0 [all...] |
/prebuilts/tools/common/m2/repository/org/gradle/jarjar/jarjar/1.2.1/ |
jarjar-1.2.1.jar | |
/external/guice/lib/build/ |
jarjar-1.1.jar | |
/external/testng/lib-supplied/ |
jarjar-issue-21.jar | |
/prebuilts/tools/common/m2/repository/com/googlecode/jarjar/jarjar/1.3/ |
jarjar-1.3.jar | |
/prebuilts/tools/common/m2/repository/com/googlecode/jarjar/jarjar/1.4/ |
jarjar-1.4.jar | |
/prebuilts/devtools/tools/lib/ |
jython-standalone-2.5.3.jar | |
/prebuilts/tools/common/m2/repository/org/python/jython-standalone/2.5.3/ |
jython-standalone-2.5.3.jar | |
/prebuilts/tools/common/m2/repository/net/java/dev/jna/jna/3.4.0/ |
jna-3.4.0.jar | |