/frameworks/base/test-runner/src/android/test/ |
ClassPathPackageInfo.java | 2 * Copyright (C) 2008 The Android Open Source Project 32 private final ClassPathPackageInfoSource source; field in class:ClassPathPackageInfo 37 ClassPathPackageInfo(ClassPathPackageInfoSource source, String packageName, 39 this.source = source; 48 info.add(source.getPackageInfo(name));
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/inc/ |
perf_common.h | 44 #define TIME_COPY(target, source) target = source 72 #define TIME_COPY(target, source) \ 73 ((target).tv_sec = (source).tv_sec), ((target).tv_usec = (source).tv_usec)
|
/libcore/luni/src/main/java/javax/xml/transform/sax/ |
SAXSource.java | 22 import javax.xml.transform.Source; 28 * <p>Acts as an holder for SAX-style Source.</p> 31 * input source that is not 39 public class SAXSource implements Source { 44 * the Transformer supports Source input of this type. 51 * no SAX source is set using 54 * create an empty source {@link org.xml.sax.InputSource} using 57 * @see javax.xml.transform.Transformer#transform(Source xmlSource, Result outputTarget) 69 * @param inputSource A SAX input source reference that must be non-null 86 * @param inputSource An input source reference that must be non-nul [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
ShortcutLimitingPromoter.java | 2 * Copyright (C) 2009 The Android Open Source Project 26 * A promoter that limits the maximum number of shortcuts per source 58 HashMultiset<Source> sourceShortcutCounts = HashMultiset.create(shortcutCount); 62 Source source = shortcuts.getSuggestionSource(); local 63 if (source != null) { 64 int prevCount = sourceShortcutCounts.add(source, 1); 65 if (DBG) Log.d(TAG, "Source: " + source + ", count: " + prevCount); 66 int maxShortcuts = source.isWebSuggestionSource( [all...] |
/external/libvpx/vp8/common/ |
postproc.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. 257 static void vp8_deblock_and_de_macro_block(YV12_BUFFER_CONFIG *source, 269 POSTPROC_INVOKE(rtcd, downacross)(source->y_buffer, post->y_buffer, source->y_stride, post->y_stride, source->y_height, source->y_width, ppl); 273 POSTPROC_INVOKE(rtcd, downacross)(source->u_buffer, post->u_buffer, source->uv_stride, post->uv_stride, source->uv_height, source->uv_width, ppl) [all...] |
/external/v8/src/ |
compilation-cache.cc | 2 // Redistribution and use in source and binary forms, with or without 6 // * Redistributions of source code must retain the above copyright 53 // for each generation of the sub-cache. Since the same source code string has 94 Handle<JSFunction> Lookup(Handle<String> source, 98 void Put(Handle<String> source, Handle<JSFunction> boilerplate); 116 Handle<JSFunction> Lookup(Handle<String> source, Handle<Context> context); 118 void Put(Handle<String> source, 132 Handle<FixedArray> Lookup(Handle<String> source, JSRegExp::Flags flags); 134 void Put(Handle<String> source, 202 // We only re-use a cached function for some script source code if th [all...] |
/external/libvpx/vpx_scale/generic/ |
vpxscale.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. 39 void (*vp8_horizontal_line_1_2_scale)(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width) = 0; 40 void (*vp8_horizontal_line_3_5_scale)(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width) = 0; 41 void (*vp8_horizontal_line_3_4_scale)(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width) = 0; 42 void (*vp8_horizontal_line_2_3_scale)(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width) = 0; 43 void (*vp8_horizontal_line_4_5_scale)(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width) = 0; 47 void (*vp8_vertical_band_5_4_scale)(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width) = 0; 48 void (*vp8_vertical_band_5_3_scale)(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width) = (…) [all...] |
/external/freetype/src/base/ |
ftbitmap.c | 42 const FT_Bitmap *source, 47 FT_Int pitch = source->pitch; 51 if ( source == target ) 54 if ( source->buffer == NULL ) 56 *target = *source; 63 size = (FT_ULong)( pitch * source->rows ); 87 *target = *source; 90 FT_MEM_COPY( target->buffer, source->buffer, size ); 376 const FT_Bitmap *source, 389 switch ( source->pixel_mode [all...] |
/frameworks/base/core/java/android/view/ |
FocusFinder.java | 2 * Copyright (C) 2007 The Android Open Source Project 151 * direction from a source rect? This is the core routine that determines 154 * @param source The source we are searching from 159 boolean isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) { 163 if (!isCandidate(source, rect1, direction)) { 169 if (!isCandidate(source, rect2, direction)) { 174 if (beamBeats(direction, source, rect1, rect2)) { 179 if (beamBeats(direction, source, rect2, rect1)) { 185 majorAxisDistance(direction, source, rect1) [all...] |
/external/chromium/third_party/icu/source/tools/genrb/ |
prscmnts.cpp | 35 removeText(UChar *source, int32_t srcLen, 43 UnicodeString src(source, srcLen); 55 return dest.extract(source, srcLen, *status); 67 removeCmtText(UChar* source, int32_t srcLen, UErrorCode* status){ 68 srcLen = trim(source, srcLen, status); 70 srcLen = removeText(source, srcLen, patString, UREGEX_MULTILINE, "", status); 71 return removeText(source, srcLen, "[ \\r\\n]+", 0, " ", status);// remove new lines; 75 getText(const UChar* source, int32_t srcLen, 86 UnicodeString src (source,srcLen); 112 getDescription( const UChar* source, int32_t srcLen [all...] |
/external/icu4c/tools/genrb/ |
prscmnts.cpp | 35 removeText(UChar *source, int32_t srcLen, 43 UnicodeString src(source, srcLen); 55 return dest.extract(source, srcLen, *status); 67 removeCmtText(UChar* source, int32_t srcLen, UErrorCode* status){ 68 srcLen = trim(source, srcLen, status); 70 srcLen = removeText(source, srcLen, patString, UREGEX_MULTILINE, "", status); 71 return removeText(source, srcLen, "[ \\r\\n]+", 0, " ", status);// remove new lines; 75 getText(const UChar* source, int32_t srcLen, 86 UnicodeString src (source,srcLen); 112 getDescription( const UChar* source, int32_t srcLen [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
Editable_FactoryTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 34 notes = "Test newEditable(CharSequence source)", 40 CharSequence source = "abc"; local 42 Editable expected = new SpannableStringBuilder(source); 46 Editable actual = mFactory.newEditable(source);
|
/external/chromium/third_party/icu/public/common/unicode/ |
ucnv_cb.h | 41 * of SOURCE. For example, Suppose the string "ABCD" was being converted 47 * Source: A B [C] D [points to C - B has been consumed] 54 * callback is concerned is relative to the SOURCE pointer [which points 56 * it would call FromUWriteBytes with an offset of 1 (and advance the source 76 * @param source source bytes to write 87 const char* source, 98 * @param offsetIndex the relative offset index from the current source pointer to be used 115 * @param source pointer to pointer to first UChar to write [on exit: 1 after last UChar processed] 123 const UChar** source, [all...] |
/external/chromium/third_party/zlib/ |
uncompr.c | 12 Decompresses the source buffer into the destination buffer. sourceLen is 13 the byte length of the source buffer. Upon entry, destLen is the total 26 int ZEXPORT uncompress (dest, destLen, source, sourceLen) 29 const Bytef *source; 35 stream.next_in = (Bytef*)source; 37 /* Check for source > 64K on 16-bit machine: */
|
/external/icu4c/common/unicode/ |
ucnv_cb.h | 41 * of SOURCE. For example, Suppose the string "ABCD" was being converted 47 * Source: A B [C] D [points to C - B has been consumed] 54 * callback is concerned is relative to the SOURCE pointer [which points 56 * it would call FromUWriteBytes with an offset of 1 (and advance the source 76 * @param source source bytes to write 87 const char* source, 98 * @param offsetIndex the relative offset index from the current source pointer to be used 115 * @param source pointer to pointer to first UChar to write [on exit: 1 after last UChar processed] 123 const UChar** source, [all...] |
/external/libvpx/vpx_scale/include/leapster/ |
vpxscale.h | 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. 28 typedef void (*vpxhorizontal_line_1_2_scale_lf)(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 29 typedef void (*vpxhorizontal_line_3_5_scale_lf)(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 30 typedef void (*vpxhorizontal_line_4_5_scale_lf)(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 55 extern void (*vp8_horizontal_line_1_2_scale)(const unsigned char * source,unsigned int source_width,unsigned char * dest,unsigned int dest_width); 56 extern void (*vp8_horizontal_line_3_5_scale)(const unsigned char * source,unsigned int source_width,unsigned char * dest,unsigned int dest_width); 57 extern void (*vp8_horizontal_line_4_5_scale)(const unsigned char * source,unsigned int source_width,unsigned char * dest,unsigned int dest_width);
|
/external/qemu/distrib/zlib-1.2.3/ |
uncompr.c | 12 Decompresses the source buffer into the destination buffer. sourceLen is 13 the byte length of the source buffer. Upon entry, destLen is the total 26 int ZEXPORT uncompress (dest, destLen, source, sourceLen) 29 const Bytef *source; 35 stream.next_in = (Bytef*)source; 37 /* Check for source > 64K on 16-bit machine: */
|
/external/skia/src/core/ |
SkSpriteBlitter.h | 3 ** Copyright 2006, The Android Open Source Project 28 SkSpriteBlitter(const SkBitmap& source); 42 static SkSpriteBlitter* ChooseD16(const SkBitmap& source, const SkPaint&, 44 static SkSpriteBlitter* ChooseD32(const SkBitmap& source, const SkPaint&,
|
/external/webkit/WebCore/icu/unicode/ |
ucnv_cb.h | 41 * of SOURCE. For example, Suppose the string "ABCD" was being converted 47 * Source: A B [C] D [points to C - B has been consumed] 54 * callback is concerned is relative to the SOURCE pointer [which points 56 * it would call FromUWriteBytes with an offset of 1 (and advance the source 76 * @param source source bytes to write 87 const char* source, 98 * @param offsetIndex the relative offset index from the current source pointer to be used 115 * @param source pointer to pointer to first UChar to write [on exit: 1 after last UChar processed] 123 const UChar** source, [all...] |
/external/webkit/WebCore/page/ |
UserScript.h | 4 * Redistribution and use in source and binary forms, with or without 7 * 1. Redistributions of source code must retain the above copyright 39 UserScript(const String& source, const KURL& url, 42 : m_source(source) 50 const String& source() const { return m_source; } function in class:WebCore::UserScript
|
UserStyleSheet.h | 4 * Redistribution and use in source and binary forms, with or without 7 * 1. Redistributions of source code must retain the above copyright 39 UserStyleSheet(const String& source, const KURL& url, 41 : m_source(source) 48 const String& source() const { return m_source; } function in class:WebCore::UserStyleSheet
|
/external/zlib/ |
uncompr.c | 12 Decompresses the source buffer into the destination buffer. sourceLen is 13 the byte length of the source buffer. Upon entry, destLen is the total 24 int ZEXPORT uncompress (dest, destLen, source, sourceLen) 27 const Bytef *source; 33 stream.next_in = (Bytef*)source; 35 /* Check for source > 64K on 16-bit machine: */
|
/frameworks/base/core/java/android/text/ |
Editable.java | 2 * Copyright (C) 2006 The Android Open Source Project 31 * <code>source</code>. The destination slice may be empty, in which case 32 * the operation is an insertion, or the source slice may be empty, 37 * <code>source</code> text. 39 * If <code>source</code> 48 public Editable replace(int st, int en, CharSequence source, int start, int end); 138 public Editable newEditable(CharSequence source) { 139 return new SpannableStringBuilder(source);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
SmsRawData.java | 2 ** Copyright 2007, The Android Open Source Project 32 public SmsRawData createFromParcel(Parcel source) { 34 size = source.readInt(); 36 source.readByteArray(data);
|
/build/tools/apicheck/src/com/android/apicheck/ |
SourcePositionInfo.java | 2 * Copyright (C) 2008 The Android Open Source Project 105 * Build a SourcePositionInfo from the XML source= notation 107 public static SourcePositionInfo fromXml(String source) { 108 if (source != null) { 109 for (int i = 0; i < source.length(); i++) { 110 if (source.charAt(i) == ':') { 111 return new SourcePositionInfo(source.substring(0, i), 112 Integer.parseInt(source.substring(i+1)), 0);
|