/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/ |
message_test.py | 33 """Tests python protocol buffers against the golden message. 40 sense to call this a test of the "message" module, which only declares an 56 from google.protobuf import message namespace 132 self.assertRaises(message.EncodeError, unpickled_message.SerializeToString) 177 message = unittest_pb2.TestAllTypes() 178 message.ParseFromString(serialized) 179 self.assertTrue(isnan(message.optional_float)) 180 self.assertTrue(isnan(message.optional_double)) 181 self.assertTrue(isnan(message.repeated_float[0])) 182 self.assertTrue(isnan(message.repeated_double[0]) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
SignerWithRecovery.java | 4 * Signer with message recovery. 10 * Returns true if the signer has recovered the full message as 13 * @return true if full message recovered. 18 * Returns a reference to what message was recovered (if any). 20 * @return full/partial message, null if nothing. 25 * Perform an update with the recovered message before adding any other data. This must 27 * that further calls to update will include message content past what is recoverable.
|
/external/chromium/chrome/browser/chromeos/ |
wm_message_listener.cc | 24 WmIpc::Message message; local 27 if (wm_ipc->DecodeMessage(*client_event, &message)) 28 ProcessMessage(message, client_event->window); 40 void WmMessageListener::ProcessMessage(const WmIpc::Message& message, 42 FOR_EACH_OBSERVER(Observer, observers_, ProcessWmMessage(message, window));
|
/external/chromium_org/chrome/app/ |
google_chrome_strings.grd | 131 <message name="IDS_PRODUCT_NAME" desc="The Chrome application name"> 133 </message> 134 <message name="IDS_SHORT_PRODUCT_NAME" desc="The Chrome application short name"> 136 </message> 137 <message name="IDS_SHORT_PRODUCT_NAME_LOWER" desc="The Chrome application short name all lowercase"> 139 </message> 140 <message name="IDS_SXS_SHORTCUT_NAME" desc="The Chrome short cut name for SxS channel"> 142 </message> 143 <message name="IDS_PRODUCT_DESCRIPTION" desc="Browser description"> 145 </message> [all...] |
/external/chromium_org/content/test/data/dom_storage/ |
common.js | 5 function debug(message) { 7 span.appendChild(document.createTextNode(message)); 12 function done(message) { 15 if (message) 16 debug('PASS: ' + message); 22 function fail(message) { 23 debug('FAILED: ' + message);
|
/external/chromium_org/content/test/data/fileapi/ |
common.js | 5 function debug(message) 7 document.getElementById('status').innerHTML += '<br/>' + message; 10 function done(message) 14 if (message) 15 debug('PASS: ' + message); 21 function fail(message) 23 debug('FAILED: ' + message);
|
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
DynamicMessageTest.java | 58 Message.Builder builder = 61 Message message = builder.build(); local 62 reflectionTester.assertAllFieldsSetViaReflection(message); 66 Message.Builder builder = 68 Message firstMessage = builder.build(); 75 Message message = builder.build(); local 76 reflectionTester.assertAllFieldsSetViaReflection(message); 79 message = builder.build() 92 Message message = builder.build(); local 118 Message message = builder.build(); local 133 Message message = builder.build(); local 151 TestAllTypes message = TestUtil.getAllSet(); local 166 Message message = builder.build(); local 180 TestAllTypes message = builder.build(); local 195 Message message = DynamicMessage.parseFrom( local 210 Message message = builder.build(); local 224 TestPackedTypes message = builder.build(); local 240 TestAllTypes message = builder.build(); local 257 DynamicMessage message = builder.build(); local [all...] |
/external/chromium/chrome/browser/debugger/ |
devtools_remote_message_unittest.cc | 30 DevToolsRemoteMessage message(headers, content); 32 message.GetHeaderWithEmptyDefault( 34 ASSERT_STREQ("DevToolsService", message.tool().c_str()); 35 ASSERT_STREQ(content.c_str(), message.content().c_str()); 37 static_cast<std::string::size_type>(message.content_length())); 39 message.headers().size()); 44 scoped_ptr<DevToolsRemoteMessage> message( 51 message->headers().size()); 54 message->GetHeaderWithEmptyDefault( 58 message->tool().c_str()) [all...] |
/hardware/ti/omap4xxx/libtiutils/ |
MessageQueue.h | 25 ///Uncomment this macro to debug the message queue implementation 52 ///Message type 53 struct Message 63 ///Message queue implementation 71 ///Get a message from the queue 72 android::status_t get(Message*); 74 ///Get the input file descriptor of the message queue 77 ///Set the input file descriptor for the message queue 80 ///Queue a message 81 android::status_t put(Message*); [all...] |
/external/libnl-headers/netlink/ |
netlink-kernel.h | 24 * Netlink message header 30 * Length of message including header. 35 * Message type (content type) 40 * Message flags 50 * Netlink PID of the proccess sending the message. 56 * @name Standard message flags 68 * Indicates the message is part of a multipart message terminated 86 * @name Additional message flags for GET requests 97 * Return all entries matching criteria passed in message content [all...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_old_handlers_wps.c | 21 * @message: Pointer to incoming dbus message 23 * Returns: A dbus message containing a UINT32 indicating success (1) or 28 DBusMessage * wpas_dbus_iface_wps_pbc(DBusMessage *message, 35 if (!dbus_message_get_args(message, NULL, DBUS_TYPE_STRING, &arg_bssid, 37 return wpas_dbus_new_invalid_opts_error(message, NULL); 44 return wpas_dbus_new_invalid_opts_error(message, 49 return dbus_message_new_error(message, 55 return wpas_dbus_new_success_reply(message); 61 * @message: Pointer to incoming dbus messag [all...] |
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
SingleFieldBuilder.java | 35 * message uses to hold a single field of another protocol message. It supports 36 * the classical use case of setting an immutable {@link Message} as the value 39 * It also supports the additional use case of setting a {@link Message.Builder} 41 * to an immutable {@code Message}. In this way, it's possible to maintain 47 * that desires a Message instead of a Builder. In terms of the implementation, 53 * @param <MType> the type of message for the field 55 * @param <IType> the common interface for the message and the builder 68 // Invariant: one of builder or message fields must be non-null. 71 // message field represents a cached message for the builder (or null i 77 private MType message; field in class:SingleFieldBuilder [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
ServerHelloTest.java | 36 ServerHello message = new ServerHello(new SecureRandom(), local 38 assertEquals("incorrect type", Handshake.SERVER_HELLO, message 42 message.server_version, server_version)); 44 message.session_id, session_id)); 46 message.cipher_suite); 49 message.send(out); 51 assertEquals("incorrect out data length", message.length(), 56 ServerHello message_2 = new ServerHello(in, message.length()); 58 assertTrue("incorrect message decoding", Arrays.equals( 59 message.server_version, message_2.server_version)) [all...] |
/external/chromium_org/v8/test/mjsunit/ |
error-accessors.js | 28 // Test that the message property of error objects is a data property. 32 // message is constructed using the constructor. 33 var error1 = new Error("custom message"); 37 assertEquals("custom message", 38 Object.getOwnPropertyDescriptor(error1, "message").value); 39 o.message = "another message"; 40 assertEquals("another message", o.message); 41 assertEquals("custom message", error1.message) [all...] |
/external/smack/src/org/xbill/DNS/ |
SIG0.java | 27 * Sign a message with SIG(0). The DNS key and private key must refer to the 29 * @param message The message to be signed 32 * @param previous If this message is a response, the SIG(0) from the query 35 signMessage(Message message, KEYRecord key, PrivateKey privkey, 47 SIGRecord sig = DNSSEC.signMessage(message, previous, key, privkey, 50 message.addRecord(sig, Section.ADDITIONAL); 54 * Verify a message using SIG(0). 55 * @param message The message to be signe [all...] |
/external/protobuf/src/google/protobuf/ |
message.h | 35 // Defines Message, the abstract interface implemented by non-lite 36 // protocol message objects. Although it's possible to implement this 42 // Say you have a message defined as: 44 // message Foo { 52 // string data; // Will store a serialized version of the message. 55 // // Create a message and serialize it. 66 // // Parse the serialized message and check that it contains the 79 // // Same as the last block, but do it dynamically via the Message 81 // Message* foo = new Foo; 95 // // Parse the message [all...] |
lite_unittest.cc | 45 protobuf_unittest::TestAllTypesLite message, message2, message3; local 46 google::protobuf::TestUtilLite::ExpectClear(message); 47 google::protobuf::TestUtilLite::SetAllFields(&message); 48 message2.CopyFrom(message); 49 data = message.SerializeAsString(); 51 google::protobuf::TestUtilLite::ExpectAllFieldsSet(message); 54 google::protobuf::TestUtilLite::ModifyRepeatedFields(&message); 55 google::protobuf::TestUtilLite::ExpectRepeatedFieldsModified(message); 56 message.Clear(); 57 google::protobuf::TestUtilLite::ExpectClear(message); 61 protobuf_unittest::TestAllExtensionsLite message, message2, message3; local 78 protobuf_unittest::TestPackedTypesLite message, message2, message3; local 94 protobuf_unittest::TestPackedExtensionsLite message, message2, message3; local [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/ |
XPathProcessorException.java | 34 * an error message. 35 * @param message The error message. 37 public XPathProcessorException(String message) 39 super(message); 45 * an error message, and another exception 47 * @param message The error message. 50 public XPathProcessorException(String message, Exception e) 52 super(message, e) [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/exceptions/ |
JSilverAutoEscapingException.java | 26 public JSilverAutoEscapingException(String message, String templateName, int line, int column) { 27 super(createMessage(message, templateName, line, column)); 30 public JSilverAutoEscapingException(String message, String templateName) { 31 this(message, templateName, UNKNOWN_POSITION, UNKNOWN_POSITION); 37 private static String createMessage(String message, String resourceName, int line, int column) { 38 StringBuilder result = new StringBuilder(message); 51 public JSilverAutoEscapingException(String message) { 52 super(message); 55 public JSilverAutoEscapingException(String message, Throwable cause) { 56 super(message, cause) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/ |
LogRecordFactory.java | 5 * The stack calls the message log factory to create logging records. The default implementatation 18 * @param message -- the message to be logged. 19 * @param source -- host:port of the source of the message. 20 * @param destination -- host:port of the destination of the message. 21 * @param timeStamp -- The time at which this message was seen by the stack or sent out by 23 * @param isSender -- true if we are sending the message false otherwise. 24 * @param firstLine -- the first line of the message to be logged. 27 * @param timestampVal -- the timestamp header value of the incoming message. 33 public LogRecord createLogRecord(String message, String source [all...] |
/external/smack/src/org/jivesoftware/smack/ |
Chat.java | 23 import org.jivesoftware.smack.packet.Message; 34 * don't send thread IDs at all. Therefore, if a message without a thread ID 35 * arrives it is routed to the most recently created Chat with the message 81 * Sends the specified text as a message to the other chat participant. 85 * Message message = chat.createMessage(); 86 * message.setBody(messageText); 87 * chat.sendMessage(message); 91 * @throws XMPPException if sending the message fails. 94 Message message = new Message(participant, Message.Type.chat) local [all...] |
/external/smack/src/org/jivesoftware/smack/filter/ |
MessageTypeFilter.java | 23 import org.jivesoftware.smack.packet.Message; 27 * Filters for packets of a specific type of Message (e.g. CHAT). 29 * @see org.jivesoftware.smack.packet.Message.Type 34 private final Message.Type type; 37 * Creates a new message type filter using the specified message type. 39 * @param type the message type. 41 public MessageTypeFilter(Message.Type type) { 46 if (!(packet instanceof Message)) { 50 return ((Message) packet).getType().equals(this.type) [all...] |
/frameworks/opt/mms/src/java/com/google/android/mms/ |
MmsException.java | 34 * Creates a new MmsException with the specified detail message. 36 * @param message the detail message. 38 public MmsException(String message) { 39 super(message); 52 * Creates a new MmsException with the specified detail message and cause. 54 * @param message the detail message. 57 public MmsException(String message, Throwable cause) { 58 super(message, cause) [all...] |
/libcore/luni/src/main/java/java/util/ |
ServiceConfigurationError.java | 28 * Constructs a new error with the given detail message. 29 * @param message the detail message, or null 31 public ServiceConfigurationError(String message) { 32 super(message); 36 * Constructs a new error with the given detail message and cause. 37 * @param message the detail message, or null 40 public ServiceConfigurationError(String message, Throwable cause) { 41 super(message, cause) [all...] |
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/makedict/ |
MakedictLog.java | 25 private static void print(String message) { 26 System.out.println(message); 29 public static void d(String message) { 30 print(message); 33 public static void i(String message) { 34 print(message); 37 public static void w(String message) { 38 print(message); 41 public static void e(String message) { 42 print(message); [all...] |