Searched refs:bytes (Results 1 - 25 of 2342) sorted by path

1234567891011>>

/external/aac/libAACdec/src/
H A Daacdecoder.cpp231 \size Size of the buffer pointed on by buffer in bytes
255 \size Pointer to a buffer receiving the length of the requested anc data element in bytes
500 int bytes = (*count) >> 3; local
586 bytes--;
591 while (bytes > 0) {
593 bytes--;
599 *count = bytes<<3;
683 { /* Skip the remaining extension bytes */
/external/aac/libMpegTPEnc/src/
H A Dtpenc_latm.cpp110 then the value itself, with a size of 0-3 bytes
406 tmp = ( (p_lci->bitsFrame+7) >> 3 ) - 20; /* transmission frame length in bytes */
772 int *bytes)
806 *bytes = (FDKgetValidBits(hBs) + 7)>>3;
807 //FDKfetchBuffer(hBs, buffer, (UINT*)bytes);
820 *bytes = 0;
770 transportEnc_LatmGetFrame(HANDLE_LATM_STREAM hAss, HANDLE_FDK_BITSTREAM hBs, int *bytes) argument
/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
H A DCTarget.java196 String bytes;
262 bytes = buf.toString();
263 index = strings.indexOf(bytes);
266 strings.add(bytes);
267 index = strings.indexOf(bytes);
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
H A DSocketTransportWrapper.java217 * Reads packet bytes from transport connection.
253 // allocate packet bytes and store header there
254 byte[] bytes = new byte[len];
255 System.arraycopy(header, 0, bytes, 0, Packet.HEADER_SIZE);
259 int bytesRead = input.read(bytes, off, len - off);
269 return bytes;
273 * Writes packet bytes to transport connection.
295 byte[] bytes = new byte[len];
298 int bytesRead = input.read(bytes, off, len - off);
304 String response = new String(bytes,
[all...]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
H A DClassUnloadDebuggee.java97 ("--> Debuggee: createMemoryStress: freeMemory (bytes) before memory stress = " + freeMemory);
127 ("--> Debuggee: createMemoryStress: freeMemory (bytes) before memory stress = " + freeMemory);
183 byte bytes[] = new byte[size];
184 int len = loadClassData(is, bytes, size);
185 logWriter.println("-->> CustomClassLoader: Loaded class bytes: " + len);
186 Class cls = defineClass(name, bytes, 0, len);
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Method/
H A DBytecodesTest.java78 int bytes = reply.getNextValueAsInt();
79 logWriter.println("bytes = " + bytes);
81 byte[] bytecode = new byte[bytes];
82 for (int j = 0; j < bytes; j++) {
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/
H A DConstantPoolTest.java57 * constant entry count and costant pool bytes are expected.
101 byte[] bytes = new byte[length];
108 count = in.read(bytes,index,length);
117 short expectedEntryCount = (short)(bytes[8] << 8 | bytes[9]);
128 assertEquals(thisCommandName + "returned invalid entry count,", bytes[startIndex+i], returnedCpByte, null, null);
131 logWriter.println("=> CHECK: PASSED: expected constant pool bytes are returned:");
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
H A DFileHandlerTest.java242 byte[] bytes = new byte[msg.length()];
247 inputStream.read(bytes);
249 assertEquals(msg, new String(bytes));
251 assertEquals(msg, new String(bytes, encoding));
H A DStreamHandlerTest.java624 byte[] bytes = encoder.encode(
627 assertTrue(Arrays.equals(bytes, aos.toByteArray()));
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
H A DURLConnectionTest.java446 + hf, hf.equals("bytes"));
604 // Test magic bytes
605 byte[][] bytes = new byte[][] { { 'P', 'K' }, { 'G', 'I' } };
608 for (int i = 0; i < bytes.length; i++) {
609 InputStream is = new ByteArrayInputStream(bytes[i]);
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DDigestOutputStreamTest.java154 // check that bytes have been written correctly
192 // check that bytes have been written correctly
275 // check that bytes have been written correctly
283 * Assertion: put bytes into output stream<br>
314 * Assertion: put bytes into output stream<br>
350 * Assertion: put bytes into output stream<br>
370 // write remaining bytes
390 * Assertion: put bytes into output stream<br>
435 byte[] bytes = new byte[] { 1, 2 };
446 dig.write(bytes,
[all...]
H A DMessageDigest1Test.java56 final byte[] bytes = { 1, 2, 3, 4, 5 };
57 md.update(bytes, 1, 2);
69 md.update(bytes, 0, bytes.length + 1);
75 md.update(bytes, Integer.MAX_VALUE, 1);
85 assertSame("buf", bytes, arg0);
91 md.update(bytes, offset, len);
150 final byte[] bytes = new byte[] { 2, 4, 1 };
159 md.digest(bytes, 0, bytes
[all...]
H A DSecureClassLoader2Test.java47 public Class define(String name, byte[] bytes) {
48 return defineClass(name, bytes, 0, bytes.length,
66 byte[] bytes = InputStreamHelper.readFullyAndClose(in);
67 Class c = myloader.define("packA.SecurityTest", bytes);
H A DSecureRandom2Test.java114 byte[] bytes = new byte[313];
115 new SecureRandom().nextBytes(bytes);
201 protected void engineNextBytes(byte[] bytes) { argument
202 for (int i = 0; i < bytes.length; i++) {
203 bytes[i] = (byte) 0xFF;
H A DSignature2Test.java192 byte[] bytes = MESSAGE.getBytes();
193 sig.update(bytes);
203 byte[] bytes = MESSAGE.getBytes();
204 sig.update(bytes, 0, bytes.length);
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
H A DBitStringTest.java73 assertTrue("Testcase: " + i, Arrays.equals(expected.bytes,
74 decoded.bytes));
88 assertTrue("Testcase: " + i, Arrays.equals(expected.bytes,
89 decoded.bytes));
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
H A DRandomImpl.java38 protected void engineNextBytes(byte[] bytes) { argument
40 for (int i = 0; i < bytes.length; i++) {
41 bytes[i] = (byte) (i + 0xF1);
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_Exec.java70 byte[] bytes = new byte[1024];
72 while ((result = in.read(bytes)) != -1) {
73 output.append(new String(bytes, 0, result));
75 System.out.write(bytes, 0, result);
121 byte[] bytes = new byte[1024];
123 while ((result = in.read(bytes)) != -1) {
124 output.append(new String(bytes, 0, result));
126 System.out.write(bytes, 0, result);
240 byte[] bytes = new byte[1024];
248 while ((result = err.read(bytes)) !
[all...]
/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/
H A DFinishedTest.java35 byte[] bytes = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2 };
36 Finished message = new Finished(bytes);
39 .getData(), bytes));
64 fail("Extra bytes: No expected AlertException ");
/external/apache-http/src/org/apache/commons/codec/net/
H A DBCodec.java81 protected byte[] doEncoding(byte[] bytes) throws EncoderException { argument
82 if (bytes == null) {
85 return Base64.encodeBase64(bytes);
88 protected byte[] doDecoding(byte[] bytes) throws DecoderException { argument
89 if (bytes == null) {
92 return Base64.decodeBase64(bytes);
H A DQuotedPrintableCodec.java128 * Encodes an array of bytes into an array of quoted-printable 7-bit characters. Unsafe characters are escaped.
137 * @param bytes
138 * array of bytes to be encoded
139 * @return array of bytes containing quoted-printable data
141 public static final byte[] encodeQuotedPrintable(BitSet printable, byte[] bytes) { argument
142 if (bytes == null) {
149 for (int i = 0; i < bytes.length; i++) {
150 int b = bytes[i];
164 * Decodes an array quoted-printable characters into an array of original bytes. Escaped characters are converted
172 * @param bytes
178 decodeQuotedPrintable(byte[] bytes) argument
215 encode(byte[] bytes) argument
234 decode(byte[] bytes) argument
[all...]
H A DRFC1522Codec.java144 * Encodes an array of bytes using the defined encoding scheme
146 * @param bytes Data to be encoded
153 protected abstract byte[] doEncoding(byte[] bytes) throws EncoderException; argument
156 * Decodes an array of bytes using the defined encoding scheme
158 * @param bytes Data to be decoded
165 protected abstract byte[] doDecoding(byte[] bytes) throws DecoderException; argument
H A DURLCodec.java109 * Encodes an array of bytes into an array of URL safe 7-bit
113 * @param bytes array of bytes to convert to URL safe characters
114 * @return array of bytes containing URL safe characters
116 public static final byte[] encodeUrl(BitSet urlsafe, byte[] bytes) argument
118 if (bytes == null) {
126 for (int i = 0; i < bytes.length; i++) {
127 int b = bytes[i];
152 * original bytes. Escaped characters are converted back to their
155 * @param bytes arra
159 decodeUrl(byte[] bytes) argument
196 encode(byte[] bytes) argument
210 decode(byte[] bytes) argument
[all...]
/external/bison/
H A Dconfigure11537 "If a precision is specified, no more than that many bytes are written
17738 two bytes long, with UTF-8 encoding. */
21176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to determine the number of pending output bytes on a stream" >&5
21177 $as_echo_n "checking how to determine the number of pending output bytes on a stream... " >&6; }

Completed in 7997 milliseconds

1234567891011>>