Searched refs:retval (Results 1 - 20 of 20) sorted by relevance

/system/keymaster/
H A Dandroid_keymaster_utils.cpp30 uint8_t* retval = new (std::nothrow) uint8_t[size];
31 if (retval)
32 memcpy(retval, buf, size);
33 return retval;
H A Dandroid_keymaster_messages.cpp166 bool retval = copy_uint64_from_buf(buf_ptr, end, &op_handle); local
167 if (retval && message_version > 0)
168 retval = output_params.Deserialize(buf_ptr, end);
169 return retval;
188 bool retval = copy_uint64_from_buf(buf_ptr, end, &op_handle) && input.Deserialize(buf_ptr, end); local
189 if (retval && message_version > 0)
190 retval = additional_params.Deserialize(buf_ptr, end);
191 return retval;
218 bool retval = output.Deserialize(buf_ptr, end); local
219 if (retval
242 bool retval = local
264 bool retval = output.Deserialize(buf_ptr, end); local
[all...]
H A Dandroid_keymaster_test_utils.h368 int retval = local
371 return retval;
/system/media/camera/docs/
H A Dmetadata-parser-sanity-check37 local retval=$?
38 if [[ $retval -ne 0 ]]
45 return $retval
H A Dmetadata-generate171 local retval=$?
173 if [[ $retval -ne 0 ]]; then
179 return $retval
/system/core/toolbox/upstream-netbsd/lib/libutil/
H A Draise_default_signal.c68 int retval, oerrno; local
70 retval = -1;
99 retval = 0;
114 return retval;
/system/core/logd/
H A DLogBufferElement.cpp62 char *retval = NULL; local
76 retval = strdup(buffer);
83 if (!retval) {
84 retval = name;
90 // impossible for retval to be NULL if name not NULL
91 size_t retval_len = strlen(retval);
94 if ((retval_len < name_len) && !strcmp(retval, name + name_len - retval_len)) {
95 free(retval);
96 retval = name;
101 return retval;
171 size_t retval = hdrLen + len; local
223 uint64_t retval = reader->sendDatav(iovec, 2) ? FLUSH_ERROR : mSequence; local
[all...]
H A DLogStatistics.h48 const TEntry **retval = new const TEntry* [n]; local
49 memset(retval, 0, sizeof(*retval) * n);
55 while ((!retval[i] || (s > retval[i]->getSizes())) && (--i >= 0))
60 memmove(&retval[i+1], &retval[i], b * sizeof(retval[0]));
62 retval[i] = &entry;
65 std::unique_ptr<const TEntry *[]> sorted(retval);
[all...]
H A DLogKlog.cpp203 ssize_t retval = 0; local
205 retval = read(cli->getSocket(), buffer + len, sizeof(buffer) - 1 - len);
207 if ((retval == 0) && (len == 0)) {
210 if (retval < 0) {
213 len += retval;
221 if (((tok + strlen(tok)) == ep) && (retval != 0) && full) {
H A DLogBuffer.cpp664 size_t retval = stats.sizes(id); local
666 return retval;
684 size_t retval = log_buffer_size(id); local
686 return retval;
H A DLogStatistics.cpp42 char *retval = NULL; local
44 retval = strdup("logd");
55 retval = strdup(buffer);
61 return retval;
/system/keymaster/include/keymaster/
H A Dandroid_keymaster_utils.h187 T retval = 0; local
189 retval <<= 8;
190 retval |= byte_ptr[i];
192 return retval;
201 T retval; local
202 uint8_t* byte_ptr = reinterpret_cast<uint8_t*>(&retval);
207 return retval;
/system/core/adb/
H A Dset_verity_enable_state_service.cpp87 int retval = -1; local
148 retval = 0;
152 return retval;
/system/core/fs_mgr/
H A Dfs_mgr_verity.c117 int retval = -1; local
139 retval = 0;
143 return retval;
243 int retval = FS_MGR_SETUP_VERITY_FAIL; local
271 retval = FS_MGR_SETUP_VERITY_DISABLED;
305 retval = FS_MGR_SETUP_VERITY_SUCCESS;
329 retval = FS_MGR_SETUP_VERITY_SUCCESS;
335 if (retval != FS_MGR_SETUP_VERITY_SUCCESS) {
345 return retval;
982 int retval local
[all...]
/system/core/logcat/
H A Dlogcat.cpp384 log_time retval(log_time::EPOCH);
386 return retval;
441 if ((t < now) && (t > retval)) {
442 retval = t;
451 if (retval == log_time::EPOCH) {
452 return retval;
456 retval += modulo;
457 return retval;
/system/bt/audio_a2dp_hw/
H A Daudio_a2dp_hw.c703 int retval; local
713 retval = str_parms_get_str(parms, "closing", keyval, sizeof(keyval));
715 if (retval >= 0)
726 retval = str_parms_get_str(parms, "A2dpSuspended", keyval, sizeof(keyval));
728 if (retval >= 0)
1152 int retval = 0; local
1155 return retval;
1159 retval = out->stream.common.set_parameters((struct audio_stream *)out, kvpairs);
1161 return retval;
/system/extras/micro_bench/
H A Dmicro_bench.cpp471 int retval; local
475 retval = strcmp_func(reinterpret_cast<char*>(buf1), reinterpret_cast<char*>(buf2)); \
476 if (retval != 0) printf("%s failed, return value %d\n", name, retval));
484 int retval; local
492 retval = strcmp_func(reinterpret_cast<char*>(buf1), reinterpret_cast<char*>(buf2)); \
493 if (retval != 0) printf("%s failed, return value %d\n", name, retval));
/system/bt/stack/btm/
H A Dbtm_devctl.c717 tBTM_STATUS retval = BTM_SUCCESS; local
753 retval = BTM_NO_RESOURCES;
757 return (retval);
/system/bt/bta/ag/
H A Dbta_ag_cmd.c639 UINT8 retval = 0; local
654 retval = (UINT8)idx;
658 retval = BTA_AG_INVALID_CHLD;
662 return (retval);
677 tBTA_AG_PEER_CODEC retval = BTA_AG_CODEC_NONE; local
699 case UUID_CODEC_CVSD: retval |= BTA_AG_CODEC_CVSD; break;
700 case UUID_CODEC_MSBC: retval |= BTA_AG_CODEC_MSBC; break;
712 return (retval);
/system/vold/
H A Dcryptfs.c1157 int retval = -1; local
1212 retval = 0;
1217 return retval;
1225 int retval = -1; local
1241 retval = 0;
1246 return retval;

Completed in 1402 milliseconds