/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3convertutf.c | 6 * This source code is provided as is by Unicode, Inc. No claims are 25 Conversions between UTF32, UTF-16, and UTF-8. Source code file. 31 source sequences, enhanced error detection, added casts 56 const UTF32* source = *sourceStart; local 58 while (source < sourceEnd) { 63 ch = *source++; 68 --source; /* return to the illegal value itself */ 86 --source; /* Back up source pointer! */ 94 *sourceStart = source; 105 const UTF16* source = *sourceStart; local 209 const UTF16* source = *sourceStart; local 333 const UTF8* source = *sourceStart; local 406 const UTF32* source = *sourceStart; local 459 const UTF8* source = *sourceStart; local [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
urlencode.cc | 5 * Redistribution and use in source and binary forms, with or without 8 * 1. Redistributions of source code must retain the above copyright notice, 56 int InternalUrlDecode(const char *source, char *dest, 60 while (*source) { 61 switch (*source) { 66 *dest++ = *source; 70 if (source[1] && source[2]) { 71 int value = HexPairValue(source + 1); 74 source += 2 [all...] |
/external/chromium/chrome/browser/sync/glue/ |
extension_data.cc | 2 // Use of this source code is governed by a BSD-style license that can be 13 Source source, const sync_pb::ExtensionSpecifics& data) { 16 extension_data.merged_data_ = extension_data.source_data_[source] = data; 18 DCHECK(!extension_data.NeedsUpdate(source)); 29 bool ExtensionData::NeedsUpdate(Source source) const { 30 SourceDataMap::const_iterator it = source_data_.find(source); 37 Source source, bool merge_user_properties [all...] |
extension_data.h | 2 // Use of this source code is governed by a BSD-style license that can be 20 enum Source { 26 // given source. merged_data() will be equal to |data| and 27 // NeedsUpdate(source) will return false. 29 Source source, const sync_pb::ExtensionSpecifics& data); 39 // Returns whether or not the data from the given source needs to be 41 bool NeedsUpdate(Source source) const; 43 // Stores the given data as being from the given source, merging i [all...] |
/external/jpeg/ |
rdppm.c | 69 /* Private version of data source object */ 144 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 145 FILE * infile = source->pub.input_file; 147 register JSAMPLE *rescale = source->rescale; 150 ptr = source->pub.buffer[0]; 162 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 163 FILE * infile = source->pub.input_file; 165 register JSAMPLE *rescale = source->rescale; 168 ptr = source->pub.buffer[0]; 182 ppm_source_ptr source = (ppm_source_ptr) sinfo local 203 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 229 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 241 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 265 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 298 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 445 ppm_source_ptr source; local [all...] |
rdtarga.c | 44 /* Private version of data source object */ 177 tga_source_ptr source = (tga_source_ptr) sinfo; local 181 ptr = source->pub.buffer[0]; 183 (*source->read_pixel) (source); /* Load next pixel into tga_pixel */ 184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); 193 tga_source_ptr source = (tga_source_ptr) sinfo; local 197 register JSAMPARRAY colormap = source->colormap; 199 ptr = source->pub.buffer[0]; 201 (*source->read_pixel) (source); /* Load next pixel into tga_pixel * 214 tga_source_ptr source = (tga_source_ptr) sinfo; local 242 tga_source_ptr source = (tga_source_ptr) sinfo; local 275 tga_source_ptr source = (tga_source_ptr) sinfo; local 302 tga_source_ptr source = (tga_source_ptr) sinfo; local 335 tga_source_ptr source = (tga_source_ptr) sinfo; local 486 tga_source_ptr source; local [all...] |
/external/qemu/distrib/jpeg-6b/ |
rdppm.c | 69 /* Private version of data source object */ 144 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 145 FILE * infile = source->pub.input_file; 147 register JSAMPLE *rescale = source->rescale; 150 ptr = source->pub.buffer[0]; 162 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 163 FILE * infile = source->pub.input_file; 165 register JSAMPLE *rescale = source->rescale; 168 ptr = source->pub.buffer[0]; 182 ppm_source_ptr source = (ppm_source_ptr) sinfo local 203 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 229 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 241 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 265 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 298 ppm_source_ptr source = (ppm_source_ptr) sinfo; local 445 ppm_source_ptr source; local [all...] |
rdtarga.c | 44 /* Private version of data source object */ 177 tga_source_ptr source = (tga_source_ptr) sinfo; local 181 ptr = source->pub.buffer[0]; 183 (*source->read_pixel) (source); /* Load next pixel into tga_pixel */ 184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); 193 tga_source_ptr source = (tga_source_ptr) sinfo; local 197 register JSAMPARRAY colormap = source->colormap; 199 ptr = source->pub.buffer[0]; 201 (*source->read_pixel) (source); /* Load next pixel into tga_pixel * 214 tga_source_ptr source = (tga_source_ptr) sinfo; local 242 tga_source_ptr source = (tga_source_ptr) sinfo; local 275 tga_source_ptr source = (tga_source_ptr) sinfo; local 302 tga_source_ptr source = (tga_source_ptr) sinfo; local 335 tga_source_ptr source = (tga_source_ptr) sinfo; local 486 tga_source_ptr source; local [all...] |
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_utilities_indexing.cpp | 2 * Copyright (C) 2011 The Android Open Source Project 34 /*This routine breaks number in source into values smaller and larger than 36 void db_LeanPartitionOnPivot(double pivot,double *dest,const double *source,long first,long last,long *first_equal,long *last_equal) 44 s_point=source+first; 45 s_top=source+last; 68 const double *source; local 73 source=s; 78 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]) [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_utilities_indexing.cpp | 2 * Copyright (C) 2011 The Android Open Source Project 34 /*This routine breaks number in source into values smaller and larger than 36 void db_LeanPartitionOnPivot(double pivot,double *dest,const double *source,long first,long last,long *first_equal,long *last_equal) 44 s_point=source+first; 45 s_top=source+last; 68 const double *source; local 73 source=s; 78 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]) [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
GraphicsContext3D.cpp | 5 * Redistribution and use in source and binary forms, with or without 8 * 1. Redistributions of source code must retain the above copyright 353 void unpackRGBA8ToRGBA8(const uint8_t* source, uint8_t* destination) 355 destination[0] = source[0]; 356 destination[1] = source[1]; 357 destination[2] = source[2]; 358 destination[3] = source[3]; 361 void unpackRGBA16LittleToRGBA8(const uint16_t* source, uint8_t* destination) 363 destination[0] = convertColor16LittleTo8(source[0]); 364 destination[1] = convertColor16LittleTo8(source[1]) 976 const uint8_t* source = static_cast<const uint8_t*>(sourceData); local 1180 const float* source = static_cast<const float*>(sourceData); local [all...] |
/frameworks/base/core/java/android/content/pm/ |
PackageInfo.java | 2 * Copyright (C) 2007 The Android Open Source Project 265 public PackageInfo createFromParcel(Parcel source) { 266 return new PackageInfo(source); 274 private PackageInfo(Parcel source) { 275 packageName = source.readString(); 276 versionCode = source.readInt(); 277 versionName = source.readString(); 278 sharedUserId = source.readString(); 279 sharedUserLabel = source.readInt(); 280 int hasApp = source.readInt() [all...] |
/external/libvpx/vpx_scale/include/arm/ |
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. 20 void vp8cx_horizontal_line_1_2_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 21 void vp8cx_horizontal_line_3_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 22 void vp8cx_horizontal_line_3_5_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 23 void vp8cx_horizontal_line_2_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 24 void vp8cx_horizontal_line_4_5_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 28 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); 29 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) [all...] |
/external/libvpx/vpx_scale/include/symbian/ |
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. 20 void vp8cx_horizontal_line_1_2_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 21 void vp8cx_horizontal_line_3_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 22 void vp8cx_horizontal_line_3_5_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 23 void vp8cx_horizontal_line_2_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 24 void vp8cx_horizontal_line_4_5_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 28 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); 29 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) [all...] |
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
TestArgs.java | 2 * Copyright (C) 2011 The Android Open Source Project 32 public TestArgs(Parcel source) { 33 maxTime = source.readLong(); 34 maxOps = source.readLong(); 35 combOp = source.readInt(); 36 fgOp = source.readInt(); 37 bgOp = source.readInt();
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/ |
Android.mk | 8 ./source/h264bsd_transform.c \ 9 ./source/h264bsd_util.c \ 10 ./source/h264bsd_byte_stream.c \ 11 ./source/h264bsd_seq_param_set.c \ 12 ./source/h264bsd_pic_param_set.c \ 13 ./source/h264bsd_slice_header.c \ 14 ./source/h264bsd_slice_data.c \ 15 ./source/h264bsd_macroblock_layer.c \ 16 ./source/h264bsd_stream.c \ 17 ./source/h264bsd_vlc.c [all...] |
/external/guava/guava/src/com/google/common/collect/ |
BstNodeFactory.java | 34 * Returns a new {@code N} with the key and value data from {@code source}, with left child 38 public abstract N createNode(N source, @Nullable N left, @Nullable N right); 41 * Returns a new {@code N} with the key and value data from {@code source} that is a leaf. 43 public final N createLeaf(N source) { 44 return createNode(source, null, null);
|
/external/valgrind/main/none/tests/s390x/ |
ex_sig.c | 11 char source[40] = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\0"; variable 25 ::"a" (buf2), "a" (source) 43 ::"a" (target), "a" (source)
|
/bionic/libc/kernel/common/linux/netfilter_ipv4/ |
ipt_addrtype.h | 11 *** source file (e.g. under external/kernel-headers/original/) then 22 u_int16_t source; member in struct:ipt_addrtype_info
|
/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...] |
/development/ndk/platforms/android-3/include/linux/netfilter_ipv4/ |
ipt_addrtype.h | 16 u_int16_t source; member in struct:ipt_addrtype_info
|
/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...] |
/external/kernel-headers/original/linux/netfilter_ipv4/ |
ipt_addrtype.h | 5 u_int16_t source; /* source-type mask */ member in struct:ipt_addrtype_info
|
/external/webkit/Source/WebCore/storage/ |
IDBVersionChangeRequest.cpp | 4 * Redistribution and use in source and binary forms, with or without 8 * 1. Redistributions of source code must retain the above copyright 36 PassRefPtr<IDBVersionChangeRequest> IDBVersionChangeRequest::create(ScriptExecutionContext* context, PassRefPtr<IDBAny> source, const String& version) 38 return adoptRef(new IDBVersionChangeRequest(context, source, version)); 41 IDBVersionChangeRequest::IDBVersionChangeRequest(ScriptExecutionContext* context, PassRefPtr<IDBAny> source, const String& version) 42 : IDBRequest(context, source, 0)
|
/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...] |