/cts/libs/util/src/android/provider/cts/ |
FileCopyHelper.java | 2 * Copyright (C) 2009 The Android Open Source Project 63 InputStream source = mContext.getResources().openRawResource(resId); local 65 copyFile(source, target); 71 InputStream source = mContext.getResources().openRawResource(resId); local 73 copyFile(source, target); 76 private void copyFile(InputStream source, OutputStream target) throws IOException { 79 for (int len = source.read(buffer); len > 0; len = source.read(buffer)) { 83 if (source != null) { 84 source.close() [all...] |
/external/chromium/chrome/browser/ |
blocked_content_container.h | 2 // Use of this source code is governed by a BSD-style license that can be 48 virtual void OpenURLFromTab(TabContents* source, 54 virtual void NavigationStateChanged(const TabContents* source, 58 virtual void AddNewContents(TabContents* source, 70 virtual void LoadingStateChanged(TabContents* source) {} 72 // Removes |source| from our internal list of blocked contents. 73 virtual void CloseContents(TabContents* source); 75 // Changes the opening rectangle associated with |source|. 76 virtual void MoveContents(TabContents* source, const gfx::Rect& new_bounds); 79 virtual bool IsPopup(const TabContents* source) const [all...] |
/frameworks/base/core/java/android/text/ |
InputFilter.java | 2 * Copyright (C) 2006 The Android Open Source Project 29 * of <code>source</code>. Return the CharSequence that you would 37 * Note: If <var>source</var> is an instance of {@link Spanned} or 38 * {@link Spannable}, the span objects in the <var>source</var> should be 42 public CharSequence filter(CharSequence source, int start, int end, 50 public CharSequence filter(CharSequence source, int start, int end, 53 if (Character.isLowerCase(source.charAt(i))) { 55 TextUtils.getChars(source, start, end, v, 0); 58 if (source instanceof Spanned) { 60 TextUtils.copySpansFrom((Spanned) source, [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
stringencode.h | 5 * Redistribution and use in source and binary forms, with or without 8 * 1. Redistributions of source code must retain the above copyright notice, 49 // Decode the utf8 encoded value pointed to by source. Returns the number of 51 size_t utf8_decode(const char* source, size_t srclen, unsigned long* value); 56 const char * source, size_t srclen, 58 // Note: in-place unescaping (buffer == source) is allowed. 60 const char * source, size_t srclen, 68 const char * source, size_t srclen, 70 // Note: in-place decoding (buffer == source) is allowed. 72 const char * source, size_t srclen [all...] |
/external/quake/quake/src/WinQuake/ |
draw.cpp | 138 byte *source; local 157 source = draw_chars + (row<<10) + (col<<3); 162 source -= 128*y; 175 if (source[0]) 176 dest[0] = source[0]; 177 if (source[1]) 178 dest[1] = source[1]; 179 if (source[2]) 180 dest[2] = source[2]; 181 if (source[3] 253 byte *source; local 291 byte *dest, *source; local 342 byte *dest, *source, tbyte; local 429 byte *dest, *source, tbyte; local 512 byte *source; local [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
LinkPropertiesTest.java | 2 * Copyright (C) 2010 The Android Open Source Project 37 LinkProperties source = new LinkProperties(); local 40 assertFalse(source == target); 41 assertTrue(source.equals(target)); 42 assertTrue(source.hashCode() == target.hashCode()); 48 LinkProperties source = new LinkProperties(); local 49 source.setInterfaceName(NAME); 51 source.addLinkAddress(new LinkAddress( 53 source.addLinkAddress(new LinkAddress( 56 source.addDns(NetworkUtils.numericToInetAddress(DNS1)) 139 LinkProperties source = new LinkProperties(); local 175 LinkProperties source = new LinkProperties(); local [all...] |
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
SourceChannelTest.java | 40 private Pipe.SourceChannel source; field in class:SourceChannelTest 50 source = pipe.source(); 60 assertEquals(SelectionKey.OP_READ, source.validOps()); 69 int count = source.read(ByteBuffer.allocate(10)); 79 source.read(nullBuf); 93 long count = source.read(readBuf); 96 count = source.read(readBuf); 100 count = source.read(readBuf); 109 source.close() [all...] |
/external/libvpx/vpx_scale/include/generic/ |
vpxscale_nofp.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. 18 void vp8cx_horizontal_line_1_2_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 19 void vp8cx_horizontal_line_3_5_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 20 void vp8cx_horizontal_line_2_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 21 void vp8cx_horizontal_line_4_5_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 25 void vp8cx_vertical_band_5_4_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); 26 void vp8cx_vertical_band_5_3_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); 27 void vp8cx_vertical_band_2_1_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width) [all...] |
/frameworks/base/core/java/android/content/pm/ |
InstrumentationInfo.java | 2 * Copyright (C) 2007 The Android Open Source Project 106 public InstrumentationInfo createFromParcel(Parcel source) { 107 return new InstrumentationInfo(source); 114 private InstrumentationInfo(Parcel source) { 115 super(source); 116 targetPackage = source.readString(); 117 sourceDir = source.readString(); 118 publicSourceDir = source.readString(); 119 dataDir = source.readString(); 120 nativeLibraryDir = source.readString() [all...] |
ConfigurationInfo.java | 2 * Copyright (C) 2008 The Android Open Source Project 118 public ConfigurationInfo createFromParcel(Parcel source) { 119 return new ConfigurationInfo(source); 126 private ConfigurationInfo(Parcel source) { 127 reqTouchScreen = source.readInt(); 128 reqKeyboardType = source.readInt(); 129 reqNavigation = source.readInt(); 130 reqInputFeatures = source.readInt(); 131 reqGlEsVersion = source.readInt();
|
PackageInfoLite.java | 2 * Copyright (C) 2007 The Android Open Source Project 74 public PackageInfoLite createFromParcel(Parcel source) { 75 return new PackageInfoLite(source); 83 private PackageInfoLite(Parcel source) { 84 packageName = source.readString(); 85 recommendedInstallLocation = source.readInt(); 86 installLocation = source.readInt(); 88 final int verifiersLength = source.readInt(); 93 source.readTypedArray(verifiers, VerifierInfo.CREATOR);
|
PermissionGroupInfo.java | 2 * Copyright (C) 2008 The Android Open Source Project 119 public PermissionGroupInfo createFromParcel(Parcel source) { 120 return new PermissionGroupInfo(source); 127 private PermissionGroupInfo(Parcel source) { 128 super(source); 129 descriptionRes = source.readInt(); 130 nonLocalizedDescription = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source); 131 flags = source.readInt(); 132 priority = source.readInt();
|
/external/bluetooth/glib/glib/ |
gmain.c | 144 /* this pipe is used to wake up the main loop when a source is added. 181 GSource source; member in struct:_GTimeoutSource 189 GSource source; member in struct:_GChildWatchSource 217 #define SOURCE_DESTROYED(source) (((source)->flags & G_HOOK_FLAG_ACTIVE) == 0) 218 #define SOURCE_BLOCKED(source) (((source)->flags & G_HOOK_FLAG_IN_CALL) != 0 && \ 219 ((source)->flags & G_SOURCE_CAN_RECURSE) == 0) 221 #define SOURCE_UNREF(source, context) \ 223 if ((source)->ref_count > 1) 349 GSource *source; local 572 GSource *source; local 1240 GSource *source; local 1280 GSource *source; local 1327 GSource *source; local 1375 GSource *source; local 1399 GSource *source; local 1426 GSource *source; local 1762 GSource *source = context->pending_dispatches->pdata[i]; local 2058 GSource *source; local 2255 GSource *source; local 3278 GSource *source = g_source_new (&g_timeout_funcs, sizeof (GTimeoutSource)); local 3310 GSource *source = g_source_new (&g_timeout_funcs, sizeof (GTimeoutSource)); local 3360 GSource *source; local 3467 GSource *source; local 3781 GSource *source = g_source_new (&g_child_watch_funcs, sizeof (GChildWatchSource)); local 3838 GSource *source; local 3942 GSource *source; local 3974 GSource *source; local [all...] |
/external/v8/src/ia32/ |
lithium-gap-resolver-ia32.cc | 2 // Redistribution and use in source and binary forms, with or without 6 // * Redistributions of source code must retain the above copyright 56 if (!move.IsEliminated() && !move.source()->IsConstantOperand()) { 64 ASSERT(moves_[i].source()->IsConstantOperand()); 76 // moves to perform, ignoring any move that is redundant (the source is 93 // which means that a call to PerformMove could change any source operand 101 ASSERT(moves_[index].source() != NULL); // Or else it will look eliminated. 106 // dependencies. Any unperformed, unpending move with a source the same 112 // Though PerformMove can change any source operand in the move graph, 114 // not miss any). Assume there is a non-blocking move with source 154 LOperand* source = move.source(); local 165 LOperand* source = moves_[index].source(); local 277 LOperand* source = moves_[index].source(); local 359 LOperand* source = moves_[index].source(); local [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
web_page_screen.h | 2 // Use of this source code is governed by a BSD-style license that can be 28 virtual void OpenURLFromTab(TabContents* source, 32 virtual void NavigationStateChanged(const TabContents* source, 34 virtual void AddNewContents(TabContents* source, 41 virtual void LoadingStateChanged(TabContents* source) = 0; 42 virtual void CloseContents(TabContents* source) {} 43 virtual bool IsPopup(TabContents* source) { return false; } 44 virtual void UpdateTargetURL(TabContents* source, const GURL& url) {} 50 virtual void MoveContents(TabContents* source, const gfx::Rect& pos) {}
|
/external/icu4c/samples/datefmt/ |
util.h | 13 UnicodeString escape(const UnicodeString &source);
|
/external/icu4c/samples/msgfmt/ |
util.h | 13 UnicodeString escape(const UnicodeString &source);
|
/external/icu4c/samples/numfmt/ |
util.h | 14 UnicodeString escape(const UnicodeString &source);
|
/external/icu4c/samples/translit/ |
util.h | 13 UnicodeString escape(const UnicodeString &source);
|
/external/iptables/include/linux/netfilter_ipv4/ |
ipt_addrtype.h | 12 u_int16_t source; /* source-type mask */ member in struct:ipt_addrtype_info_v1 19 u_int16_t source; /* source-type mask */ member in struct:ipt_addrtype_info
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
source.js | 23 Filename: source.js 24 Description: 'Tests RegExp attribute source' 33 var TITLE = 'RegExp: source'; 35 writeHeaderToLog('Executing script: source.js'); 41 // /xyz/g.source 42 testcases[count++] = new TestCase ( SECTION, "/xyz/g.source", 43 "xyz", /xyz/g.source); 45 // /xyz/.source 46 testcases[count++] = new TestCase ( SECTION, "/xyz/.source", 47 "xyz", /xyz/.source); [all...] |
/external/webkit/Source/WebCore/storage/ |
IDBCursorWithValue.h | 4 * Redistribution and use in source and binary forms, with or without 8 * 1. Redistributions of source code must retain the above copyright 37 static PassRefPtr<IDBCursorWithValue> create(PassRefPtr<IDBCursorBackendInterface>, IDBRequest*, IDBAny* source, IDBTransaction*); 44 IDBCursorWithValue(PassRefPtr<IDBCursorBackendInterface>, IDBRequest*, IDBAny* source, IDBTransaction*);
|
IDBVersionChangeRequest.h | 4 * Redistribution and use in source and binary forms, with or without 8 * 1. Redistributions of source code must retain the above copyright 37 static PassRefPtr<IDBVersionChangeRequest> create(ScriptExecutionContext*, PassRefPtr<IDBAny> source, const String& version); 45 IDBVersionChangeRequest(ScriptExecutionContext*, PassRefPtr<IDBAny> source, const String& version);
|
/frameworks/base/core/java/android/content/res/ |
ObbInfo.java | 2 * Copyright (C) 2010 The Android Open Source Project 90 public ObbInfo createFromParcel(Parcel source) { 91 return new ObbInfo(source); 99 private ObbInfo(Parcel source) { 100 filename = source.readString(); 101 packageName = source.readString(); 102 version = source.readInt(); 103 flags = source.readInt(); 104 salt = source.createByteArray();
|
/frameworks/base/core/java/android/os/ |
Parcelable.java | 2 * Copyright (C) 2006 The Android Open Source Project 102 * @param source The Parcel to read the object's data from. 105 public T createFromParcel(Parcel source); 128 * @param source The Parcel to read the object's data from. 132 public T createFromParcel(Parcel source, ClassLoader loader);
|