OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:numFds
(Results
1 - 10
of
10
) 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++) {
/frameworks/native/libs/ui/
Fence.cpp
159
size_t
numFds
;
160
FlattenableUtils::read(buffer, size,
numFds
);
162
if (
numFds
> 1) {
166
if (count <
numFds
) {
170
if (
numFds
) {
GraphicBuffer.cpp
208
return handle ? handle->
numFds
: 0;
229
buf[6] = handle->
numFds
;
232
memcpy(fds, h->data, h->
numFds
*sizeof(int));
233
memcpy(&buf[8], h->data + h->
numFds
, h->numInts*sizeof(int));
238
fds += handle->
numFds
;
239
count -= handle->
numFds
;
251
const size_t
numFds
= buf[6];
265
if (
numFds
|| numInts) {
271
native_handle* h = native_handle_create(
numFds
, numInts);
272
memcpy(h->data, fds,
numFds
*sizeof(int))
[
all
...]
/device/lge/hammerhead/libsensors/
sensors.cpp
131
numFds
,
134
static const size_t wake =
numFds
- 1;
136
struct pollfd mPollFds[
numFds
];
354
n = poll(mPollFds,
numFds
, nbEvents ? 0 : polltime);
/hardware/akm/AK8975_FS/libsensors/
sensors.cpp
139
numFds
,
142
static const size_t wake =
numFds
- 1;
144
struct pollfd mPollFds[
numFds
];
302
n = poll(mPollFds,
numFds
, nbEvents ? 0 : -1);
/hardware/invensense/60xx/libsensors_iio/
sensors_mpl.cpp
97
numFds
,
/hardware/invensense/65xx/libsensors_iio/
sensors_mpl.cpp
104
numFds
,
107
struct pollfd mPollFds[
numFds
];
212
nb = poll(mPollFds,
numFds
, polltime);
/device/samsung/manta/libsensors/
sensors.cpp
130
numFds
,
133
static const size_t wake =
numFds
- 1;
135
struct pollfd mPollFds[
numFds
];
299
n = poll(mPollFds,
numFds
, nbEvents ? 0 : polltime);
/frameworks/native/libs/binder/
Parcel.cpp
734
err = writeInt32(handle->
numFds
);
740
for (int i=0 ; err==NO_ERROR && i<handle->
numFds
; i++)
747
err = write(handle->data + handle->
numFds
, sizeof(int)*handle->numInts);
1139
int
numFds
, numInts;
1141
err = readInt32(&
numFds
);
1146
native_handle* h = native_handle_create(
numFds
, numInts);
1147
for (int i=0 ; err==NO_ERROR && i<
numFds
; i++) {
1151
err = read(h->data +
numFds
, sizeof(int)*numInts);
[
all
...]
Completed in 158 milliseconds