Searched refs:bytes (Results 1 - 18 of 18) sorted by relevance

/opengrok/test/org/opensolaris/opengrok/analysis/
H A DTextAnalyzerTest.java45 private static StreamSource getStreamSource(final byte[] bytes) { argument
49 return new ByteArrayInputStream(bytes);
87 byte[] bytes = new byte[utf16str.remaining()];
88 utf16str.get(bytes, 0, bytes.length);
91 getStreamSource(bytes), null);
101 byte[] bytes = new byte[utf16str.remaining()];
102 utf16str.get(bytes, 0, bytes.length);
104 for (int i = 0; i < bytes
[all...]
H A DAnalyzerGuruTest.java75 byte[] bytes = {(byte) 0xEF, (byte) 0xBB, (byte) 0xBF, // UTF-8 BOM
79 ByteArrayInputStream in = new ByteArrayInputStream(bytes);
/opengrok/src/org/opensolaris/opengrok/analysis/
H A DScopes.java151 ByteArrayOutputStream bytes = new ByteArrayOutputStream();
152 new ObjectOutputStream(bytes).writeObject(this);
153 return bytes.toByteArray();
159 * @param bytes a byte array containing the {@code Definitions} object
167 public static Scopes deserialize(byte[] bytes) argument
170 = new ObjectInputStream(new ByteArrayInputStream(bytes));
H A DDefinitions.java252 ByteArrayOutputStream bytes = new ByteArrayOutputStream();
253 new ObjectOutputStream(bytes).writeObject(this);
254 return bytes.toByteArray();
260 * @param bytes a byte array containing the {@code Definitions} object
268 public static Definitions deserialize(byte[] bytes) argument
271 = new ObjectInputStream(new ByteArrayInputStream(bytes));
/opengrok/src/org/opensolaris/opengrok/authorization/
H A DAuthorizationPluginClassLoader.java93 byte[] bytes = loadBytes(is);
94 Class c = defineClass(classname, bytes, 0, bytes.length);
117 byte[] bytes = loadBytes(in);
119 Class c = defineClass(classname, bytes, 0, bytes.length);
135 byte[] bytes = new byte[in.available()];
136 in.read(bytes);
137 return bytes;
/opengrok/src/org/opensolaris/opengrok/util/
H A DExecutor.java350 private final ByteArrayOutputStream bytes = new ByteArrayOutputStream(); field in class:Executor.SpoolHandler
353 return bytes.toByteArray();
363 bytes.write(buffer, 0, len);
/opengrok/test/org/opensolaris/opengrok/analysis/c/
H A DCAnalyzerFactoryTest.java121 Scopes scopes = Scopes.deserialize(scopesField.binaryValue().bytes);
H A DCxxAnalyzerFactoryTest.java121 Scopes scopes = Scopes.deserialize(scopesField.binaryValue().bytes);
/opengrok/test/org/opensolaris/opengrok/analysis/clojure/
H A DClojureAnalyzerFactoryTest.java116 Definitions definitions = Definitions.deserialize(doc.getField(QueryBuilder.TAGS).binaryValue().bytes);
/opengrok/test/org/opensolaris/opengrok/analysis/csharp/
H A DCSharpAnalyzerFactoryTest.java114 Scopes scopes = Scopes.deserialize(scopesField.binaryValue().bytes);
/opengrok/test/org/opensolaris/opengrok/analysis/java/
H A DJavaAnalyzerFactoryTest.java121 Scopes scopes = Scopes.deserialize(scopesField.binaryValue().bytes);
/opengrok/test/org/opensolaris/opengrok/analysis/pascal/
H A DPascalAnalyzerFactoryTest.java116 Definitions definitions = Definitions.deserialize(doc.getField(QueryBuilder.TAGS).binaryValue().bytes);
/opengrok/src/org/opensolaris/opengrok/search/
H A DResults.java214 tags = Definitions.deserialize(tagsField.binaryValue().bytes);
219 scopes = Scopes.deserialize(scopesField.binaryValue().bytes);
H A DSearchEngine.java411 tags = Definitions.deserialize(tagsField.binaryValue().bytes);
416 scopes = Scopes.deserialize(scopesField.binaryValue().bytes);
/opengrok/lib/
H A Dbcel-6.0.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/bcel/ org/apache/bcel/classfile/ ...
/opengrok/src/org/opensolaris/opengrok/web/
H A DSearchHelper.java336 byte[] rawTags = doc.getField(QueryBuilder.TAGS).binaryValue().bytes;
/opengrok/.mvn/wrapper/
H A Dmaven-wrapper.jarorg/apache/maven/wrapper/BootstrapMainStarter.class BootstrapMainStarter.java package org.apache.maven.wrapper public ...
/opengrok/src/org/opensolaris/opengrok/index/
H A DIndexDatabase.java1148 return Definitions.deserialize(tags.binaryValue().bytes);

Completed in 51 milliseconds