/external/okhttp/okio/okio/src/test/java/okio/ |
OkioTest.java | 44 BufferedSource source = Okio.buffer(Okio.source(file)); local 45 assertEquals("Hello, java.io file!", source.readUtf8()); 46 source.close(); 63 BufferedSource source = Okio.buffer(Okio.source(file)); local 64 assertEquals("Hello, java.io file!", source.readUtf8()); 65 source.close(); 78 // BufferedSource source = Okio.buffer(Okio.source(path)) 103 Source source = Okio.source(in); local 123 Source source = Okio.source(new ByteArrayInputStream(new byte[100])); local [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
Sources.java | 2 * Copyright (C) 2009 The Android Open Source Project 87 // Create fallback contacts source for on-phone contacts 113 for (ContactsSource source : sources) { 114 addSource(source); 118 protected void addSource(ContactsSource source) { 119 mSources.put(source.accountType, source); 120 mKnownPackages.add(source.resPackageName); 146 // Invalidate cache of existing source 149 // Unknown source, so reload from scratc 207 ContactsSource source; local 256 final ContactsSource source = getInflatedSource(account.type, local 279 final ContactsSource source = mSources.get(accountType); local 303 ContactsSource source = mSources.get(accountType); local [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
ssim.c | 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 8 * be found in the AUTHORS file in the root of the source tree. 176 YV12_BUFFER_CONFIG *source, 185 a = vp8_ssim2(source->y_buffer, dest->y_buffer, 186 source->y_stride, dest->y_stride, source->y_width, 187 source->y_height); 189 b = vp8_ssim2(source->u_buffer, dest->u_buffer, 190 source->uv_stride, dest->uv_stride, source->uv_width [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_ssim.c | 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 8 * be found in the AUTHORS file in the root of the source tree. 97 double vp9_calc_ssim(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest, 102 a = vp9_ssim2(source->y_buffer, dest->y_buffer, 103 source->y_stride, dest->y_stride, 104 source->y_crop_width, source->y_crop_height); 106 b = vp9_ssim2(source->u_buffer, dest->u_buffer, 107 source->uv_stride, dest->uv_stride [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
ssim.c | 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 8 * be found in the AUTHORS file in the root of the source tree. 176 YV12_BUFFER_CONFIG *source, 185 a = vp8_ssim2(source->y_buffer, dest->y_buffer, 186 source->y_stride, dest->y_stride, source->y_width, 187 source->y_height); 189 b = vp8_ssim2(source->u_buffer, dest->u_buffer, 190 source->uv_stride, dest->uv_stride, source->uv_width [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_ssim.c | 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 8 * be found in the AUTHORS file in the root of the source tree. 96 double vp9_calc_ssim(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest, 101 a = vp9_ssim2(source->y_buffer, dest->y_buffer, 102 source->y_stride, dest->y_stride, 103 source->y_crop_width, source->y_crop_height); 105 b = vp9_ssim2(source->u_buffer, dest->u_buffer, 106 source->uv_stride, dest->uv_stride [all...] |
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rcssmin/ |
rcssmin.c | 183 const rchar *source = *source_; local 188 && source < ctx->sentinel && target < ctx->tsentinel 189 && ((c = *source++) == *pattern++)) 192 *source_ = source; 201 #define MATCH(PAT, source, target, ctx) ( \ 204 source, target, ctx) \ 215 const rchar *source = *source_, *pstart = pattern; local 220 && source < ctx->sentinel && target < ctx->tsentinel 221 && ((c = *source++) == *pattern 227 *source_ = source; 294 const rchar *source = *source_, *hsentinel; local 347 const rchar *source = *source_; local 400 const rchar *source = *source_; local 459 const rchar *source = *source_; local 516 const rchar *source = *source_; local 569 const rchar *source = *source_; local 662 const rchar *source = *source_, *end, *comment; local 750 const rchar *source = *source_; local 777 const rchar *source = *source_; local 802 const rchar *source = *source_, *next, *source_fork; local 842 const rchar *source = *source_; local 869 const rchar *source = *source_, *begin, *end; local [all...] |
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/ |
frameparser.cpp | 4 Redistribution and use in source and binary forms, with or without 6 * Redistributions of source code must retain the above copyright 144 int frame_parse::parse_sc_frame ( OMX_BUFFERHEADERTYPE *source, 153 if (source == NULL || dest == NULL || partialframe == NULL) { 157 /*Calculate how many bytes are left in source and destination*/ 159 psource = source->pBuffer + source->nOffset; 161 source_len = source->nFilledLen; 168 if (source_len == 0 && (source->nFlags & 0x01)) { 181 dest->nFlags = source->nFlags [all...] |
/frameworks/base/core/java/android/app/ |
ActivityManager.java | 2 * Copyright (C) 2007 The Android Open Source Project 636 private TaskDescription(Parcel source) { 637 readFromParcel(source); 776 public void readFromParcel(Parcel source) { 777 mLabel = source.readInt() > 0 ? source.readString() : null; 778 mIcon = source.readInt() > 0 ? Bitmap.CREATOR.createFromParcel(source) : null; 779 mColorPrimary = source.readInt(); 780 mIconFilename = source.readInt() > 0 ? source.readString() : null [all...] |
/bionic/libc/kernel/uapi/linux/ |
ivtvfb.h | 11 *** source file (e.g. under external/kernel-headers/original/) then 25 void __user * source; member in struct:ivtvfb_dma_frame
|
/cts/tests/tests/text/src/android/text/cts/ |
InputFilter_LengthFilterTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 28 CharSequence source; local 35 // cut off the source CharSequence from beginning to fit the filter length. 36 source = "abc"; 40 dest.insert(1, source); 44 dest.replace(5, 8, source);
|
/development/ndk/platforms/android-21/include/linux/ |
ivtvfb.h | 11 *** source file (e.g. under external/kernel-headers/original/) then 25 void __user *source; member in struct:ivtvfb_dma_frame
|
udp.h | 11 *** source file (e.g. under external/kernel-headers/original/) then 24 __be16 source; member in struct:udphdr
|
/development/ndk/platforms/android-3/include/linux/ |
udp.h | 18 __u16 source; member in struct:udphdr
|
/external/antlr/antlr-3.4/antlr3-maven-archetype/src/main/resources/archetype-resources/src/main/java/ |
Main.java | 66 public static void parse(File source) throws Exception 76 if (source.isDirectory()) 78 System.out.println("Directory: " + source.getAbsolutePath()); 79 String files[] = source.list(); 83 parse(new File(source, files[i])); 93 String sourceFile = source.getName(); 103 parseSource(source.getAbsolutePath()); 116 public static void parseSource(String source) throws Exception 123 // and tell the lexer that that is the character source. 127 lexer.setCharStream(new ANTLRFileStream(source, "UTF8")) [all...] |
/external/freetype/include/ |
ftbzip2.h | 65 * source :: 66 * The source stream. 72 * The source stream must be opened _before_ calling this function. 75 * *not* call `FT_Stream_Close' on the source stream. None of the stream 92 FT_Stream source );
|
ftlzw.h | 63 * source :: The source stream. 69 * The source stream must be opened _before_ calling this function. 72 * *not* call `FT_Stream_Close' on the source stream. None of the stream 89 FT_Stream source );
|
/external/guava/guava/src/com/google/common/eventbus/ |
SubscriberFindingStrategy.java | 30 * Finds all suitable event subscriber methods in {@code source}, organizes them 33 * @param source object whose subscribers are desired. 37 * @throws IllegalArgumentException if {@code source} is not appropriate for 40 Multimap<Class<?>, EventSubscriber> findAllSubscribers(Object source);
|
/external/icu/icu4c/source/tools/toolutil/ |
pkg_gencmn.h | 13 createCommonDataFile(const char *destDir, const char *name, const char *entrypointName, const char *type, const char *source, const char *copyRight,
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
CollationKey.java | 33 * entire source string is examined and processed into a series of 144 * @param source string this CollationKey is to represent 146 * source terminated by a null 150 public CollationKey(String source, byte key[]) 152 this(source, key, -1); 159 private CollationKey(String source, byte key[], int length) 161 m_source_ = source; 171 * @param source string this CollationKey is to represent 173 * argument source. 178 public CollationKey(String source, RawCollationKey key [all...] |
/external/kernel-headers/original/uapi/linux/ |
ivtvfb.h | 30 void __user *source; member in struct:ivtvfb_dma_frame
|
/external/libcxx/test/std/utilities/utility/forward/ |
forward2.fail.cpp | 6 // Source Licenses. See LICENSE.TXT for details. 18 A source() {return A();} function
|
forward4.fail.cpp | 6 // Source Licenses. See LICENSE.TXT for details. 18 A source() {return A();} function
|
forward5.fail.cpp | 6 // Source Licenses. See LICENSE.TXT for details. 18 A source() {return A();} function
|
/external/libvpx/libvpx/vpx_scale/generic/ |
gen_scalers.c | 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 8 * be found in the AUTHORS file in the root of the source tree. 21 * INPUTS : const unsigned char *source : Pointer to source data. 22 * unsigned int source_width : Stride of source. 30 * FUNCTION : Copies horizontal line of pixels from source to 36 void vp8_horizontal_line_5_4_scale_c(const unsigned char *source, 43 const unsigned char *src = source; 67 void vp8_vertical_band_5_4_scale_c(unsigned char *source, [all...] |