/external/zopfli/src/zopfli/ |
zopfli_bin.c | 40 unsigned char** out, size_t* outsize) { 43 *out = 0; 52 *out = (unsigned char*)malloc(*outsize); 54 if (*outsize && (*out)) { 55 size_t testsize = fread(*out, 1, *outsize, file); 58 free(*out); 59 *out = 0; 64 assert(!(*outsize) || out); /* If size is not zero, out must be allocated. */ 88 unsigned char* out = 0 local [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_imdct_synth.cpp | 243 int32 * out = in + (band * FILTERBANK_BANDS); local 250 pvmp3_mdct_18(out, history, normal_win); 256 pvmp3_mdct_18(out, history, start_win); 262 pvmp3_mdct_18(out, history, stop_win); 273 Scratch_mem[i ] = out[(i*3)]; 274 Scratch_mem[6 +i] = out[(i*3) + 1]; 275 Scratch_mem[12 +i] = out[(i*3) + 2]; 288 out[i] = temp; 293 out[i+6] = fxp_mul32_Q32(Scratch_mem[i] << 1, short_win[i]); 294 out[i+6] += history[i+6] 334 int32 * out = in + (band * FILTERBANK_BANDS); local [all...] |
/frameworks/base/core/java/android/content/pm/ |
ProviderInfo.java | 133 @Override public void writeToParcel(Parcel out, int parcelableFlags) { 134 super.writeToParcel(out, parcelableFlags); 135 out.writeString(authority); 136 out.writeString(readPermission); 137 out.writeString(writePermission); 138 out.writeInt(grantUriPermissions ? 1 : 0); 139 out.writeTypedArray(uriPermissionPatterns, parcelableFlags); 140 out.writeTypedArray(pathPermissions, parcelableFlags); 141 out.writeInt(multiprocess ? 1 : 0); 142 out.writeInt(initOrder) [all...] |
/frameworks/base/core/java/android/ddm/ |
DdmHandleThread.java | 160 ByteBuffer out = ByteBuffer.allocate(bufferSize); local 161 out.putInt(0); 162 out.putInt(threadId); 163 out.putInt(trace.length); 165 out.putInt(elem.getClassName().length()); 166 putString(out, elem.getClassName()); 167 out.putInt(elem.getMethodName().length()); 168 putString(out, elem.getMethodName()); 170 out.putInt(elem.getFileName().length()); 171 putString(out, elem.getFileName()) [all...] |
/frameworks/base/core/java/android/text/method/ |
DigitsKeyListener.java | 140 CharSequence out = super.filter(source, start, end, dest, dstart, dend); local 143 return out; 146 if (out != null) { 147 source = out; 149 end = out.length(); 157 * Find out if the existing text has a sign or decimal point characters. 180 * If it does, we must strip them out from the source. 223 } else if (out != null) { 224 return out;
|
/frameworks/base/core/java/com/android/internal/app/ |
HeavyWeightSwitcherActivity.java | 87 TypedValue out = new TypedValue(); local 88 getTheme().resolveAttribute(android.R.attr.alertDialogIcon, out, true); 90 out.resourceId);
|
/frameworks/base/core/java/com/android/internal/net/ |
LegacyVpnInfo.java | 51 public void writeToParcel(Parcel out, int flags) { 52 out.writeString(key); 53 out.writeInt(state); 54 out.writeParcelable(intent, flags);
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
StatusBarIcon.java | 93 public void writeToParcel(Parcel out, int flags) { 94 out.writeParcelable(this.icon, 0); 95 out.writeString(this.pkg); 96 out.writeParcelable(this.user, 0); 97 out.writeInt(this.iconLevel); 98 out.writeInt(this.visible ? 1 : 0); 99 out.writeInt(this.number); 100 out.writeCharSequence(this.contentDescription);
|
/frameworks/base/core/java/com/android/server/backup/ |
UsageStatsBackupHelper.java | 39 DataOutputStream out = new DataOutputStream(baos); local 41 out.writeInt(UserHandle.USER_SYSTEM); 42 out.write(localUsageStatsManager.getBackupPayload(UserHandle.USER_SYSTEM, key));
|
/frameworks/base/core/tests/coretests/src/android/net/ |
LocalSocketTest.java | 64 FileDescriptor[] out = ls1.getAncillaryFileDescriptors(); local 66 assertEquals(1, out.length); 85 // Try various array-out-of-bound cases
|
SSLTest.java | 34 OutputStream out = ssl.getOutputStream(); local 35 assertNotNull(out); 42 // System.out.println("going for write..."); 43 out.write(get.getBytes()); 46 // System.out.println("going for read..."); 49 // System.out.println(new String(b));
|
/frameworks/base/libs/androidfw/tests/ |
ResTable_test.cpp | 233 Res_value out = {}; local 234 ASSERT_EQ(expectSuccess, U16StringToInt(str, len, &out)) 238 ASSERT_EQ(out.TYPE_NULL, out.dataType) << "Failed with " << s; 243 ASSERT_EQ(out.TYPE_INT_HEX, out.dataType) << "Failed with " << s; 245 ASSERT_EQ(out.TYPE_INT_DEC, out.dataType) << "Failed with " << s; 248 ASSERT_EQ(expectedValue, out.data) << "Failed with " << s;
|
/frameworks/base/media/mca/filterfw/native/core/ |
geometry.cpp | 46 Point out; local 47 out.x_ = x_ + other.x_; 48 out.y_ = y_ + other.y_; 49 return out; 53 Point out; local 54 out.x_ = x_ - other.x_; 55 out.y_ = y_ - other.y_; 56 return out; 60 Point out; local 61 out.x_ = factor * x_ [all...] |
/frameworks/base/media/mca/filterpacks/native/base/ |
geometry.cpp | 45 Point out; local 46 out.x_ = x_ + other.x_; 47 out.y_ = y_ + other.y_; 48 return out; 52 Point out; local 53 out.x_ = x_ - other.x_; 54 out.y_ = y_ - other.y_; 55 return out; 59 Point out; local 60 out.x_ = factor * x_ [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
DurableUtils.java | 33 final ByteArrayOutputStream out = new ByteArrayOutputStream(); local 34 d.write(new DataOutputStream(out)); 35 return out.toByteArray(); 85 public static void writeNullableString(DataOutputStream out, String value) throws IOException { 87 out.write(1); 88 out.writeUTF(value); 90 out.write(0);
|
/frameworks/base/services/core/java/com/android/server/ |
RandomBlock.java | 67 RandomAccessFile out = null; local 69 out = new RandomAccessFile(filename, sync ? "rws" : "rw"); 70 toDataOut(out); 71 truncateIfPossible(out); 73 close(out); 87 private void toDataOut(DataOutput out) throws IOException { 88 out.write(block);
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
AccountAuthenticatorCache.java | 84 public void writeAsXml(AuthenticatorDescription item, XmlSerializer out) 86 out.attribute(null, "type", item.type);
|
/frameworks/base/telephony/java/com/android/ims/ |
ImsExternalCallState.java | 84 public void writeToParcel(Parcel out, int flags) { 85 out.writeInt(mCallId); 86 out.writeParcelable(mAddress, 0); 87 out.writeInt(mIsPullable ? 1 : 0); 88 out.writeInt(mCallState); 89 out.writeInt(mCallType); 90 out.writeInt(mIsHeld ? 1 : 0); 91 Rlog.d(TAG, "ImsExternalCallState writeToParcel = " + out.toString());
|
/frameworks/multidex/library/src/android/support/multidex/ |
MultiDexExtractor.java | 336 ZipOutputStream out = null; local 341 out = new ZipOutputStream(new BufferedOutputStream(new FileOutputStream(tmp))); 346 out.putNextEntry(classesDex); 351 out.write(buffer, 0, length); 354 out.closeEntry(); 356 out.close();
|
/frameworks/native/services/surfaceflinger/ |
GpuService.cpp | 41 int out = data.readFileDescriptor(); local 48 return shellCommand(in, out, err, args); 59 status_t cmd_help(int out); 60 status_t cmd_vkjson(int out, int err); 67 status_t GpuService::shellCommand(int /*in*/, int out, int err, 75 return cmd_vkjson(out, err); 77 return cmd_help(out); 86 status_t cmd_help(int out) { 87 FILE* outs = fdopen(out, "w"); 89 ALOGE("vkjson: failed to create out stream: %s (%d)", strerror(errno) [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicLUT.cpp | 61 uchar *out = (uchar *)info->outPtr[0]; local 72 out[0] = tr[in[0]]; 73 out[1] = tg[in[1]]; 74 out[2] = tb[in[2]]; 75 out[3] = ta[in[3]]; 77 out += 4;
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
NRF24L01_receiverSample.java | 21 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 76 System.out.print("Received: "); 78 System.out.print(rx_buffer[i]); 79 System.out.println(); 81 System.out.println("No NRF24L01 instance given to callback");
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
idct8x8_test.cc | 85 double out[64], out2[64]; local 93 out[j + i*8] = temp_out[j]; 99 temp_in[j] = out[j*8 + i];
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libmkv/ |
EbmlWriter.c | 125 signed long out = ((val & 0x003FFFFF) | 0x00200000) << 8; local 126 Ebml_Serialize(glob, &out, sizeof(out), 3);
|
/hardware/libhardware_legacy/audio/ |
AudioHardwareStub.cpp | 48 AudioStreamOutStub* out = new AudioStreamOutStub(); local 49 status_t lStatus = out->set(format, channels, sampleRate); 54 return out; 55 delete out; 59 void AudioHardwareStub::closeOutputStream(AudioStreamOut* out) 61 delete out;
|