OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:numFds
(Results
1 - 9
of
9
) sorted by null
/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 */
50
native_handle_t* native_handle_create(int
numFds
, int numInts);
/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++) {
/development/tools/emulator/opengl/system/OpenglSystemCommon/
gralloc_cb.h
37
numFds
= 0;
38
numInts = CB_HANDLE_NUM_INTS(
numFds
);
47
numFds
= 1;
50
numFds
= 0;
53
numInts = CB_HANDLE_NUM_INTS(
numFds
);
60
hnd->numInts == CB_HANDLE_NUM_INTS(hnd->
numFds
));
/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 ||
/frameworks/base/libs/ui/
GraphicBuffer.cpp
205
return handle ? handle->
numFds
: 0;
228
buf[6] = handle->
numFds
;
231
memcpy(fds, h->data, h->
numFds
*sizeof(int));
232
memcpy(&buf[8], h->data + h->
numFds
, h->numInts*sizeof(int));
246
const size_t
numFds
= buf[6];
260
if (
numFds
|| numInts) {
266
native_handle* h = native_handle_create(
numFds
, numInts);
267
memcpy(h->data, fds,
numFds
*sizeof(int));
268
memcpy(h->data +
numFds
, &buf[8], numInts*sizeof(int));
/hardware/msm7k/libgralloc-qsd8k/
gralloc_priv.h
134
numFds
= sNumFds;
147
h->numInts != sNumInts || h->
numFds
!= sNumFds ||
/device/samsung/tuna/libsensors/
sensors.cpp
144
numFds
,
147
static const size_t wake =
numFds
- 2;
149
struct pollfd mPollFds[
numFds
];
305
n = poll(mPollFds,
numFds
, nbEvents ? 0 : polltime);
/frameworks/base/libs/binder/
Parcel.cpp
696
err = writeInt32(handle->
numFds
);
702
for (int i=0 ; err==NO_ERROR && i<handle->
numFds
; i++)
709
err = write(handle->data + handle->
numFds
, sizeof(int)*handle->numInts);
1063
int
numFds
, numInts;
1065
err = readInt32(&
numFds
);
1070
native_handle* h = native_handle_create(
numFds
, numInts);
1071
for (int i=0 ; err==NO_ERROR && i<
numFds
; i++) {
1075
err = read(h->data +
numFds
, sizeof(int)*numInts);
[
all
...]
Completed in 131 milliseconds