/external/smack/src/org/xbill/DNS/ |
H A D | Serial.java | 6 * Helper functions for doing serial arithmetic. These should be used when 7 * setting/checking SOA serial numbers. SOA serial number arithmetic is 22 * Compares two numbers using serial arithmetic. The numbers are assumed 45 * Increments a serial number. The number is assumed to be a 32 bit unsigned 48 * @param serial The serial number 49 * @return The incremented serial number 50 * @throws IllegalArgumentException serial is out of range 53 increment(long serial) { argument [all...] |
H A D | SOARecord.java | 18 private long serial, refresh, retry, expire, minimum; field in class:SOARecord 31 * @param serial The zone's serial number 32 * @param refresh The amount of time until a secondary checks for a new serial 35 * serial number 41 long serial, long refresh, long retry, long expire, long minimum) 46 this.serial = checkU32("serial", serial); 57 serial 40 SOARecord(Name name, int dclass, long ttl, Name host, Name admin, long serial, long refresh, long retry, long expire, long minimum) argument [all...] |
/external/chromium_org/chrome/browser/extensions/api/serial/ |
H A D | serial_io_handler.h | 12 #include "chrome/common/extensions/api/serial.h" 17 // Provides a simplified interface for performing asynchronous I/O on serial 30 api::serial::ReceiveError error)> 35 typedef base::Callback<void(int bytes_written, api::serial::SendError error)> 61 void CancelRead(api::serial::ReceiveError reason); 64 void CancelWrite(api::serial::SendError reason); 97 void ReadCompleted(int bytes_read, api::serial::ReceiveError error); 102 void WriteCompleted(int bytes_written, api::serial::SendError error); 107 void QueueReadCompleted(int bytes_read, api::serial::ReceiveError error); 112 void QueueWriteCompleted(int bytes_written, api::serial [all...] |
H A D | serial_connection_posix.cc | 5 #include "chrome/browser/extensions/api/serial/serial_connection.h" 11 #include <linux/serial.h> 92 struct serial_struct serial; local 93 if (ioctl(file, TIOCGSERIAL, &serial) < 0) { 96 serial.flags = (serial.flags & ~ASYNC_SPD_MASK) | ASYNC_SPD_CUST; 97 serial.custom_divisor = serial.baud_base / bitrate; 98 if (serial.custom_divisor < 1) { 99 serial [all...] |
H A D | serial_connection_win.cc | 5 #include "chrome/browser/extensions/api/serial/serial_connection.h" 41 int DataBitsEnumToConstant(api::serial::DataBits data_bits) { 43 case api::serial::DATA_BITS_SEVEN: 45 case api::serial::DATA_BITS_EIGHT: 51 int ParityBitEnumToConstant(api::serial::ParityBit parity_bit) { 53 case api::serial::PARITY_BIT_EVEN: 55 case api::serial::PARITY_BIT_ODD: 57 case api::serial::PARITY_BIT_NO: 63 int StopBitsEnumToConstant(api::serial::StopBits stop_bits) { 65 case api::serial [all...] |
H A D | serial_api.cc | 5 #include "chrome/browser/extensions/api/serial/serial_api.h" 11 #include "chrome/browser/extensions/api/serial/serial_connection.h" 12 #include "chrome/browser/extensions/api/serial/serial_event_dispatcher.h" 13 #include "chrome/browser/extensions/api/serial/serial_port_enumerator.h" 14 #include "chrome/common/extensions/api/serial.h" 34 const serial::DataBits kDefaultDataBits = serial::DATA_BITS_EIGHT; 35 const serial::ParityBit kDefaultParityBit = serial::PARITY_BIT_NO; 36 const serial [all...] |
H A D | serial_event_dispatcher.cc | 5 #include "chrome/browser/extensions/api/serial/serial_event_dispatcher.h" 8 #include "chrome/browser/extensions/api/serial/serial_connection.h" 20 bool ShouldPauseOnReceiveError(serial::ReceiveError error) { 21 return error == serial::RECEIVE_ERROR_DEVICE_LOST || 22 error == serial::RECEIVE_ERROR_SYSTEM_ERROR || 23 error == serial::RECEIVE_ERROR_DISCONNECTED; 47 DCHECK(manager) << "No serial connection manager."; 90 serial::ReceiveError error) { 96 serial::ReceiveInfo receive_info; 99 scoped_ptr<base::ListValue> args = serial [all...] |
H A D | serial_io_handler_posix.cc | 5 #include "chrome/browser/extensions/api/serial/serial_io_handler_posix.h" 61 ReadCompleted(0, api::serial::RECEIVE_ERROR_DEVICE_LOST); 63 ReadCompleted(0, api::serial::RECEIVE_ERROR_SYSTEM_ERROR); 66 ReadCompleted(0, api::serial::RECEIVE_ERROR_DEVICE_LOST); 68 ReadCompleted(bytes_read, api::serial::RECEIVE_ERROR_NONE); 87 WriteCompleted(0, api::serial::SEND_ERROR_SYSTEM_ERROR); 89 WriteCompleted(bytes_written, api::serial::SEND_ERROR_NONE);
|
H A D | serial_io_handler_win.cc | 5 #include "chrome/browser/extensions/api/serial/serial_io_handler_win.h" 46 QueueReadCompleted(0, api::serial::RECEIVE_ERROR_SYSTEM_ERROR); 55 QueueReadCompleted(0, api::serial::RECEIVE_ERROR_SYSTEM_ERROR); 70 QueueWriteCompleted(0, api::serial::SEND_ERROR_SYSTEM_ERROR); 103 ReadCompleted(0, api::serial::RECEIVE_ERROR_SYSTEM_ERROR); 111 ReadCompleted(0, api::serial::RECEIVE_ERROR_SYSTEM_ERROR); 118 ReadCompleted(0, api::serial::RECEIVE_ERROR_SYSTEM_ERROR); 122 error == ERROR_SUCCESS ? api::serial::RECEIVE_ERROR_NONE 123 : api::serial::RECEIVE_ERROR_SYSTEM_ERROR); 130 WriteCompleted(0, api::serial [all...] |
H A D | serial_api.h | 13 #include "chrome/common/extensions/api/serial.h" 42 DECLARE_EXTENSION_FUNCTION("serial.getDevices", SERIAL_GETDEVICES) 56 DECLARE_EXTENSION_FUNCTION("serial.connect", SERIAL_CONNECT) 75 scoped_ptr<serial::Connect::Params> params_; 89 DECLARE_EXTENSION_FUNCTION("serial.update", SERIAL_UPDATE); 101 scoped_ptr<serial::Update::Params> params_; 106 DECLARE_EXTENSION_FUNCTION("serial.disconnect", SERIAL_DISCONNECT) 118 scoped_ptr<serial::Disconnect::Params> params_; 123 DECLARE_EXTENSION_FUNCTION("serial.setPaused", SERIAL_SETPAUSED) 135 scoped_ptr<serial [all...] |
H A D | serial_connection.h | 19 #include "chrome/browser/extensions/api/serial/serial_io_handler.h" 20 #include "chrome/common/extensions/api/serial.h" 28 // Encapsulates an open serial port. Platform-specific implementations are in 42 api::serial::ReceiveError error)> 49 api::serial::SendError error)> 104 virtual bool Configure(const api::serial::ConnectionOptions& options); 109 virtual bool GetInfo(api::serial::ConnectionInfo* info) const; 114 virtual bool GetControlSignals(api::serial::DeviceControlSignals* 121 const api::serial::HostControlSignals& control_signals); 134 bool ConfigurePort(const api::serial [all...] |
H A D | serial_apitest.cc | 10 #include "chrome/browser/extensions/api/serial/serial_api.h" 11 #include "chrome/browser/extensions/api/serial/serial_connection.h" 16 #include "chrome/common/extensions/api/serial.h" 73 virtual bool Configure(const api::serial::ConnectionOptions& options) { 88 callback.Run(data.length(), api::serial::SEND_ERROR_NONE); 90 read_callback_.Run(data, api::serial::RECEIVE_ERROR_NONE); 95 virtual bool GetControlSignals(api::serial::DeviceControlSignals* signals) 104 virtual bool GetInfo(api::serial::ConnectionInfo* info) const { 111 info->data_bits = api::serial::DATA_BITS_EIGHT; 112 info->parity_bit = api::serial [all...] |
H A D | serial_io_handler.cc | 5 #include "chrome/browser/extensions/api/serial/serial_io_handler.h" 57 api::serial::ReceiveError error) { 68 api::serial::SendError error) { 87 void SerialIoHandler::CancelRead(api::serial::ReceiveError reason) { 96 void SerialIoHandler::CancelWrite(api::serial::SendError reason) { 106 api::serial::ReceiveError error) { 113 api::serial::SendError error) {
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_debug_refcnt.c | 47 /* TODO: maybe move this serial machinery to a stand-alone module and expose it? */ 70 unsigned serial; local 84 serial = (unsigned)(uintptr_t)util_hash_table_get(serials_hash, p); 85 if(!serial) 90 serial = ++serials_last; 91 if(!serial) 97 util_hash_table_set(serials_hash, p, (void*)(uintptr_t)serial); 101 *pserial = serial; 150 unsigned serial; local 151 boolean existing = debug_serial((void*)p, &serial); [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_debug_refcnt.c | 47 /* TODO: maybe move this serial machinery to a stand-alone module and expose it? */ 70 unsigned serial; local 84 serial = (unsigned)(uintptr_t)util_hash_table_get(serials_hash, p); 85 if(!serial) 90 serial = ++serials_last; 91 if(!serial) 97 util_hash_table_set(serials_hash, p, (void*)(uintptr_t)serial); 101 *pserial = serial; 150 unsigned serial; local 151 boolean existing = debug_serial((void*)p, &serial); [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
H A D | IssuerSerial.java | 18 ASN1Integer serial; field in class:IssuerSerial 53 serial = ASN1Integer.getInstance(seq.getObjectAt(1)); 63 BigInteger serial) 65 this(issuer, new ASN1Integer(serial)); 70 ASN1Integer serial) 73 this.serial = serial; 83 return serial; 96 * serial CertificateSerialNumber, 106 v.add(serial); 61 IssuerSerial( GeneralNames issuer, BigInteger serial) argument 68 IssuerSerial( GeneralNames issuer, ASN1Integer serial) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/rbug/ |
H A D | rbug_connection.c | 64 * Also returns the serial for the message, serial is not touched for replys. 70 rbug_get_message(struct rbug_connection *c, uint32_t *serial) argument 107 else if (serial) 108 *serial = c->recv_serial++; 156 * Ups the send_serial and sets the serial argument if supplied. 158 int rbug_connection_send_finish(struct rbug_connection *c, uint32_t *serial) argument 162 else if (serial) 163 *serial = c->send_serial++;
|
H A D | rbug_connection.h | 39 struct rbug_header * rbug_get_message(struct rbug_connection *c, uint32_t *serial);
|
H A D | rbug_core.h | 66 uint32_t serial; member in struct:rbug_proto_ping_reply 72 uint32_t serial; member in struct:rbug_proto_error_reply 87 uint32_t serial, 91 uint32_t serial,
|
/external/mesa3d/src/gallium/auxiliary/rbug/ |
H A D | rbug_connection.c | 64 * Also returns the serial for the message, serial is not touched for replys. 70 rbug_get_message(struct rbug_connection *c, uint32_t *serial) argument 107 else if (serial) 108 *serial = c->recv_serial++; 156 * Ups the send_serial and sets the serial argument if supplied. 158 int rbug_connection_send_finish(struct rbug_connection *c, uint32_t *serial) argument 162 else if (serial) 163 *serial = c->send_serial++;
|
H A D | rbug_connection.h | 39 struct rbug_header * rbug_get_message(struct rbug_connection *c, uint32_t *serial);
|
H A D | rbug_core.h | 66 uint32_t serial; member in struct:rbug_proto_ping_reply 72 uint32_t serial; member in struct:rbug_proto_error_reply 87 uint32_t serial, 91 uint32_t serial,
|
/external/chromium_org/third_party/openssl/openssl/crypto/x509v3/ |
H A D | v3_akey.c | 94 if(akeyid->serial) { 95 tmp = hex_to_string(akeyid->serial->data, 96 akeyid->serial->length); 97 X509V3_add_value("serial", tmp, &extlist); 106 * issuer: use the issuers cert issuer and serial number. The default is 121 ASN1_INTEGER *serial = NULL; local 174 serial = M_ASN1_INTEGER_dup(X509_get_serialNumber(cert)); 175 if(!isname || !serial) 198 akeyid->serial = serial; [all...] |
H A D | v3_akeya.c | 69 ASN1_IMP_OPT(AUTHORITY_KEYID, serial, ASN1_INTEGER, 2)
|
/external/openssl/crypto/x509v3/ |
H A D | v3_akey.c | 94 if(akeyid->serial) { 95 tmp = hex_to_string(akeyid->serial->data, 96 akeyid->serial->length); 97 X509V3_add_value("serial", tmp, &extlist); 106 * issuer: use the issuers cert issuer and serial number. The default is 121 ASN1_INTEGER *serial = NULL; local 174 serial = M_ASN1_INTEGER_dup(X509_get_serialNumber(cert)); 175 if(!isname || !serial) 198 akeyid->serial = serial; [all...] |