OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:numFds
(Results
1 - 7
of
7
) 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/
GraphicBuffer.cpp
209
return handle ? handle->
numFds
: 0;
232
buf[6] = handle->
numFds
;
235
memcpy(fds, h->data, h->
numFds
*sizeof(int));
236
memcpy(&buf[8], h->data + h->
numFds
, h->numInts*sizeof(int));
250
const size_t
numFds
= buf[6];
264
if (
numFds
|| numInts) {
270
native_handle* h = native_handle_create(
numFds
, numInts);
271
memcpy(h->data, fds,
numFds
*sizeof(int));
272
memcpy(h->data +
numFds
, &buf[8], numInts*sizeof(int));
/hardware/invensense/libsensors_iio/
sensors_mpl.cpp
97
numFds
,
/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);
/device/samsung/tuna/libsensors/
sensors.cpp
144
numFds
,
147
static const size_t wake =
numFds
- 2;
149
struct pollfd mPollFds[
numFds
];
306
n = poll(mPollFds,
numFds
, nbEvents ? 0 : polltime);
/frameworks/native/libs/binder/
Parcel.cpp
712
err = writeInt32(handle->
numFds
);
718
for (int i=0 ; err==NO_ERROR && i<handle->
numFds
; i++)
725
err = write(handle->data + handle->
numFds
, sizeof(int)*handle->numInts);
1115
int
numFds
, numInts;
1117
err = readInt32(&
numFds
);
1122
native_handle* h = native_handle_create(
numFds
, numInts);
1123
for (int i=0 ; err==NO_ERROR && i<
numFds
; i++) {
1127
err = read(h->data +
numFds
, sizeof(int)*numInts);
[
all
...]
Completed in 250 milliseconds