Home
last modified time | relevance | path

Searched refs:rval (Results 1 – 20 of 20) sorted by relevance

/device/linaro/hikey/gralloc960/
Dgralloc_buffer_priv.h67 int rval = -1; in gralloc_buffer_attr_map() local
94 rval = 0; in gralloc_buffer_attr_map()
97 return rval; in gralloc_buffer_attr_map()
107 int rval = -1; in gralloc_buffer_attr_unmap() local
119 rval = 0; in gralloc_buffer_attr_unmap()
124 return rval; in gralloc_buffer_attr_unmap()
134 int rval = -1; in gralloc_buffer_attr_write() local
149 rval = 0; in gralloc_buffer_attr_write()
154 rval = 0; in gralloc_buffer_attr_write()
159 rval = 0; in gralloc_buffer_attr_write()
[all …]
Dgralloc_buffer_priv.cpp42 int rval = -1; in gralloc_buffer_attr_allocate() local
96 rval = 0; in gralloc_buffer_attr_allocate()
108 return rval; in gralloc_buffer_attr_allocate()
119 int rval = -1; in gralloc_buffer_attr_free() local
141 rval = 0; in gralloc_buffer_attr_free()
144 return rval; in gralloc_buffer_attr_free()
Dmali_gralloc_formats.cpp54 bool rval = false; in get_block_capabilities() local
83 rval = true; in get_block_capabilities()
92 return rval; in get_block_capabilities()
109 bool rval = true; in is_afbc_supported() local
122 rval = false; in is_afbc_supported()
126 return rval; in is_afbc_supported()
131 bool rval = false; in is_android_yuv_format() local
143 rval = true; in is_android_yuv_format()
147 return rval; in is_android_yuv_format()
399 bool rval = true; in determine_producer() local
[all …]
Dmali_gralloc_bufferdescriptor.cpp187 int rval = -1; in mali_gralloc_query_getstride() local
196 rval = 0; in mali_gralloc_query_getstride()
200 return rval; in mali_gralloc_query_getstride()
Dmali_gralloc_public_interface.cpp401 gralloc1_function_pointer_t rval = NULL; in mali_gralloc_getFunction() local
408 rval = mali_gralloc_func_list[pos].func; in mali_gralloc_getFunction()
415 if (rval == NULL) in mali_gralloc_getFunction()
417 rval = mali_gralloc_private_interface_getFunction(descriptor); in mali_gralloc_getFunction()
420 return rval; in mali_gralloc_getFunction()
Dmali_gralloc_bufferallocation.cpp1213 int rval = -1; in mali_gralloc_buffer_free() local
1218 rval = gralloc_buffer_attr_free(hnd); in mali_gralloc_buffer_free()
1222 return rval; in mali_gralloc_buffer_free()
/device/google/cuttlefish/common/libs/fs/
Dshared_fd.h191 int rval = bind(fd_, addr, addrlen); in Bind() local
193 return rval; in Bind()
198 int rval = connect(fd_, addr, addrlen); in Connect() local
200 return rval; in Connect()
213 int rval = TEMP_FAILURE_RETRY(dup(fd_)); in UNMANAGED_Dup() local
215 return rval; in UNMANAGED_Dup()
220 int rval = TEMP_FAILURE_RETRY(dup2(fd_, newfd)); in UNMANAGED_Dup2() local
222 return rval; in UNMANAGED_Dup2()
227 int rval = TEMP_FAILURE_RETRY(fcntl(fd_, command, value)); in Fcntl() local
229 return rval; in Fcntl()
[all …]
Dshared_fd.cpp169 int rval = TEMP_FAILURE_RETRY( in Select() local
175 return rval; in Select()
222 int rval = pipe(fds); in Pipe() local
223 if (rval != -1) { in Pipe()
245 int rval = socketpair(domain, type, protocol, fds); in SocketPair() local
246 if (rval != -1) { in SocketPair()
285 SharedFD rval = SharedFD::Socket(PF_UNIX, in_type, 0); in SocketLocalClient() local
286 if (!rval->IsOpen()) { in SocketLocalClient()
287 return rval; in SocketLocalClient()
289 if (rval->Connect(reinterpret_cast<sockaddr*>(&addr), addrlen) == -1) { in SocketLocalClient()
[all …]
/device/amlogic/yukawa/hal/gralloc/
Dgralloc_buffer_priv.h66 int rval = -1; in gralloc_buffer_attr_map() local
93 rval = 0; in gralloc_buffer_attr_map()
96 return rval; in gralloc_buffer_attr_map()
106 int rval = -1; in gralloc_buffer_attr_unmap() local
118 rval = 0; in gralloc_buffer_attr_unmap()
123 return rval; in gralloc_buffer_attr_unmap()
133 int rval = -1; in gralloc_buffer_attr_write() local
148 rval = 0; in gralloc_buffer_attr_write()
153 rval = 0; in gralloc_buffer_attr_write()
158 rval = 0; in gralloc_buffer_attr_write()
[all …]
Dgralloc_buffer_priv.cpp42 int rval = -1; in gralloc_buffer_attr_allocate() local
96 rval = 0; in gralloc_buffer_attr_allocate()
108 return rval; in gralloc_buffer_attr_allocate()
119 int rval = -1; in gralloc_buffer_attr_free() local
141 rval = 0; in gralloc_buffer_attr_free()
144 return rval; in gralloc_buffer_attr_free()
Dmali_gralloc_formats.cpp54 bool rval = false; in get_block_capabilities() local
83 rval = true; in get_block_capabilities()
92 return rval; in get_block_capabilities()
109 bool rval = true; in is_afbc_supported() local
122 rval = false; in is_afbc_supported()
126 return rval; in is_afbc_supported()
131 bool rval = false; in is_android_yuv_format() local
143 rval = true; in is_android_yuv_format()
147 return rval; in is_android_yuv_format()
399 bool rval = true; in determine_producer() local
[all …]
Dmali_gralloc_bufferdescriptor.cpp198 int rval = -1; in mali_gralloc_query_getstride() local
207 rval = 0; in mali_gralloc_query_getstride()
211 return rval; in mali_gralloc_query_getstride()
Dmali_gralloc_public_interface.cpp402 gralloc1_function_pointer_t rval = NULL; in mali_gralloc_getFunction() local
409 rval = mali_gralloc_func_list[pos].func; in mali_gralloc_getFunction()
416 if (rval == NULL) in mali_gralloc_getFunction()
418 rval = mali_gralloc_private_interface_getFunction(descriptor); in mali_gralloc_getFunction()
421 return rval; in mali_gralloc_getFunction()
Dmali_gralloc_bufferallocation.cpp1241 int rval = -1; in mali_gralloc_buffer_free() local
1246 rval = gralloc_buffer_attr_free(hnd); in mali_gralloc_buffer_free()
1250 return rval; in mali_gralloc_buffer_free()
/device/google/cuttlefish/common/libs/time/
Dmonotonic_time.h54 TimeDifference rval = *this; variable
55 rval.ts_.tv_sec = ts_.tv_sec * factor;
62 rval.ts_.tv_sec += (tv_nsec / kNanosecondsPerSecond);
63 rval.ts_.tv_nsec = tv_nsec % kNanosecondsPerSecond;
64 return rval;
108 struct timespec rval = { ts_.tv_sec, subseconds_in_ns()}; in GetTS() local
109 return rval; in GetTS()
153 struct timespec rval; variable
154 rval.tv_sec = ts_.tv_sec - other.ts_.tv_sec;
155 rval.tv_nsec = ts_.tv_nsec - other.ts_.tv_nsec;
[all …]
/device/google/cuttlefish/host/commands/adbshell/
Dmain.cpp71 std::string rval = std::string("/home/") + VsocUser() + "/bin/adb"; in CuttlefishFindAdb() local
72 if (TEMP_FAILURE_RETRY(access(rval.c_str(), X_OK)) == -1) { in CuttlefishFindAdb()
75 return rval; in CuttlefishFindAdb()
/device/google/cuttlefish/guest/hals/gralloc/legacy/
Dregion_registry.cpp73 int rval = ioctl(hnd->fd, ASHMEM_GET_NAME, output); in get_buffer_name() local
74 if (rval == -1) { in get_buffer_name()
212 void* rval = region->base_; in reference_region() local
217 return rval; in reference_region()
/device/google/contexthub/firmware/external/freebsd/lib/msun/src/
Dmath_private.h284 #define STRICT_ASSIGN(type, lval, rval) ((lval) = (rval)) argument
286 #define STRICT_ASSIGN(type, lval, rval) do { \ argument
290 (lval) = (rval); \
292 __lval = (rval); \
/device/google/cuttlefish/common/libs/utils/
Dsubprocess.cpp265 int rval; in Start() local
270 rval = execv(cmd[0], const_cast<char* const*>(cmd.data())); in Start()
273 rval = execve(cmd[0], const_cast<char* const*>(cmd.data()), in Start()
279 exit(rval); in Start()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dflags.cc781 int rval = std::system(lsof_cmd.c_str()); in CleanPriorFiles() local
783 if (WEXITSTATUS(rval) == 0) { in CleanPriorFiles()