OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:nativebuffer
(Results
1 - 25
of
169
) sorted by null
1
2
3
4
5
6
7
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
NativeBuffer.java
25
public class
NativeBuffer
{
36
public
NativeBuffer
() {
39
public
NativeBuffer
(int count) {
44
public
NativeBuffer
mutableCopy() {
45
NativeBuffer
result = null;
48
result = (
NativeBuffer
)myClass.newInstance();
54
throw new RuntimeException("Failed to copy
NativeBuffer
to mutable instance!");
71
public
NativeBuffer
retain() {
80
public
NativeBuffer
release() {
128
private native boolean nativeCopyTo(
NativeBuffer
buffer)
[
all
...]
NativeFrame.java
24
import android.filterfw.core.
NativeBuffer
;
65
*
NativeBuffer
. The
NativeBuffer
returned is only valid for as long as the frame is alive. If
82
// Make sure it is a
NativeBuffer
subclass
83
if (!
NativeBuffer
.class.isAssignableFrom(structClass)) {
85
"
NativeBuffer
!");
89
NativeBuffer
structData = null;
91
structData = (
NativeBuffer
)structClass.newInstance();
246
private native boolean getNativeBuffer(
NativeBuffer
buffer);
/libcore/ojluni/src/main/java/sun/nio/fs/
NativeBuffers.java
40
private static ThreadLocal<
NativeBuffer
[]> threadLocal =
41
new ThreadLocal<
NativeBuffer
[]>();
46
static
NativeBuffer
allocNativeBuffer(int size) {
49
return new
NativeBuffer
(size);
56
static
NativeBuffer
getNativeBufferFromCache(int size) {
58
NativeBuffer
[] buffers = threadLocal.get();
61
NativeBuffer
buffer = buffers[i];
76
static
NativeBuffer
getNativeBuffer(int size) {
77
NativeBuffer
buffer = getNativeBufferFromCache(size);
90
static void releaseNativeBuffer(
NativeBuffer
buffer)
[
all
...]
UnixNativeDispatcher.java
38
// returns a
NativeBuffer
containing the given path
39
private static
NativeBuffer
copyToNativeBuffer(UnixPath path) {
42
NativeBuffer
buffer = NativeBuffers.getNativeBufferFromCache(size);
69
NativeBuffer
buffer = copyToNativeBuffer(path);
83
NativeBuffer
buffer = NativeBuffers.asNativeBuffer(path);
102
NativeBuffer
pathBuffer = copyToNativeBuffer(filename);
103
NativeBuffer
modeBuffer = NativeBuffers.asNativeBuffer(Util.toBytes(mode));
123
NativeBuffer
existingBuffer = copyToNativeBuffer(existing);
124
NativeBuffer
newBuffer = copyToNativeBuffer(newfile);
139
NativeBuffer
buffer = copyToNativeBuffer(path)
[
all
...]
LinuxNativeDispatcher.java
42
NativeBuffer
pathBuffer = NativeBuffers.asNativeBuffer(filename);
43
NativeBuffer
typeBuffer = NativeBuffers.asNativeBuffer(type);
71
NativeBuffer
buffer = NativeBuffers.asNativeBuffer(name);
88
NativeBuffer
buffer = NativeBuffers.asNativeBuffer(name);
103
NativeBuffer
buffer = NativeBuffers.asNativeBuffer(name);
NativeBuffer.java
35
class
NativeBuffer
{
56
NativeBuffer
(int size) {