Searched defs:ret (Results 76 - 100 of 279) sorted by relevance

1234567891011>>

/frameworks/av/media/libnbaio/
H A DAudioBufferProviderSource.cpp124 ssize_t ret = via(user, readTgt, count, readPTS); local
125 if (CC_UNLIKELY(ret <= 0)) {
129 return ret;
131 ALOG_ASSERT((size_t) ret <= count);
132 mFramesRead += ret;
133 accumulator += ret;
134 if (CC_LIKELY((mConsumed += ret) < mBuffer.frameCount)) {
H A DAudioStreamOutSink.cpp60 ssize_t ret = mStream->write(mStream, buffer, count << mBitShift); local
61 if (ret > 0) {
62 ret >>= mBitShift;
63 mFramesWritten += ret;
67 return ret;
/frameworks/base/core/jni/
H A Dandroid_app_backup_FullBackup.cpp76 int ret; local
H A Dandroid_hardware_SerialPort.cpp178 int ret = read(fd, buf, length); local
179 if (ret > 0) {
181 env->SetByteArrayRegion(buffer, 0, ret, buf);
185 if (ret < 0)
187 return ret;
201 int ret = read(fd, buf, length); local
202 if (ret < 0)
204 return ret;
218 jint ret = write(fd, buf, length); local
220 if (ret <
234 int ret = write(fd, buf, length); local
[all...]
H A Dandroid_text_AndroidCharacter.cpp160 bool ret = false; local
169 ret = true;
172 return ret;
/frameworks/base/media/mca/filterfw/native/base/
H A Dutilities.h152 std::pair<typename Collection::iterator, bool> ret = local
154 return ret.second;
/frameworks/base/media/mca/filterpacks/native/base/
H A Dutilities.h152 std::pair<typename Collection::iterator, bool> ret = local
154 return ret.second;
/frameworks/base/services/common_time/
H A Dcommon_clock.cpp92 int64_t ret; local
93 duration_trans_.doForwardTransform(localDur, &ret);
94 return ret;
/frameworks/compile/libbcc/lib/Renderscript/runtime/
H A Drs_matrix.c205 float2 ret; local
206 ret.x = (m->m[0] * in.x) + (m->m[2] * in.y);
207 ret.y = (m->m[1] * in.x) + (m->m[3] * in.y);
208 return ret;
241 rsMatrixLoadMultiply(rs_matrix4x4 *ret, const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs) { argument
254 rsMatrixSet(ret, i, 0, ri0);
255 rsMatrixSet(ret, i, 1, ri1);
256 rsMatrixSet(ret, i, 2, ri2);
257 rsMatrixSet(ret, i, 3, ri3);
269 rsMatrixLoadMultiply(rs_matrix3x3 *ret, cons argument
294 rsMatrixLoadMultiply(rs_matrix2x2 *ret, const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs) argument
[all...]
/frameworks/native/opengl/libs/GLES_CM/
H A Dgl.cpp207 const GLubyte * ret = egl_get_string_for_current_context(name); local
208 if (ret == NULL) {
209 ret = __glGetString(name);
211 return ret;
/frameworks/rs/
H A DrsFifoSocket.cpp39 int ret = socketpair(AF_UNIX, SOCK_STREAM, 0, sv); local
57 size_t ret = ::send(sv[0], data, bytes, 0); local
58 rsAssert(ret == bytes);
59 if (ret != bytes) {
60 ALOGE("writeAsync %p %zu ret %zu", data, bytes, ret);
71 size_t ret = ::recv(sv[0], retData, retBytes, MSG_WAITALL); local
72 //ALOGE("writeWaitReturn %i", ret);
73 rsAssert(ret == retBytes);
82 size_t ret local
103 size_t ret = ::send(sv[1], data, bytes, 0); local
[all...]
/frameworks/wilhelm/src/objects/
H A DCEngine.c151 predestroy_t ret; local
157 ret = predestroy_error;
160 ret = predestroy_ok;
164 ret = predestroy_again;
168 return ret;
/system/core/adb/
H A Dremount_service.c99 int ret = remount_system(); local
101 if (!ret)
/system/core/init/
H A Dueventd.c120 int ret; local
164 ret = get_android_id(args[2]);
165 if (ret < 0) {
170 uid = ret;
172 ret = get_android_id(args[3]);
173 if (ret < 0) {
178 gid = ret;
/system/core/libcutils/
H A Drecord_stream.c47 RecordStream *ret; local
51 ret = (RecordStream *)calloc(1, sizeof(RecordStream));
53 ret->fd = fd;
54 ret->maxRecordLen = maxRecordLen;
55 ret->buffer = (unsigned char *)malloc (maxRecordLen + HEADER_SIZE);
57 ret->unconsumed = ret->buffer;
58 ret->read_end = ret->buffer;
59 ret
130 void *ret; local
[all...]
H A Dstrdup8to16.c45 char16_t *ret; local
57 ret = (char16_t *) malloc (sizeof(char16_t) * len);
59 return strcpy8to16 (ret, s, out_len);
114 uint32_t ret; local
130 ret = (**pUtf8Ptr) & leaderMask [seq_len - 1];
132 if (**pUtf8Ptr == '\0') return ret;
139 UTF8_SHIFT_AND_MASK(ret, **pUtf8Ptr);
142 return ret;
157 uint32_t ret; local
159 ret
194 uint32_t ret; local
[all...]
/system/core/libion/
H A Dion.c48 int ret = ioctl(fd, req, arg); local
49 if (ret < 0) {
51 ret, strerror(errno));
54 return ret;
60 int ret; local
68 ret = ion_ioctl(fd, ION_IOC_ALLOC, &data);
69 if (ret < 0)
70 return ret;
72 return ret;
90 int ret local
113 int ret = ion_ioctl(fd, ION_IOC_SHARE, &data); local
127 int ret; local
143 int ret = ion_ioctl(fd, ION_IOC_IMPORT, &data); local
[all...]
/system/core/sh/
H A Dalias.c212 int ret = 0; local
232 ret = 1;
244 return (ret);
/system/core/toolbox/grep/
H A Dfastgrep.c208 int ret = REG_NOMATCH; local
211 return (ret);
216 return (ret);
221 return (ret);
235 ret = 0;
246 ret = 0;
261 ret = 0;
273 return (ret);
H A Dfile.c142 char *ret; local
160 ret = (char *)bufpos;
165 return (ret);
/system/core/toolbox/
H A Dumount.c17 int ret = 0; local
21 ret = 1;
25 return ret;
/system/extras/fatblock/
H A Dread.c55 int ret; local
59 ret = stat(f->path, &st);
60 if (ret) {
76 ssize_t ret; local
114 ret = read(fd, buf, (size_t)len);
115 if (ret != (ssize_t)len) {
165 int ret; local
171 ret = extent_read(fs, e, buf + r_start, e_start, rel_len);
172 if (ret == SKY_IS_FALLING)
174 if (ret)
[all...]
/system/extras/tests/bionic/libc/other/
H A Dtest_zlib.c47 int ret, flush; local
57 ret = deflateInit(&strm, level);
58 if (ret != Z_OK)
59 return ret;
76 ret = deflate(&strm, flush); /* no bad return value */
95 int ret; local
107 ret = inflateInit(&strm);
108 if (ret != Z_OK)
109 return ret;
126 ret
223 int ret, rr; local
[all...]
/system/netd/
H A DSoftapController.cpp114 int ret = ResponseCode::SoftapStatusResult; local
154 ret = ResponseCode::OperationFailed;
177 return ret;
/system/vold/
H A Dmain.cpp159 int ret = -1; local
200 ret = 0;
203 return ret;

Completed in 552 milliseconds

1234567891011>>