/external/zlib/src/examples/ |
gun.c | 114 /* structure for infback() to pass to output function out() -- it maintains the 128 On success out() returns 0. For a write failure, out() returns 1. If the 131 local int out(void *out_desc, unsigned char *buf, unsigned len) function 168 /* throw out what's left in the current bits byte buffer (this is a vestigial 235 strm->msg = (char *)"lzw bits out of range"; 281 if (outcnt && out(&outd, outbuf, outcnt)) { 353 if (out(&outd, outbuf, outcnt)) { 377 The return value is a zlib error code: Z_MEM_ERROR if out of memory, 475 ret = inflateBack(strm, in, indp, out, &outd) [all...] |
gzappend.c | 273 if (gz.buf == NULL) bye("out of memory", ""); 282 if (window == NULL) bye("out of memory", ""); 287 if (ret != Z_OK) bye("out of memory", " or library mismatch"); 312 if (ret == Z_MEM_ERROR) bye("out of memory", ""); 369 if (ret != Z_OK) bye("out of memory", ""); 392 unsigned char *in, *out; local 405 out = malloc(CHUNK); 406 if (in == NULL || out == NULL) bye("out of memory", ""); 425 strm->next_out = out; [all...] |
/external/zlib/src/ |
gzguts.h | 174 unsigned char *out; /* output buffer (double-sized when reading) */ member in struct:__anon37548
|
inflate.c | 48 * - Pull out common wnext == 0 case for speed in inflate_fast() 75 * for the in() and out() functions 308 Write out the inffixed.h that is #include'd above. Defining MAKEFIXED also 323 a.out > inffixed.h 615 unsigned in, out; /* save starting available input and output */ local 636 out = left; [all...] |
/external/zlib/src/test/ |
infcover.c | 243 data is allocated and must eventually be freed. NULL is returned if out of 289 unsigned char *in, *out; local 301 out = malloc(len); assert(out != NULL); 303 head.extra = out; 305 head.name = out; 307 head.comment = out; 319 strm.next_out = out; 327 ret = inflateSetDictionary(&strm, out, 0); 331 ret = inflateSetDictionary(&strm, out, 0) 511 unsigned char *in, *out, *win; local [all...] |
minigzip.c | 242 unsigned char out[BUFLEN]; local 250 strm->next_out = out; 253 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file); 301 unsigned char out[BUFLEN]; local 310 strm->next_out = out; 313 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file); 339 void gz_compress OF((FILE *in, gzFile out)); 341 int gz_compress_mmap OF((FILE *in, gzFile out)); 343 void gz_uncompress OF((gzFile in, FILE *out)); 362 void gz_compress(in, out) 463 gzFile out; local 501 FILE *out; local [all...] |
/external/zopfli/src/zopflipng/ |
zopflipng_lib.cc | 42 unsigned CustomPNGDeflate(unsigned char** out, size_t* outsize, 59 ZopfliDeflate(&options, 2 /* Dynamic */, 1, in, insize, &bp, out, outsize); 66 free(*out); 67 *out = out2; 76 ZopfliDeflate(&options, 2 /* Dynamic */, 1, in, insize, &bp, out, outsize); 182 std::vector<unsigned char>* out) { 239 error = lodepng::encode(*out, image, w, h, state); 243 if (!error && out->size() < 4096) { 246 lodepng::decode(temp, w, h, teststate, *out); 262 if (out2.size() < out->size()) out->swap(out2) 284 std::vector<unsigned char> out; local [all...] |
/frameworks/av/camera/ |
ICameraService.cpp | 137 CameraMetadata out; local 139 out.readFromParcel(&reply); 143 cameraInfo->swap(out); 150 virtual status_t getCameraVendorTagDescriptor(/*out*/sp<VendorTagDescriptor>& desc) { 160 if (VendorTagDescriptor::createFromParcel(&reply, /*out*/d) == OK) { 170 /*out*/ 193 /*out*/sp<ICamera>& device) 215 /*out*/ 240 /*out*/ 352 // out-variables are after exception and return valu [all...] |
/frameworks/av/camera/camera2/ |
ICameraDeviceUser.cpp | 233 /*out*/ 244 CameraMetadata out; local 246 out.readFromParcel(&reply); 250 request->swap(out); 265 CameraMetadata out; local 267 out.readFromParcel(&reply); 271 info->swap(out); 444 // out-variables are after exception and return value 460 // out-variables are after exception and return value
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerDriver.cpp | 605 FILE *out = fdopen(dup(fd), "w"); local 607 fprintf(out, " NuPlayer\n"); 608 fprintf(out, " numFramesTotal(%" PRId64 "), numFramesDropped(%" PRId64 "), " 615 fclose(out); 616 out = NULL;
|
/frameworks/av/media/libstagefright/ |
MetaData.cpp | 307 String8 out; local 311 out = String8::format("no type, size %zu)", mSize); 314 out = String8::format("(char*) %s", (const char *)data); 317 out = String8::format("(int32_t) %d", *(int32_t *)data); 320 out = String8::format("(int64_t) %" PRId64, *(int64_t *)data); 323 out = String8::format("(float) %f", *(float *)data); 326 out = String8::format("(void*) %p", *(void **)data); 331 out = String8::format("Rect(%d, %d, %d, %d)", 337 out = String8::format("(unknown type %d, size %zu)", mType, mSize); 341 out.append("\n") [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/ |
SoftAACEncoder.cpp | 401 uint8_t *out = outHeader->pBuffer + outHeader->nOffset; local 402 memcpy(out, mAudioSpecificConfigData, sizeof(mAudioSpecificConfigData)); 406 hexdump(out, sizeof(mAudioSpecificConfigData)); 420 // We do the following until we run out of buffers.
|
SoftAACEncoder2.cpp | 456 uint8_t *out = outHeader->pBuffer + outHeader->nOffset; local 457 memcpy(out, encInfo.confBuf, encInfo.confSize); 475 // We do the following until we run out of buffers.
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
block_switch.c | 303 Word32 out; local 310 out = accu3 - accu2; 313 states1 = out; 315 tempFiltered = extract_h(out); 342 Word32 out; local 347 out = accu3 - accu2; 350 states[1] = out; 352 return round16(out);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
sad_inline.h | 348 register int32 out; local 357 : "=&r"(out), 362 return out; 367 register int32 out; local 381 : "=&r"(out), 392 register int32 out; local 405 : "=&r"(out), 411 return (out);
|
/frameworks/av/media/libstagefright/rtsp/ |
APacketSource.cpp | 79 uint8_t *out = buffer->data(); local 98 *out++ = accum; 174 uint8_t *out = csd->data(); local 176 *out++ = 0x01; // configurationVersion 178 memcpy(out, profileLevelID->data(), 3); 179 out += 3; 181 *out++ = 0x42; // Baseline profile 182 *out++ = 0xE0; // Common subset for all profiles 183 *out++ = 0x0A; // Level 1 186 *out++ = (0x3f << 2) | 1; // lengthSize == 2 byte [all...] |
/frameworks/base/core/java/android/app/ |
AlertDialog.java | 344 TypedValue out = new TypedValue(); local 345 mContext.getTheme().resolveAttribute(attrId, out, true); 346 mAlert.setIcon(out.resourceId); 493 TypedValue out = new TypedValue(); local 494 P.mContext.getTheme().resolveAttribute(attrId, out, true); 495 P.mIconId = out.resourceId; [all...] |
/frameworks/base/core/java/android/appwidget/ |
AppWidgetProviderInfo.java | 308 public void writeToParcel(android.os.Parcel out, int flags) { 310 out.writeInt(1); 311 this.provider.writeToParcel(out, flags); 313 out.writeInt(0); 315 out.writeInt(this.minWidth); 316 out.writeInt(this.minHeight); 317 out.writeInt(this.minResizeWidth); 318 out.writeInt(this.minResizeHeight); 319 out.writeInt(this.updatePeriodMillis); 320 out.writeInt(this.initialLayout) [all...] |
/frameworks/base/core/java/android/view/ |
ViewDebug.java | 295 * @param out The output writer 298 public void dumpViewHierarchyWithProperties(BufferedWriter out, int level); 498 BufferedWriter out = null; local 500 out = new BufferedWriter(new OutputStreamWriter(clientStream), 32 * 1024); 503 profileViewAndChildren(view, out); 505 out.write("-1 -1 -1"); 506 out.newLine(); 508 out.write("DONE."); 509 out.newLine(); 513 if (out != null) 610 profileViewAndChildren(group.getChildAt(i), out, false); local 758 BufferedOutputStream out = null; local 807 BufferedWriter out = null; local 813 dumpViewHierarchy(group.getContext(), group, out, 0, local 832 BufferedWriter out = null; local [all...] |
/frameworks/base/core/java/com/android/internal/net/ |
VpnConfig.java | 147 public void writeToParcel(Parcel out, int flags) { 148 out.writeString(user); 149 out.writeString(interfaze); 150 out.writeString(session); 151 out.writeInt(mtu); 152 out.writeTypedList(addresses); 153 out.writeTypedList(routes); 154 out.writeStringList(dnsServers); 155 out.writeStringList(searchDomains); 156 out.writeStringList(allowedApplications) [all...] |
/frameworks/base/core/tests/coretests/src/android/app/backup/ |
BackupDataTest.java | 157 int out = 0; local 159 readAndVerifyDeletedEntity(bdi, KEYS[out]); out++; 161 readAndVerifyEntity(bdi, KEYS[out], DATA[out].getBytes()); out++; 163 readAndVerifyEntity(bdi, KEYS[out], DATA[out].getBytes()); out++; 165 readAndVerifyDeletedEntity(bdi, KEYS[out]); out++ [all...] |
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
DefaultContainerService.java | 380 OutputStream out = null; local 383 out = new ParcelFileDescriptor.AutoCloseOutputStream( 385 Streams.copy(in, out); 387 IoUtils.closeQuietly(out);
|
/frameworks/base/services/core/java/com/android/server/ |
CertBlacklister.java | 83 FileOutputStream out = null; local 90 out = new FileOutputStream(tmp); 91 out.write(blacklist.getBytes()); 93 FileUtils.sync(out); 100 IoUtils.closeQuietly(out);
|
/frameworks/base/telecomm/java/android/telecom/ |
PhoneAccount.java | 410 public void writeToParcel(Parcel out, int flags) { 411 out.writeParcelable(mAccountHandle, 0); 412 out.writeParcelable(mAddress, 0); 413 out.writeParcelable(mSubscriptionAddress, 0); 414 out.writeInt(mCapabilities); 415 out.writeInt(mIconResId); 416 out.writeCharSequence(mLabel); 417 out.writeCharSequence(mShortDescription); 418 out.writeList(mSupportedUriSchemes);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
CustomBar.java | 190 TypedValue out = new TypedValue(); local 191 if (ResourceHelper.parseFloatAttribute("textSize", textSize.getValue(), out, 194 out.getDimension(bridgeContext.getResources().getDisplayMetrics()));
|