/external/llvm/lib/Support/ |
ConvertUTF.c | 5 * This file is distributed under the University of Illinois Open Source 14 * This source code is provided as is by Unicode, Inc. No claims are 33 Conversions between UTF32, UTF-16, and UTF-8. Source code file. 39 source sequences, enhanced error detection, added casts 122 const UTF32* source = *sourceStart; local 124 while (source < sourceEnd) { 129 ch = *source++; 134 --source; /* return to the illegal value itself */ 152 --source; /* Back up source pointer! * 171 const UTF16* source = *sourceStart; local 225 const UTF16* source = *sourceStart; local 295 const UTF32* source = *sourceStart; local 519 const UTF8* source = *sourceStart; local 593 const UTF8* source = *sourceStart; local [all...] |
/cts/libs/deviceutil/src/android/cts/util/ |
IBinderParcelable.java | 2 * Copyright (C) 2009 The Android Open Source Project 25 public IBinderParcelable(IBinder source) { 26 binder = source; 40 public IBinderParcelable createFromParcel(Parcel source) { 41 return new IBinderParcelable(source); 49 private IBinderParcelable(Parcel source) { 50 binder = source.readStrongBinder();
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/features/ |
ConflictingRequirementsException.java | 32 private Object source; field in class:ConflictingRequirementsException 35 String message, Set<Feature<?>> conflicts, Object source) { 38 this.source = source; 46 return source; 50 return super.getMessage() + " (source: " + source + ")";
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
RealResponseBody.java | 25 private final BufferedSource source; field in class:RealResponseBody 27 public RealResponseBody(Headers headers, BufferedSource source) { 29 this.source = source; 41 @Override public BufferedSource source() { method in class:RealResponseBody 42 return source;
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowHtml.java | 13 public static Spanned fromHtml(String source) { 14 if (source == null) { 22 return new SpannedThatActsLikeString(source); 26 String source; field in class:ShadowHtml.SpannedThatActsLikeString 28 private SpannedThatActsLikeString(String source) { 29 this.source = source; 59 return source.length(); 64 return source.charAt(i); 74 return source; [all...] |
ShadowPhoneNumberUtils.java | 11 public static java.lang.String formatNumber(java.lang.String source) { 12 return source + "-formatted"; 16 public static java.lang.String stripSeparators(java.lang.String source) { 17 return source + "-stripped";
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/runtime/ |
interpret_argument_value.hpp | 41 // returns true if source is used false otherwise 46 static bool _( cstring source, boost::optional<T>& res ) 50 res = lexical_cast<T>( source ); 52 BOOST_RT_PARAM_TRACE( "String " << source << " is interpreted as " << *res ); 63 static bool _( cstring source, boost::optional<dstring>& res ) 68 assign_op( *res, source, 0 ); 79 static bool _( cstring source, boost::optional<cstring>& res ) 83 res = source; 94 static bool _( cstring source, boost::optional<bool>& res ) 105 source.trim() [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ |
PlotListener.java | 27 * Fired immediately before the Plot "source" is drawn onto canvas.
31 * @param source
34 public void onBeforeDraw(Plot source, Canvas canvas);
37 * Fired immediately after the Plot "source" is drawn onto canvas.
41 * @param source
44 public void onAfterDraw(Plot source, Canvas canvas);
|
/external/apache-harmony/beans/src/test/support/java/org/apache/harmony/beans/tests/support/mock/ |
MockPropertyChangeEvent.java | 33 * @param source 35 public MockPropertyChangeEvent(Object source) { 36 super(source);
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
UnicodeTransform.java | 38 public abstract String transform(String source); 43 public boolean isTransformed(String source) { 44 return source.equals(transform(source)); 49 public String transform(int source) { 50 return transform(UTF16.valueOf(source)); 55 public boolean isTransformed(int source) { 56 return isTransformed(UTF16.valueOf(source));
|
VariableReplacer.java | 24 public String replace(String source) { 27 oldSource = source; 31 source = replaceAll(source, variable, value); 33 } while (!source.equals(oldSource)); 34 return source; 36 public String replaceAll(String source, String key, String value) { 38 int pos = source.indexOf(key); 39 if (pos < 0) return source; 40 source = source.substring(0,pos) + value + source.substring(pos+key.length()) [all...] |
/external/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/ |
convert_to_auto_ptr.pass.cpp | 6 // Source Licenses. See LICENSE.TXT for details. 22 source() function 30 std::auto_ptr<A> ap2(source());
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_ssim.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 double vp9_calc_ssim(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest, 23 double vp9_calc_ssimg(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest,
|
/external/nist-sip/java/javax/sip/ |
DialogTerminatedEvent.java | 8 public DialogTerminatedEvent(Object source, Dialog dialog) { 9 super(source);
|
TransactionTerminatedEvent.java | 11 Object source, ServerTransaction serverTransaction) { 12 super(source); 19 Object source, ClientTransaction clientTransaction) { 20 super(source);
|
/external/smali/util/src/main/java/org/jf/util/ |
TextUtils.java | 5 * Redistribution and use in source and binary forms, with or without 9 * * Redistributions of source code must retain the above copyright 42 public static String normalizeNewlines(@Nonnull String source) { 43 return normalizeNewlines(source, newline); 47 public static String normalizeNewlines(@Nonnull String source, String newlineValue) { 48 return source.replace("\r", "").replace("\n", newlineValue); 52 public static String normalizeWhitespace(@Nonnull String source) { 53 source = normalizeNewlines(source, "\n"); 56 Matcher matcher = pattern.matcher(source); [all...] |
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
glGetShaderSource.java | 1 // C function void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source ) 8 byte[] source, 12 // C function void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source ) 19 byte source 22 // C function void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source )
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/ |
convert_to_auto_ptr.pass.cpp | 6 // Source Licenses. See LICENSE.TXT for details. 22 source() function 30 std::auto_ptr<A> ap2(source());
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/ |
FileUtilities.java | 51 public static String replace(String source, String piece, String replacement) { 52 if (source == null || source.length() < piece.length()) return source; 55 pos = source.indexOf(piece, pos); 56 if (pos < 0) return source; 57 source = source.substring(0,pos) + replacement + source.substring(pos + piece.length()); 62 public static String replace(String source, String[][] replacements) [all...] |
/external/jmonkeyengine/engine/src/networking/com/jme3/network/ |
ErrorListener.java | 5 * Redistribution and use in source and binary forms, with or without 9 * * Redistributions of source code must retain the above copyright 44 public void handleError( S source, Throwable t );
|
MessageListener.java | 5 * Redistribution and use in source and binary forms, with or without 9 * * Redistributions of source code must retain the above copyright 53 public void messageReceived( S source, Message m );
|
/external/valgrind/none/tests/s390x/ |
mvst.c | 16 int mvst(void *targetp, void *source) 21 ::"a" (targetp),"a" (source): "0", "memory", "cc"); 25 int mvst_full(void *targetp, void *source) 31 ::"a" (targetp),"a" (source): "0", "memory", "cc");
|
/external/lz4/lib/ |
lz4hc.h | 7 Redistribution and use in source and binary forms, with or without 11 * Redistributions of source code must retain the above copyright 32 - LZ4 source repository : http://code.google.com/p/lz4/ 42 int LZ4_compressHC (const char* source, char* dest, int inputSize); 52 int LZ4_compressHC_limitedOutput (const char* source, char* dest, int inputSize, int maxOutputSize); 55 Compress 'inputSize' bytes from 'source' into an output buffer 'dest' of maximum size 'maxOutputSize'. 66 int LZ4_compressHC2 (const char* source, char* dest, int inputSize, int compressionLevel); 67 int LZ4_compressHC2_limitedOutput (const char* source, char* dest, int inputSize, int maxOutputSize, int compressionLevel); 77 Decompression functions are provided within LZ4 source code (see "lz4.h") (BSD license) 85 int LZ4_compressHC_withStateHC (void* state, const char* source, char* dest, int inputSize) [all...] |
lz4.h | 7 Redistribution and use in source and binary forms, with or without 11 * Redistributions of source code must retain the above copyright 31 - LZ4 source repository : http://code.google.com/p/lz4/ 72 int LZ4_compress (const char* source, char* dest, int sourceSize); 73 int LZ4_decompress_safe (const char* source, char* dest, int compressedSize, int maxDecompressedSize); 77 Compresses 'sourceSize' bytes from 'source' into 'dest'. 86 compressedSize : is obviously the source size 90 If the source stream is detected malformed, the function will stop decoding and return a negative result. 118 Compress 'sourceSize' bytes from 'source' into an output buffer 'dest' of maximum size 'maxOutputSize'. 128 int LZ4_compress_limitedOutput (const char* source, char* dest, int sourceSize, int maxOutputSize) [all...] |
/system/vold/fs/ |
F2fs.h | 2 * Copyright (C) 2015 The Android Open Source Project 30 status_t Check(const std::string& source); 31 status_t Mount(const std::string& source, const std::string& target); 32 status_t Format(const std::string& source);
|