/system/libvintf/ |
H A D | utils.h | 64 virtual status_t listFiles(const std::string& path, std::vector<std::string>* out, argument 77 out->push_back(dp->d_name);
|
/system/media/audio_utils/include/audio_utils/ |
H A D | primitives.h | 41 * Dither and clamp pairs of 32-bit input samples (sums) to 16-bit output samples (out). 49 * and out is an array of interleaved pairs of 16-bit samples per channel. 50 * For mono, pairs is the number of samples / 2, and out is an array of 16-bit samples. 53 * The out and sums buffers must either be completely separate (non-overlapping), or 56 void ditherAndClamp(int32_t *out, const int32_t *sums, size_t pairs); 1108 int32_t out; local 1109 asm( "smlabb %[out], %[in], %[v], %[a] \n" 1110 : [out]"=r"(out) 1113 return out; 1126 int32_t out; local 1144 int32_t out; local 1173 int32_t out; local [all...] |
/system/media/audio_utils/ |
H A D | resampler.c | 75 int16_t *out, 80 if (rsmp == NULL || out == NULL || outFrameCount == NULL) { 128 out + framesWr, 134 out + framesWr * rsmp->channel_count, 140 "ReSampler::resample() remaining %zu frames in and %zu frames out", 156 int16_t *out, 162 out == NULL || outFrameCount == NULL) { 175 out, 181 out, 185 ALOGV("resampler_resample_from_input() DONE in %zu out 74 resampler_resample_from_provider(struct resampler_itfe *resampler, int16_t *out, size_t *outFrameCount) argument 153 resampler_resample_from_input(struct resampler_itfe *resampler, int16_t *in, size_t *inFrameCount, int16_t *out, size_t *outFrameCount) argument [all...] |
/system/netd/libnetdutils/include/netdutils/ |
H A D | Syscalls.h | 150 std::array<uint16_t, size> out; local 152 out[i] = tmp[i].revents; 154 return out;
|
/system/netd/server/ |
H A D | WakeupController.cpp | 217 std::string out; local 218 auto rv = mIptables->execute(V4V6, cmd, &out); 220 auto s = Status(rv, "Failed to execute iptables cmd: " + cmd + ", out: " + out);
|
/system/security/keystore/ |
H A D | keystore_aidl_hidl_marshalling_utils.cpp | 44 android::status_t writeKeymasterBlob(const hidl_vec<uint8_t>& blob, android::Parcel* out) { argument 47 auto rc = out->writeInt32(size); 52 return out->write(blob.data(), size); 55 android::status_t writeKeymasterBlob(const ::std::vector<int32_t>& blob, android::Parcel* out) { argument 59 auto rc = out->writeInt32(size); 64 return out->write(blob.data(), size); 102 android::status_t writeKeyParameterToParcel(const KeyParameter& param, android::Parcel* out) { argument 107 auto rc = out->writeInt32(uint32_t(tag)); 114 rc = out->writeInt32(param.f.integer); 119 rc = out 156 writeParamSetToParcel(const hidl_vec<KeyParameter>& params, android::Parcel* out) argument 188 writeCertificateChainToParcel(const hidl_vec<hidl_vec<uint8_t>>& certs, android::Parcel* out) argument [all...] |
H A D | user_state.cpp | 116 int out = local 118 if (out < 0) { 121 size_t outLength = writeFully(out, (uint8_t*)&rawBlob, length); 122 if (close(out) != 0) {
|
/system/tools/hidl/ |
H A D | HandleType.cpp | 59 Formatter &out, 69 out << "const native_handle_t *" 72 out << "_hidl_err = " 78 handleError(out, mode); 80 out << name << " = " << name << "_ptr;\n"; 82 out << "_hidl_err = "; 83 out << parcelObjDeref 88 handleError(out, mode); 97 Formatter &out, 111 out << "cons 58 emitReaderWriter( Formatter &out, const std::string &name, const std::string &parcelObj, bool parcelObjIsPointer, bool isReader, ErrorMode mode) const argument 96 emitReaderWriterEmbedded( Formatter &out, size_t , const std::string &name, const std::string &sanitizedName, bool nameIsPointer, const std::string &parcelObj, bool parcelObjIsPointer, bool isReader, ErrorMode mode, const std::string &parentName, const std::string &offsetText) const argument [all...] |
H A D | RefType.cpp | 95 Formatter &out, 104 out, 118 Formatter &out, 148 out << "size_t " << handleName << ";\n" 151 out << "_hidl_err = "; 154 out << "::android::hardware::read" 164 out << "::android::hardware::write" 173 out.indent(); 174 out.indent(); 176 out << (isReade 94 emitResolveReferences( Formatter &out, const std::string &name, bool nameIsPointer, const std::string &parcelObj, bool parcelObjIsPointer, bool isReader, ErrorMode mode) const argument 117 emitResolveReferencesEmbedded( Formatter &out, size_t , const std::string &name, const std::string &sanitizedName, bool , const std::string &parcelObj, bool parcelObjIsPointer, bool isReader, ErrorMode mode, const std::string &parentName, const std::string &offsetText) const argument [all...] |
H A D | ScalarType.cpp | 145 Formatter &out, 152 out, 162 Formatter &out, 186 out << "_hidl_err = " 193 out << "(" 199 out << "&"; 202 out << name 205 handleError(out, mode); 209 Formatter &out, 212 out << streamNam 144 emitReaderWriter( Formatter &out, const std::string &name, const std::string &parcelObj, bool parcelObjIsPointer, bool isReader, ErrorMode mode) const argument 161 emitReaderWriterWithCast( Formatter &out, const std::string &name, const std::string &parcelObj, bool parcelObjIsPointer, bool isReader, ErrorMode mode, bool needsCast) const argument 208 emitHexDump( Formatter &out, const std::string &streamName, const std::string &name) const argument 215 emitConvertToJavaHexString( Formatter &out, const std::string &name) const argument 249 emitJavaFieldReaderWriter( Formatter &out, size_t , const std::string & , const std::string &blobName, const std::string &fieldName, const std::string &offset, bool isReader) const argument [all...] |
H A D | StringType.cpp | 70 Formatter &out, 77 out << "size_t " << parentName << ";\n\n"; 83 out << "_hidl_err = " 95 handleError(out, mode); 97 out << "_hidl_err = " 107 handleError(out, mode); 111 out, 125 Formatter &out, 137 out, 152 Formatter &out, cons 69 emitReaderWriter( Formatter &out, const std::string &name, const std::string &parcelObj, bool parcelObjIsPointer, bool isReader, ErrorMode mode) const argument 124 emitReaderWriterEmbedded( Formatter &out, size_t , const std::string &name, const std::string & , bool nameIsPointer, const std::string &parcelObj, bool parcelObjIsPointer, bool isReader, ErrorMode mode, const std::string &parentName, const std::string &offsetText) const argument 151 emitJavaFieldInitializer( Formatter &out, const std::string &fieldName) const argument 158 emitJavaFieldReaderWriter( Formatter &out, size_t , const std::string &parcelName, const std::string &blobName, const std::string &fieldName, const std::string &offset, bool isReader) const argument [all...] |
/system/tools/hidl/utils/ |
H A D | Formatter.cpp | 118 Formatter &Formatter::operator<<(const std::string &out) { argument 119 const size_t len = out.length(); 122 size_t pos = out.find('\n', start); 131 output(out.substr(start)); 144 output(out.substr(start, pos - start + 1));
|
H A D | StringHelper.cpp | 35 std::string out{in}; 37 for (auto &ch : out) { 41 return out; 45 std::string out{in}; 47 for (auto &ch : out) { 51 return out; 55 std::string out{in}; 57 if(!out.empty()) { 58 out[0] = toupper(out[ 231 std::string out; local [all...] |
/system/update_engine/ |
H A D | omaha_response_handler_action_unittest.cc | 64 // If out is non-null, it's set w/ the response from the action. 67 InstallPlan* out); 114 InstallPlan* out) { 154 if (out) 155 *out = collector_action.object(); 112 DoTest(const OmahaResponse& in, const string& test_deadline_file, InstallPlan* out) argument
|
/system/update_engine/payload_generator/ |
H A D | extent_utils.cc | 71 // Stores all Extents in 'extents' into 'out'. 73 google::protobuf::RepeatedPtrField<Extent>* out) { 75 Extent* new_extent = out->Add(); 72 StoreExtents(const vector<Extent>& extents, google::protobuf::RepeatedPtrField<Extent>* out) argument
|
/system/bt/embdrv/sbc/decoder/srce/ |
H A D | synthesis-dct8.c | 83 PRIVATE void float_dct2_8(float* RESTRICT out, int32_t const* RESTRICT in) { argument 146 out[0] = (float)FLOAT_SCALE(L00, DCTII_8_SHIFT_0); 147 OI_ASSERT(VALID_INT16(out[0])); 148 out[4] = (float)FLOAT_SCALE(L01, DCTII_8_SHIFT_4); 149 OI_ASSERT(VALID_INT16(out[4])); 152 out[6] = (float)FLOAT_SCALE(L02, DCTII_8_SHIFT_6); 153 OI_ASSERT(VALID_INT16(out[6])); 154 out[2] = (float)FLOAT_SCALE(L03, DCTII_8_SHIFT_2); 155 OI_ASSERT(VALID_INT16(out[2])); 190 out[ 250 dct2_8(SBC_BUFFER_T* RESTRICT out, int32_t const* RESTRICT in) argument [all...] |
H A D | synthesis-sbc.c | 48 R turns out to be a sparse 16x8 matrix with the following non-zero 76 V. Furthermore, since R[4][0..7] are all zeros, one out of every 16 252 PRIVATE void dct2_8(SBC_BUFFER_T* RESTRICT out, int32_t const* RESTRICT x); 437 /* These values should be zero, since out[2] of the 4-band cosine modulation 526 PRIVATE void cosineModulateSynth4(SBC_BUFFER_T* RESTRICT out, argument 547 out[0] = (int16_t)-y2; 548 out[1] = (int16_t)-y3; 549 out[2] = (int16_t)0; 550 out[3] = (int16_t)y3; 551 out[ [all...] |
/system/connectivity/wifilogd/ |
H A D | command_processor.cpp | 103 auto out = MakeSanitizedString(buffer_reader->GetBytesOrDie(effective_len), local 106 out += kBufferOverrunError; 109 return out; 113 std::string out(buf_len, '\0'); 114 std::replace_copy_if(buf, buf + buf_len, &out.front(), 117 return out;
|
/system/core/cpio/ |
H A D | mkbootfs.c | 91 static void _eject(struct stat *s, char *out, int olen, char *data, unsigned datasize) argument 103 fix_stat(out, s); 104 // fprintf(stderr, "_eject %s: mode=0%o\n", out, s->st_mode); 122 out, 128 if(strlen(out) != (unsigned int)olen) die("ACK!"); 153 static void _archive(char *in, char *out, int ilen, int olen); 159 static void _archive_dir(char *in, char *out, int ilen, int olen) argument 167 in, out, ilen, olen); 214 out[olen] = '/'; 215 memcpy(out 232 _archive(char *in, char *out, int ilen, int olen) argument 278 char out[8192]; local [all...] |
/system/core/libcutils/ |
H A D | str_parms.cpp | 315 float out; local 323 out = strtof(value, &end); 327 *val = out;
|
/system/core/libsparse/ |
H A D | sparse.c | 104 static int sparse_file_write_block(struct output_file *out, argument 111 ret = write_data_chunk(out, backed_block_len(bb), backed_block_data(bb)); 114 ret = write_file_chunk(out, backed_block_len(bb), 119 ret = write_fd_chunk(out, backed_block_len(bb), 124 ret = write_fill_chunk(out, backed_block_len(bb), 132 static int write_all_blocks(struct sparse_file *s, struct output_file *out) argument 143 write_skip_chunk(out, (int64_t)blocks * s->block_size); 145 ret = sparse_file_write_block(out, bb); 155 write_skip_chunk(out, pad); 166 struct output_file *out; local 186 struct output_file *out; local 225 struct output_file *out; local 265 struct output_file *out; local [all...] |
/system/core/toolbox/upstream-netbsd/bin/dd/ |
H A D | dd.c | 78 IO in, out; /* input/output state */ variable 179 if (out.name == NULL) { 181 out.fd = STDOUT_FILENO; 182 out.name = "stdout"; 183 out.ops = &ddfops_stdfd; 185 out.ops = prog_ops; 188 out.fd = ddop_open(out, out.name, O_RDWR | OFLAGS, DEFFILEMODE); 194 if (out [all...] |
/system/core/trusty/keymaster/ |
H A D | trusty_keymaster_device_test.cpp | 77 uint8_t* out = static_cast<uint8_t*>(out_buf); local 78 rsp.Serialize(out, out + *out_size);
|
/system/extras/perfprofd/binder_interface/ |
H A D | perfprofd_binder.cc | 91 status_t shellCommand(int /*in*/, int out, int err, Vector<String16>& args); 110 auto out = std::fstream(base::StringPrintf("/proc/self/fd/%d", fd)); local 111 out << "Nothing to log, yet!" << std::endl; 263 int out, 278 dump(out, args); 340 int out = _aidl_data.readFileDescriptor(); local 354 status = shellCommand(in, out, err, args); 262 shellCommand(int in, int out, int err_fd, Vector<String16>& args) argument
|
/system/extras/perfprofd/ |
H A D | perfprofd_io.cc | 266 ZeroCopyOutputStream* out; local 276 out = gzip.get(); 278 out = &cosa; 281 bool serialized = encodedProfile->SerializeToZeroCopyStream(out);
|