OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:numFds
(Results
1 - 12
of
12
) sorted by null
/system/core/libcutils/
native_handle.c
28
native_handle_t* native_handle_create(int
numFds
, int numInts)
31
sizeof(native_handle_t) + sizeof(int)*(
numFds
+numInts));
34
h->
numFds
=
numFds
;
54
const int
numFds
= h->
numFds
;
56
for (i=0 ; i<
numFds
; i++) {
/system/core/include/cutils/
native_handle.h
27
int
numFds
; /* number of file-descriptors at &data[0] */
28
int numInts; /* number of ints at &data[
numFds
] */
29
int data[0]; /*
numFds
+ numInts ints */
54
native_handle_t* native_handle_create(int
numFds
, int numInts);
/frameworks/base/libs/ui/
GraphicBuffer.cpp
187
return handle ? handle->
numFds
: 0;
210
buf[6] = handle->
numFds
;
213
memcpy(fds, h->data, h->
numFds
*sizeof(int));
214
memcpy(&buf[8], h->data + h->
numFds
, h->numInts*sizeof(int));
228
const size_t
numFds
= buf[6];
242
if (
numFds
|| numInts) {
248
native_handle* h = native_handle_create(
numFds
, numInts);
249
memcpy(h->data, fds,
numFds
*sizeof(int));
250
memcpy(h->data +
numFds
, &buf[8], numInts*sizeof(int));
/frameworks/base/include/private/ui/
sw_gralloc_handle.h
52
numFds
= sNumFds;
61
h->numInts != sNumInts || h->
numFds
!= sNumFds ||
/hardware/libhardware/modules/gralloc/
gralloc_priv.h
92
numFds
= sNumFds;
101
h->numInts != sNumInts || h->
numFds
!= sNumFds ||
/hardware/msm7k/libgralloc/
gralloc_priv.h
100
numFds
= sNumFds;
109
h->numInts != sNumInts || h->
numFds
!= sNumFds ||
/hardware/msm7k/libgralloc-qsd8k/
gralloc_priv.h
110
numFds
= sNumFds;
123
h->numInts != sNumInts || h->
numFds
!= sNumFds ||
/frameworks/base/services/jni/
com_android_server_SensorService.cpp
82
if (handle->
numFds
> 0) {
83
jobjectArray fdArray = env->NewObjectArray(handle->
numFds
,
85
for (int i = 0; i < handle->
numFds
; i++) {
/frameworks/base/core/jni/
android_hardware_SensorManager.cpp
116
int
numFds
= (fdArray ? env->GetArrayLength(fdArray) : 0);
118
native_handle_t* handle = native_handle_create(
numFds
, numInts);
121
for (int i = 0; i <
numFds
; i++) {
/hardware/libhardware/modules/overlay/
overlay.cpp
87
mHandle.
numFds
= 0;
/frameworks/base/libs/binder/
Parcel.cpp
642
err = writeInt32(handle->
numFds
);
648
for (int i=0 ; err==NO_ERROR && i<handle->
numFds
; i++)
655
err = write(handle->data + handle->
numFds
, sizeof(int)*handle->numInts);
944
int
numFds
, numInts;
946
err = readInt32(&
numFds
);
951
native_handle* h = native_handle_create(
numFds
, numInts);
952
for (int i=0 ; err==NO_ERROR && i<
numFds
; i++) {
956
err = read(h->data +
numFds
, sizeof(int)*numInts);
[
all
...]
/hardware/ti/omap3/liboverlay/
overlay.cpp
215
mHandle.
numFds
= 2;
[
all
...]
Completed in 306 milliseconds