Searched defs:ret (Results 26 - 50 of 279) sorted by relevance

1234567891011>>

/system/core/toolbox/
H A Dmkdir.c19 int ret; local
60 ret = mkdir(currpath, 0777);
61 if(ret < 0) {
63 return ret;
69 ret = mkdir(argv[0], 0777);
70 if(ret < 0) {
72 return ret;
H A Dreboot.c9 int ret; local
47 ret = android_reboot(ANDROID_RB_POWEROFF, flags, 0);
49 ret = android_reboot(ANDROID_RB_RESTART2, flags, argv[optind]);
51 ret = android_reboot(ANDROID_RB_RESTART, flags, 0);
52 if(ret < 0) {
H A Dsetkey.c38 int c, ret; local
53 ret = ioctl(fd, KDSKBENT, &kbe);
54 if (ret < 0) {
63 ret = ioctl(fd, KDGKBENT, &kbe);
64 if (ret < 0) {
/system/extras/tests/bionic/libc/common/
H A Dtest_gethostbyname.c40 int i, ret; local
/system/security/keystore/
H A Dkeystore_get.cpp34 int32_t ret = service->get(String16(key, keyLength), value, &valueLength); local
35 if (ret < 0) {
37 } else if (ret != ::NO_ERROR) {
/frameworks/av/media/common_time/
H A Dcc_helper.cpp31 bool ret = false; local
50 ret = true;
53 if (!ret) {
57 return ret;
/frameworks/av/media/libmediaplayerservice/
H A DActivityManager.cpp41 status_t ret = am->transact(OPEN_CONTENT_URI_TRANSACTION, data, &reply); local
42 if (ret == NO_ERROR) {
/frameworks/av/media/libstagefright/
H A DMediaExtractor.cpp93 MediaExtractor *ret = NULL; local
96 ret = new MPEG4Extractor(source);
98 ret = new MP3Extractor(source, meta);
101 ret = new AMRExtractor(source);
103 ret = new FLACExtractor(source);
105 ret = new WAVExtractor(source);
107 ret = new OggExtractor(source);
109 ret = new MatroskaExtractor(source);
111 ret = new MPEG2TSExtractor(source);
116 ret
[all...]
/frameworks/av/media/libstagefright/chromium_http/
H A DDataUriSource.cpp32 const bool ret = net::DataURL::Parse( local
37 mInited = ret ? OK : UNKNOWN_ERROR;
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dmemalign.c42 int ret; local
50 ret = pMemop->Alloc(CodecID, &MemInfo);
51 if(ret != 0)
65 ret = pMemop->Alloc(CodecID, &MemInfo);
66 if(ret != 0)
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dmem_align.c42 int ret; local
50 ret = pMemop->Alloc(CodecID, &MemInfo);
51 if(ret != 0)
65 ret = pMemop->Alloc(CodecID, &MemInfo);
66 if(ret != 0)
/frameworks/av/media/mediaserver/
H A Dmain_mediaserver.cpp61 int ret = waitid(P_PID, childPid, &info, WEXITED | WSTOPPED | WCONTINUED); local
62 if (ret == EINTR) {
65 if (ret < 0) {
/frameworks/av/media/mtp/
H A DMtpEventPacket.cpp51 int ret = ::ioctl(fd, MTP_SEND_EVENT, (unsigned long)&event); local
52 return (ret < 0 ? ret : 0);
60 int ret = transfer(request); local
61 if (ret >= 0)
62 mPacketSize = ret;
65 return ret;
/frameworks/av/services/audioflinger/
H A DSchedulingPolicyService.cpp34 int ret; local
50 ret = sps->requestPriority(pid, tid, prio, asynchronous);
51 if (ret != DEAD_OBJECT) {
59 return ret;
/frameworks/base/packages/DefaultContainerService/jni/
H A Dcom_android_defcontainer_MeasurementUtils.cpp33 jlong ret = 0L; local
37 return ret;
44 ret = calculate_dir_size(dirfd);
50 return ret;
/frameworks/native/services/surfaceflinger/tests/vsync/
H A Dvsync.cpp62 int32_t ret = loop->pollOnce(-1); local
63 switch (ret) {
77 printf("ugh? poll returned %d\n", ret);
/frameworks/rs/driver/linkloader/lib/
H A DMemChunk.cpp85 int ret = mprotect((void *)buf, buf_size, prot); local
86 if (ret == -1) {
/frameworks/rs/
H A Dspec.h31 VarType ret; member in struct:__anon1624
/system/bluetooth/tools/
H A Dbttest.c28 int ret; local
29 ret = bt_enable();
30 printf("= %d\n", ret);
31 return ret;
35 int ret; local
36 ret = bt_disable();
37 printf("= %d\n", ret);
38 return ret;
42 int ret; local
43 ret
[all...]
/system/core/adb/
H A Dlog_service.c49 int ret; local
51 ret = unix_read(logfd, entry, LOGGER_ENTRY_MAX_LEN);
52 if (ret < 0) {
58 else if (!ret) {
H A Dtest_track_devices.c55 int ret, s; local
67 ret = connect( s, (struct sockaddr*) &server, sizeof(server) );
68 if (ret < 0) panic( "could not connect to server" );
H A Dtest_track_jdwp.c55 int ret, s; local
67 ret = connect( s, (struct sockaddr*) &server, sizeof(server) );
68 if (ret < 0) panic( "could not connect to server" );
/system/core/libcutils/
H A Dashmem-dev.c44 int fd, ret; local
54 ret = ioctl(fd, ASHMEM_SET_NAME, buf);
55 if (ret < 0)
59 ret = ioctl(fd, ASHMEM_SET_SIZE, size);
60 if (ret < 0)
67 return ret;
H A Dsocket_local_server.c111 int ret; local
113 ret = listen(s, LISTEN_BACKLOG);
115 if (ret < 0) {
H A Dstrdup16to8.c145 char* ret; local
161 ret = malloc(len + 1);
162 if (ret == NULL)
165 strncpy16to8 (ret, s, n);
167 return ret;

Completed in 603 milliseconds

1234567891011>>