Home
last modified time | relevance | path

Searched refs:retval (Results 1 – 25 of 37) sorted by relevance

12

/device/google/contexthub/firmware/lib/libm/
Dwf_pow.c46 exc.retval = 1.0;
48 _LIB_VERSION == _POSIX_) exc.retval = 1.0;
54 return (float)exc.retval;
67 exc.retval = 0.0;
68 if (_LIB_VERSION != _SVID_) exc.retval = 1.0;
74 return (float)exc.retval;
84 exc.retval = 0.0;
86 exc.retval = -HUGE_VAL;
94 return (float)exc.retval;
108 exc.retval = 0.0;
[all …]
Dwf_exp.c61 exc.retval = HUGE;
63 exc.retval = HUGE_VAL;
71 return exc.retval;
78 exc.retval = 0.0;
86 return exc.retval;
Dwf_fmod.c45 exc.retval = x;
47 exc.retval = 0.0/0.0;
55 return (float)exc.retval;
/device/generic/goldfish-opengl/system/hwc3/
DGuestFrameComposer.cpp973 int retval = DoFill(dstBufferSpec, srcLayer->getColor()); in composeLayerInto() local
974 if (retval) { in composeLayerInto()
975 ALOGE("Got error code %d from DoFill function", retval); in composeLayerInto()
1011 int retval = DoConversion(srcLayerSpec, dstBufferSpec, needsVFlip); in composeLayerInto() local
1012 if (retval) { in composeLayerInto()
1013 ALOGE("Got error code %d from DoConversion function", retval); in composeLayerInto()
1034 int retval = DoScaling(srcLayerSpec, dstBufferSpec, needsVFlip); in composeLayerInto() local
1036 if (retval) { in composeLayerInto()
1037 ALOGE("Got error code %d from DoScaling function", retval); in composeLayerInto()
1044 int retval = DoRotation(srcLayerSpec, dstBufferStack.back(), rotation, needsVFlip); in composeLayerInto() local
[all …]
/device/generic/opengl-transport/host/commands/emugen/
DApiGen.h46 const char *retval; in sideString() local
49 retval = "client"; in sideString()
52 retval = "server"; in sideString()
55 retval = "wrapper"; in sideString()
58 retval = "unknown"; in sideString()
60 return retval; in sideString()
DstrUtils.cpp30 std::string retval = str.substr(pos, *last - pos); in getNextToken() local
31 retval = trim(retval); in getNextToken()
32 return retval; in getNextToken()
DApiGen.cpp93 e->retval().printType(fp); in genProcTypes()
111 e->retval().printType(fp); in genProcTypes()
269 bool shouldReturn = !e->retval().isVoid(); in genEntryPoints()
800 if (e->retval().isPointer()) { in genEncoderImpl()
808 } else if (e->retval().type()->name() != "void") { in genEncoderImpl()
818 fprintf(fp, "\n\t%s retval;\n", e->retval().type()->name().c_str()); in genEncoderImpl()
819 … fprintf(fp, "\tstream->readback(&retval, %u);\n",(unsigned) e->retval().type()->bytes()); in genEncoderImpl()
821 (unsigned) e->retval().type()->bytes()); in genEncoderImpl()
1053 if (!e->retval().isVoid()) { in genDecoderImpl()
1054 retvalType = e->retval().type()->name(); in genDecoderImpl()
[all …]
/device/google/cuttlefish/host/commands/tombstone_receiver/
Dmain.cpp36 auto retval = fmt::format("{}/tombstone_{:%Y-%m-%d-%H%M%S}", dir, in_time); in next_tombstone_path() local
39 if(retval == last_tombstone_name) { in next_tombstone_path()
41 retval += "_" + std::to_string(num_tombstones_in_last_second); in next_tombstone_path()
43 last_tombstone_name = retval; in next_tombstone_path()
47 LOG(DEBUG) << "Creating " << retval; in next_tombstone_path()
48 return retval; in next_tombstone_path()
/device/linaro/hikey/gralloc/
Dgralloc_module.cpp75 int retval = -EINVAL; in gralloc_register_buffer() local
89 return retval; in gralloc_register_buffer()
102 retval = 0; in gralloc_register_buffer()
152 retval = -errno; in gralloc_register_buffer()
168 retval = -errno; in gralloc_register_buffer()
178 retval = -errno; in gralloc_register_buffer()
198 return retval; in gralloc_register_buffer()
332 int retval = 0; in gralloc_lock_ycbcr() local
398 retval = -EINVAL; in gralloc_lock_ycbcr()
407 return retval; in gralloc_lock_ycbcr()
/device/google/cuttlefish/guest/hals/keymint/remote/
Dremote_keymint_device.cpp169 vector<KeyCharacteristics> retval; in convertKeyCharacteristics() local
170 retval.reserve(2); in convertKeyCharacteristics()
172 retval.push_back(std::move(keyMintEnforced)); in convertKeyCharacteristics()
175 retval.push_back(std::move(keystoreEnforced)); in convertKeyCharacteristics()
178 return retval; in convertKeyCharacteristics()
186 vector<Certificate> retval; in convertCertificateChain() local
187 retval.reserve(chain.entry_count); in convertCertificateChain()
188 std::transform(chain.begin(), chain.end(), std::back_inserter(retval), in convertCertificateChain()
190 return retval; in convertCertificateChain()
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmm150_slave.c120 int32_t retval = 0; in bmm150TempCompensateZ() local
124 retval = ((((int32_t)(mag_z - magTask->dig_z4)) << 15) in bmm150TempCompensateZ()
127 retval /= (magTask->dig_z2 in bmm150TempCompensateZ()
131 retval = BMM150_MAG_OVERFLOW_OUTPUT; in bmm150TempCompensateZ()
133 return retval; in bmm150TempCompensateZ()
/device/google/cuttlefish/host/commands/kernel_log_monitor/
Dutils.cc59 ssize_t retval = cuttlefish::WriteAllBinary(fd, &length); in WriteEvent() local
60 if (retval <= 0) { in WriteEvent()
64 retval = cuttlefish::WriteAll(fd, message_string); in WriteEvent()
65 if (retval <= 0) { in WriteEvent()
/device/linaro/hikey/gralloc960/
Dmali_gralloc_reference.cpp62 int retval = -EINVAL; in mali_gralloc_reference_retain() local
66 retval = 0; in mali_gralloc_reference_retain()
70 retval = mali_gralloc_ion_map(hnd); in mali_gralloc_reference_retain()
78 return retval; in mali_gralloc_reference_retain()
Dmali_gralloc_ion.cpp714 int retval = -EINVAL; in mali_gralloc_ion_map() local
731 retval = -errno; in mali_gralloc_ion_map()
740 retval = -errno; in mali_gralloc_ion_map()
745 retval = 0; in mali_gralloc_ion_map()
749 return retval; in mali_gralloc_ion_map()
/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_reference.cpp62 int retval = -EINVAL; in mali_gralloc_reference_retain() local
66 retval = 0; in mali_gralloc_reference_retain()
70 retval = mali_gralloc_ion_map(hnd); in mali_gralloc_reference_retain()
78 return retval; in mali_gralloc_reference_retain()
Dmali_gralloc_ion.cpp715 int retval = -EINVAL; in mali_gralloc_ion_map() local
732 retval = -errno; in mali_gralloc_ion_map()
741 retval = -errno; in mali_gralloc_ion_map()
746 retval = 0; in mali_gralloc_ion_map()
750 return retval; in mali_gralloc_ion_map()
/device/google/atv/audio_proxy/service/
DWriteThread.cpp69 status.retval = Result::INVALID_STATE; in doWrite()
80 status.retval = Result::OK; in doWrite()
112 status.retval = Result::OK; in doGetPresentationPosition()
122 status.retval = Result::OK; in doGetLatency()
180 status.retval = Result::NOT_SUPPORTED; in threadLoop()
/device/google/cuttlefish/common/libs/utils/
Dsubprocess.cpp208 int retval = 0; in Wait() local
211 retval = WEXITSTATUS(wstatus); in Wait()
212 if (retval) { in Wait()
214 << " exited with error code: " << retval; in Wait()
221 retval = -1; in Wait()
223 return retval; in Wait()
233 auto retval = TEMP_FAILURE_RETRY(waitid(P_PID, pid_, infop, options)); in Wait() local
240 return retval; in Wait()
/device/google/coral/json-c/
Djson_util.c148 int json_parse_double(const char *buf, double *retval) in json_parse_double() argument
150 return (sscanf(buf, "%lf", retval)==1 ? 0 : 1); in json_parse_double()
179 int json_parse_int64(const char *buf, int64_t *retval) in json_parse_int64() argument
262 *retval = num64; in json_parse_int64()
Djson_util.h36 extern int json_parse_int64(const char *buf, int64_t *retval);
37 extern int json_parse_double(const char *buf, double *retval);
/device/google/sunfish/json-c/
Djson_util.c148 int json_parse_double(const char *buf, double *retval) in json_parse_double() argument
150 return (sscanf(buf, "%lf", retval)==1 ? 0 : 1); in json_parse_double()
179 int json_parse_int64(const char *buf, int64_t *retval) in json_parse_int64() argument
262 *retval = num64; in json_parse_int64()
Djson_util.h36 extern int json_parse_int64(const char *buf, int64_t *retval);
37 extern int json_parse_double(const char *buf, double *retval);
/device/google/redbull/json-c/
Djson_util.c148 int json_parse_double(const char *buf, double *retval) in json_parse_double() argument
150 return (sscanf(buf, "%lf", retval)==1 ? 0 : 1); in json_parse_double()
179 int json_parse_int64(const char *buf, int64_t *retval) in json_parse_int64() argument
262 *retval = num64; in json_parse_int64()
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/encoder/
Dfoo_enc.cpp74 FooBoolean retval; in fooIsBuffer_enc() local
75 stream->readback(&retval, 1); in fooIsBuffer_enc()
76 if (useChecksum) checksumCalculator->addBuffer(&retval, 1); in fooIsBuffer_enc()
87 return retval; in fooIsBuffer_enc()
/device/generic/goldfish/audio/
Dstream_out.cpp184 wStatus.retval = FAILURE(Result::NOT_SUPPORTED); in processCommand()
224 status.retval = Result::OK; in doWrite()
232 status.retval = mSink->getPresentationPosition( in doGetPresentationPosition()
251 status.retval = Result::OK; in doGetLatency()
254 status.retval = Result::INVALID_STATE; in doGetLatency()

12