Searched defs:data (Results 126 - 150 of 7161) sorted by path

1234567891011>>

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DDERApplicationSpecific.java51 byte[] data = primitive.getEncoded(ASN1Encoding.DER);
58 this.octets = data;
62 int lenBytes = getLengthOfHeader(data);
63 byte[] tmp = new byte[data.length - lenBytes];
64 System.arraycopy(data, lenBytes, tmp, 0, tmp.length);
119 private int getLengthOfHeader(byte[] data) argument
121 int length = data[1] & 0xff; // TODO: assumes 1 byte tag
H A DDERBitString.java17 protected byte[] data; field in class:DERBitString
135 byte data,
138 this.data = new byte[1];
139 this.data[0] = data;
144 * @param data the octets making up the bit string.
148 byte[] data,
151 this.data = data;
156 byte[] data)
134 DERBitString( byte data, int padBits) argument
147 DERBitString( byte[] data, int padBits) argument
155 DERBitString( byte[] data) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
H A DCMSObjectIdentifiers.java9 static final ASN1ObjectIdentifier data = PKCSObjectIdentifiers.data; field in interface:CMSObjectIdentifiers
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
H A DEncryptedData.java37 ASN1Sequence data; field in class:EncryptedData
67 this.data = ASN1Sequence.getInstance(seq.getObjectAt(1));
81 data = new BERSequence(v);
86 return ASN1ObjectIdentifier.getInstance(data.getObjectAt(0));
91 return AlgorithmIdentifier.getInstance(data.getObjectAt(1));
96 if (data.size() == 3)
98 ASN1TaggedObject o = ASN1TaggedObject.getInstance(data.getObjectAt(2));
111 v.add(data);
H A DEncryptedPrivateKeyInfo.java18 private ASN1OctetString data; field in class:EncryptedPrivateKeyInfo
26 data = ASN1OctetString.getInstance(e.nextElement());
34 this.data = new DEROctetString(encoding);
59 return data.getOctets();
82 v.add(data);
H A DPKCSObjectIdentifiers.java140 static final ASN1ObjectIdentifier data = new ASN1ObjectIdentifier("1.2.840.113549.1.7.1"); field in interface:PKCSObjectIdentifiers
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/
H A DIETFUtils.java287 byte[] data = new byte[(str.length() - off) / 2];
288 for (int index = 0; index != data.length; index++)
293 data[index] = (byte)((convertHex(left) << 4) | convertHex(right));
296 return ASN1Primitive.fromByteArray(data);
427 byte[] data)
429 char[] cs = new char[data.length];
433 cs[i] = (char)(data[i] & 0xff);
426 bytesToString( byte[] data) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
H A DX509Name.java1367 byte[] data)
1369 char[] cs = new char[data.length];
1373 cs[i] = (char)(data[i] & 0xff);
1366 bytesToString( byte[] data) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
H A DCCMBlockCipher.java19 * <b>Note</b>: this mode is a packet mode - it needs all the data up front.
33 private ExposedByteArrayOutputStream data = new ExposedByteArrayOutputStream(); field in class:CCMBlockCipher
125 data.write(in);
133 data.write(in, inOff, inLen);
141 int len = processPacket(data.getBuffer(), 0, data.size(), out, outOff);
152 data.reset();
177 int totalData = len + data.size();
188 * Process a packet of data for either CCM decryption or encryption.
190 * @param in data fo
343 calculateMac(byte[] data, int dataOff, int dataLen, byte[] macBlock) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/
H A DPKCS12KeyStoreSpi.java580 byte[] data,
610 return (PrivateKey)cipher.unwrap(data, "", Cipher.PRIVATE_KEY);
618 return (PrivateKey)cipher.unwrap(data, "", Cipher.PRIVATE_KEY);
655 throw new IOException("exception encrypting data - " + e.toString());
666 byte[] data)
689 return cipher.doFinal(data);
693 throw new IOException("exception decrypting data - " + e.toString());
702 return cipher.doFinal(data);
706 throw new IOException("exception decrypting data - " + e.toString());
799 byte[] data
578 unwrapKey( AlgorithmIdentifier algId, byte[] data, char[] password, boolean wrongPKCS12Zero) argument
661 cryptData( boolean forEncryption, AlgorithmIdentifier algId, char[] password, boolean wrongPKCS12Zero, byte[] data) argument
1638 calculatePbeMac( ASN1ObjectIdentifier oid, byte[] salt, int itCount, char[] password, boolean wrongPkcs12Zero, byte[] data) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
H A DArrays.java308 public static int hashCode(byte[] data) argument
310 if (data == null)
315 int i = data.length;
321 hc ^= data[i];
327 public static int hashCode(char[] data) argument
329 if (data == null)
334 int i = data.length;
340 hc ^= data[i];
358 public static int hashCode(int[] data) argument
360 if (data
401 hashCode(short[] data) argument
420 hashCode(Object[] data) argument
439 clone(byte[] data) argument
452 clone(byte[] data, byte[] existing) argument
466 clone(byte[][] data) argument
483 clone(byte[][][] data) argument
500 clone(int[] data) argument
513 clone(long[] data) argument
526 clone(long[] data, long[] existing) argument
540 clone(short[] data) argument
553 clone(BigInteger[] data) argument
566 copyOf(byte[] data, int newLength) argument
582 copyOf(char[] data, int newLength) argument
598 copyOf(int[] data, int newLength) argument
614 copyOf(long[] data, int newLength) argument
630 copyOf(BigInteger[] data, int newLength) argument
657 copyOfRange(byte[] data, int from, int to) argument
675 copyOfRange(int[] data, int from, int to) argument
693 copyOfRange(long[] data, int from, int to) argument
711 copyOfRange(BigInteger[] data, int from, int to) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
H A DBase64.java14 byte[] data)
16 return toBase64String(data, 0, data.length);
20 byte[] data,
24 byte[] encoded = encode(data, off, length);
29 * encode the input data producing a base 64 encoded byte array.
31 * @return a byte array containing the base 64 encoded data.
34 byte[] data)
36 return encode(data, 0, data
13 toBase64String( byte[] data) argument
19 toBase64String( byte[] data, int off, int length) argument
33 encode( byte[] data) argument
44 encode( byte[] data, int off, int length) argument
69 encode( byte[] data, OutputStream out) argument
82 encode( byte[] data, int off, int length, OutputStream out) argument
97 decode( byte[] data) argument
120 decode( String data) argument
144 decode( String data, OutputStream out) argument
[all...]
H A DBase64Encoder.java51 * encode the input data producing a base 64 output stream.
56 byte[] data,
68 a1 = data[i] & 0xff;
69 a2 = data[i + 1] & 0xff;
70 a3 = data[i + 2] & 0xff;
89 d1 = data[off + dataLength] & 0xff;
99 d1 = data[off + dataLength] & 0xff;
100 d2 = data[off + dataLength + 1] & 0xff;
123 * decode the base 64 encoded byte data writing it to the given output stream,
129 byte[] data,
55 encode( byte[] data, int off, int length, OutputStream out) argument
128 decode( byte[] data, int off, int length, OutputStream out) argument
190 nextI(byte[] data, int i, int finish) argument
205 decode( String data, OutputStream out) argument
320 nextI(String data, int i, int finish) argument
[all...]
H A DEncoder.java12 int encode(byte[] data, int off, int length, OutputStream out) throws IOException; argument
14 int decode(byte[] data, int off, int length, OutputStream out) throws IOException; argument
16 int decode(String data, OutputStream out) throws IOException; argument
H A DHex.java14 byte[] data)
16 return toHexString(data, 0, data.length);
20 byte[] data,
24 byte[] encoded = encode(data, off, length);
29 * encode the input data producing a Hex encoded byte array.
31 * @return a byte array containing the Hex encoded data.
34 byte[] data)
36 return encode(data, 0, data
13 toHexString( byte[] data) argument
19 toHexString( byte[] data, int off, int length) argument
33 encode( byte[] data) argument
44 encode( byte[] data, int off, int length) argument
68 encode( byte[] data, OutputStream out) argument
81 encode( byte[] data, int off, int length, OutputStream out) argument
96 decode( byte[] data) argument
118 decode( String data) argument
141 decode( String data, OutputStream out) argument
[all...]
H A DHexEncoder.java46 * encode the input data producing a Hex output stream.
51 byte[] data,
59 int v = data[i] & 0xff;
75 * decode the Hex encoded byte data writing it to the given output stream,
81 byte[] data,
94 if (!ignore((char)data[end - 1]))
105 while (i < end && ignore((char)data[i]))
110 b1 = decodingTable[data[i++]];
112 while (i < end && ignore((char)data[i]))
117 b2 = decodingTable[data[
50 encode( byte[] data, int off, int length, OutputStream out) argument
80 decode( byte[] data, int off, int length, OutputStream out) argument
138 decode( String data, OutputStream out) argument
[all...]
/external/ceres-solver/examples/
H A Dbal_problem.cc52 LOG(FATAL) << "Invalid UW data file.";
62 double Median(std::vector<double>* data) { argument
63 int n = data->size();
64 std::vector<double>::iterator mid_point = data->begin() + n / 2;
65 std::nth_element(data->begin(), mid_point, data->end());
191 AngleAxisRotatePoint(inverse_rotation.data(),
H A Dcurve_fitting.c48 * data = [x', y_observed'];
53 double data[] = { variable
172 &data[2 * i], /* Points to the (x,y) measurement */
174 NULL, /* No loss function user data */
H A Dcurve_fitting.cc48 // data = [x', y_observed'];
51 const double data[] = { variable
147 new ExponentialResidual(data[2 * i], data[2 * i + 1])),
H A Drobust_curve_fitting.cc43 // data = [x', y_observed'];
46 const double data[] = { variable
149 new ExponentialResidual(data[2 * i], data[2 * i + 1]));
/external/ceres-solver/internal/ceres/
H A Dc_api_test.cc40 double data[] = { variable
148 &data[2 * i], // Points to the (x,y) measurement
150 NULL, // Loss function user data
187 // Create two outliers, but be careful to leave the data intact.
188 ScopedSetValue<double> outlier1x(&data[12], 2.5);
189 ScopedSetValue<double> outlier1y(&data[13], 1.0e3);
190 ScopedSetValue<double> outlier2x(&data[14], 3.2);
191 ScopedSetValue<double> outlier2y(&data[15], 30e3);
202 &data[2 * i], // Points to the (x,y) measurement
204 cauchy_loss_data, // Loss function user data
[all...]
H A Dfile.cc43 void WriteStringToFileOrDie(const string &data, const string &filename) { argument
48 fwrite(data.c_str(), 1, data.size(), file_descriptor);
52 void ReadFileToStringOrDie(const string &filename, string *data) { argument
62 data->resize(num_bytes);
64 // Read the data.
66 int num_read = fread(&((*data)[0]),
67 sizeof((*data)[0]),
72 << "expected bytes: " << num_bytes * sizeof((*data)[0])
H A Dmap_util.h122 const typename Collection::value_type::second_type& data) {
124 CHECK(collection->insert(value_type(key, data)).second)
120 InsertOrDie(Collection* const collection, const typename Collection::value_type::first_type& key, const typename Collection::value_type::second_type& data) argument
/external/checkpolicy/test/
H A Ddismod.c281 render_access_mask(avrule->perms->data, avrule->perms->class,
284 display_id(policy, fp, SYM_TYPES, avrule->perms->data - 1, "");
292 int display_type_callback(hashtab_key_t key, hashtab_datum_t datum, void *data) argument
299 fp = (FILE *) data;
497 hashtab_datum_t datum, void *data)
503 fp = (FILE *) data;
496 role_display_callback(hashtab_key_t key __attribute__((unused)), hashtab_datum_t datum, void *data) argument
/external/chromium-libpac/src/
H A Dproxy_resolver_v8.cc105 virtual const uint16_t* data() const { function in class:net::__anon1777::V8ExternalStringFromScriptData
127 virtual const char* data() const { function in class:net::__anon1777::V8ExternalASCIILiteral
179 return v8::String::NewFromUtf8(isolate, s.data(), v8::String::kNormalString, s.size());

Completed in 421 milliseconds

1234567891011>>