| /external/chromium/base/ | 
| message_pump_glib.cc | 2 // Use of this source code is governed by a BSD-style license that can be 40 // On each iteration of the GLib pump, it calls each source's Prepare function.
 47 // by the minimum time returned by a source in Prepare.
 48 //     After the poll, GLib calls Check for each source that returned FALSE
 51 //     Finally, GLib calls Dispatch for each source that is ready.  If Dispatch
 52 // returns FALSE, GLib will destroy the source.  Dispatch calls may be recursive
 54 //     Finalize is called when the source is destroyed.
 91 gboolean WorkSourcePrepare(GSource* source,
 93   *timeout_ms = static_cast<WorkSource*>(source)->pump->HandlePrepare();
 100 gboolean WorkSourceCheck(GSource* source) {
 [all...]
 | 
| /external/emma/core/java12/com/vladium/util/ | 
| Files.java | 245      * Renames 'source' to 'target' [intermediate directories are created if necessary]. If 252      * @param source file descriptor [file must exist]
 257      * @throws IllegalArgumentException if 'source' is null or file does not exist
 260     public static boolean renameFile (final File source, final File target, final boolean overwrite)
 262         if ((source == null) || ! source.exists ())
 263             throw new IllegalArgumentException ("invalid input source: [" + source + "]");
 279                 if ((targetDir != null) && ! targetDir.equals (source.getParentFile ()))
 285             return source.renameTo (target)
 [all...]
 | 
| /external/libvpx/vp8/common/arm/armv6/ | 
| dc_only_idct_add_v6.asm | 4 ;  Use of this source code is governed by a BSD-style license and patent 5 ;  grant that can be found in the LICENSE file in the root of the source
 7 ;  file in the root of the source tree.
 
 | 
| /external/libvpx/vp8/decoder/arm/armv6/ | 
| dequantize_v6.asm | 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.
 
 | 
| /external/libvpx/vp8/encoder/arm/neon/ | 
| vp8_memcpy_neon.asm | 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.
 
 | 
| /external/libvpx/vp8/encoder/ppc/ | 
| rdopt_altivec.asm | 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.
 
 | 
| /external/libvpx/vpx_scale/leapster/ | 
| gen_scalers_lf.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.
 33  *  INPUTS        : const unsigned char *source : Pointer to source data.
 34  *                  unsigned int source_width    : Stride of source.
 42  *  FUNCTION      : Copies horizontal line of pixels from source to
 51     const unsigned char *source,
 60     const unsigned char *src = source;
 191  *  INPUTS        : const unsigned char *source : Pointer to source data
 [all...]
 | 
| /external/webkit/WebCore/platform/text/ | 
| TextEncoding.cpp | 6  * Redistribution and use in source and binary forms, with or without 9  * 1. Redistributions of source code must retain the above copyright
 95     const UChar* source = characters;  local
 101     if (unorm_quickCheck(source, sourceLength, UNORM_NFC, &err) != UNORM_YES) {
 104         int32_t normalizedLength = unorm_normalize(source, length, UNORM_NFC, 0, normalizedCharacters.data(), length, &err);
 108             normalizedLength = unorm_normalize(source, length, UNORM_NFC, 0, normalizedCharacters.data(), normalizedLength, &err);
 112         source = normalizedCharacters.data();
 115     return newTextCodec(*this)->encode(source, sourceLength, handling);
 
 | 
| /frameworks/base/core/java/android/text/method/ | 
| PasswordTransformationMethod.java | 2  * Copyright (C) 2006 The Android Open Source Project 38     public CharSequence getTransformation(CharSequence source, View view) {
 39         if (source instanceof Spannable) {
 40             Spannable sp = (Spannable) source;
 60         return new PasswordCharSequence(source);
 142         public PasswordCharSequence(CharSequence source) {
 143             mSource = source;
 
 | 
| /frameworks/base/core/java/android/view/ | 
| Surface.java | 2  * Copyright (C) 2007 The Android Open Source Project 394     private Surface(Parcel source) throws OutOfResourcesException {
 395         init(source);
 402     public native   void readFromParcel(Parcel source);
 408         public Surface createFromParcel(Parcel source) {
 410                 return new Surface(source);
 441     private native void init(Parcel source);
 
 | 
| /frameworks/base/libs/rs/java/ImageProcessing/src/com/android/rs/image/ | 
| ImageProcessingActivity.java | 2  * Copyright (C) 2009 The Android Open Source Project 225     private static Bitmap copyBitmap(Bitmap source) {
 226         Bitmap b = Bitmap.createBitmap(source.getWidth(), source.getHeight(), source.getConfig());
 228         c.drawBitmap(source, 0, 0, null);
 229         source.recycle();
 
 | 
| /frameworks/base/telephony/java/com/android/internal/telephony/ | 
| AdnRecord.java | 2  * Copyright (C) 2006 The Android Open Source Project 74         public AdnRecord createFromParcel(Parcel source) {
 81             efid = source.readInt();
 82             recordNumber = source.readInt();
 83             alphaTag = source.readString();
 84             number = source.readString();
 85             emails = source.readStringArray();
 
 | 
| /libcore/luni/src/main/java/org/apache/xml/utils/ | 
| StylesheetPIHandler.java | 26 import javax.xml.transform.Source; 112    * @return Source object that references the last stylesheet reference
 115   public Source getAssociatedStylesheet()
 122       Source source = (Source) m_stylesheets.elementAt(sz-1);  local
 123       return source;
 154       Source source = null;  local
 215               source = m_uriResolver.resolve(href, m_baseID)
 [all...]
 | 
| /external/chromium/third_party/icu/source/i18n/ | 
| umsg.cpp | 126                 const UChar  *source, 137     u_vparseMessage(locale,pattern,patternLength,source,sourceLength,ap,status);
 146                 const UChar *source,
 154     umsg_vparse(fmt,source,sourceLength,&count,ap,status);
 162                         const UChar *source,
 175     u_vparseMessageWithError(locale,pattern,patternLength,source,sourceLength,ap,error,status);
 183                          const UChar *source,
 192     umsg_vparse(fmt,source,sourceLength,&count,ap,status);
 484             const UChar    *source,
 498     umsg_vparse(fmt,source,sourceLength,count,ap,status)
 [all...]
 | 
| /external/e2fsprogs/debugfs/ | 
| logdump.c | 272 static int read_journal_block(const char *cmd, struct journal_source *source, 278 	if (source->where == JOURNAL_IS_EXTERNAL) {
 279 		if (lseek(source->fd, offset, SEEK_SET) < 0) {
 284 		retval = read(source->fd, buf, size);
 291 		retval = ext2fs_file_lseek(source->file, offset,
 298 		retval = ext2fs_file_read(source->file, buf, size, got);
 330 			 struct journal_source *source)
 346 	retval = read_journal_block(cmdname, source, 0,
 375 	retval = read_journal_block(cmdname, source, blocknr*blocksize,
 398 		retval = read_journal_block(cmdname, source,
 [all...]
 | 
| /external/icu4c/i18n/ | 
| umsg.cpp | 126                 const UChar  *source, 137     u_vparseMessage(locale,pattern,patternLength,source,sourceLength,ap,status);
 146                 const UChar *source,
 154     umsg_vparse(fmt,source,sourceLength,&count,ap,status);
 162                         const UChar *source,
 175     u_vparseMessageWithError(locale,pattern,patternLength,source,sourceLength,ap,error,status);
 183                          const UChar *source,
 192     umsg_vparse(fmt,source,sourceLength,&count,ap,status);
 484             const UChar    *source,
 498     umsg_vparse(fmt,source,sourceLength,count,ap,status)
 [all...]
 | 
| /external/webkit/WebCore/editing/ | 
| EditorCommand.cpp | 6  * Redistribution and use in source and binary forms, with or without 9  * 1. Redistributions of source code must retain the above copyright
 96 static bool applyCommandToFrame(Frame* frame, EditorCommandSource source, EditAction action, CSSMutableStyleDeclaration* style)
 98     // FIXME: We don't call shouldApplyStyle when the source is DOM; is there a good reason for that?
 99     switch (source) {
 112 static bool executeApplyStyle(Frame* frame, EditorCommandSource source, EditAction action, int propertyID, const String& propertyValue)
 116     return applyCommandToFrame(frame, source, action, style.get());
 119 static bool executeApplyStyle(Frame* frame, EditorCommandSource source, EditAction action, int propertyID, int propertyValue)
 123     return applyCommandToFrame(frame, source, action, style.get());
 129 static bool executeToggleStyleInList(Frame* frame, EditorCommandSource source, EditAction action, int propertyID, CSSValue* value
 [all...]
 | 
| /external/protobuf/src/google/protobuf/ | 
| wire_format_unittest.cc | 5 // Redistribution and use in source and binary forms, with or without 9 //     * Redistributions of source code must retain the above copyright
 79   unittest::TestAllTypes source, dest;  local
 83   TestUtil::SetAllFields(&source);
 84   source.SerializeToString(&data);
 96   unittest::TestAllExtensions source, dest;  local
 100   TestUtil::SetAllExtensions(&source);
 101   source.SerializeToString(&data);
 113   unittest::TestPackedTypes source, dest;  local
 117   TestUtil::SetPackedFields(&source);
 131  unittest::TestUnpackedTypes source;  local
 147  unittest::TestPackedTypes source;  local
 162  unittest::TestPackedExtensions source, dest;  local
 316  unittest::TestFieldOrderings source;  local
 [all...]
 | 
| /cts/tools/vm-tests/src/dot/junit/opcodes/aput_object/d/ | 
| T_aput_object_3.d | 1 ; Copyright (C) 2008 The Android Open Source Project 15 .source TestStubs.java
 18 .source TestStubs.java
 21 .source TestStubs.java
 32 .source TestStubs.java
 43 .source T_aput_object_3.java
 
 | 
| /external/chromium/third_party/icu/source/common/ | 
| ucnvhz.c | 145 *   Source: RFC 1842 157     const char *mySource = ( char *) args->source;
 167     /*if ((args->converter == NULL) || (args->targetLimit < args->target) || (mySourceLimit < args->source)){
 187                         args->offsets[myTarget - args->target]=(int32_t)(mySource - args->source - 2);
 203                         args->source = mySource;
 234                     args->source = mySource;
 298                     args->offsets[myTarget - args->target]=(int32_t)(mySource - args->source - 1-(myData->isStateDBCS));
 329     args->source = mySource;
 336     const UChar *mySource = args->source;
 342     int32_t mySourceLength = (int32_t)(args->sourceLimit - args->source);
 [all...]
 | 
| /external/icu4c/common/ | 
| ucnvhz.c | 145 *   Source: RFC 1842 157     const char *mySource = ( char *) args->source;
 167     /*if ((args->converter == NULL) || (args->targetLimit < args->target) || (mySourceLimit < args->source)){
 187                         args->offsets[myTarget - args->target]=(int32_t)(mySource - args->source - 2);
 203                         args->source = mySource;
 234                     args->source = mySource;
 298                     args->offsets[myTarget - args->target]=(int32_t)(mySource - args->source - 1-(myData->isStateDBCS));
 329     args->source = mySource;
 336     const UChar *mySource = args->source;
 342     int32_t mySourceLength = (int32_t)(args->sourceLimit - args->source);
 [all...]
 | 
| /external/icu4c/test/cintltst/ | 
| nucnvtst.c | 28 static void TestNextUChar(UConverter* cnv, const char* source, const char* limit, const int32_t results[], const char* message); 29 static void TestNextUCharError(UConverter* cnv, const char* source, const char* limit, UErrorCode expected, const char* message);
 159 TestNextUChar(UConverter* cnv, const char* source, const char* limit, const int32_t results[], const char* message)
 162      const char* s=(char*)source;
 189 TestNextUCharError(UConverter* cnv, const char* source, const char* limit, UErrorCode expected, const char* message)
 191      const char* s=(char*)source;
 363 static ETestConvertResult testConvertFromU( const UChar *source, int sourceLen,  const uint8_t *expect, int expectLen,
 405     src = source;
 411     realSourceEnd = source + sourceLen;
 427       log_verbose("calling fromUnicode @ SOURCE:%08lx to %08lx  TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"TRUE":"FA (…)
 1675  const char* source = NULL;  local
 1788  const char* source = NULL;  local
 1838  const char *source=(const char *)in, *limit=(const char *)in+sizeof(in);  local
 1881  const char *source=(const char *)in, *limit=(const char *)in+sizeof(in);  local
 1943  const char *source=(const char *)in,*limit=(const char *)in+sizeof(in);  local
 2014  const char *source=(const char *)in,*limit=(const char *)in+sizeof(in);  local
 2065  const char *source, *limit;  local
 2114  const char *source=(const char *)in, *limit=(const char *)in+sizeof(in);  local
 2168  const char *source=(const char *)in, *limit=(const char *)in+sizeof(in);  local
 2233  const char *source, *limit;  local
 2310  const char *source=(const char *)in, *limit=(const char *)in+sizeof(in);  local
 2381  const char *source=(const char *)in, *limit=(const char *)in+sizeof(in);  local
 2512  const char *source=(const char *)in;  local
 2545  const char *source=(const char *)in, *limit=(const char *)in+sizeof(in);  local
 2587  const char *source=(const char *)in, *limit=(const char *)in+sizeof(in);  local
 2638  const char *source=(const char *)in, *limit=(const char *)in+sizeof(in);  local
 2673  const uint8_t *source = sourceData;  local
 2746  const char *source=(const char *)in, *limit=(const char *)in+sizeof(in);  local
 3005  const UChar*source = in;  local
 3773  char source[] = { 0x1b,0x24,0x42,0x3d,0x45,0x1b,0x28,0x4a,0x0d,0x0a,  local
 4154  static const char* source = "\\x1b\\x24\\x29\\x43\\x6b\\x6b\\x6e\\x6e\\x6a\\x68\\x70\\x6f\\x69\\x75\\x79\\x71\\x77\\x65\\x68\\x67\\x0A"  local
 4655  const char *source=(const char *)in, *limit=(const char *)in+sizeof(in);  local
 4946  const char *source=(const char *)pszLMBCS;  local
 5463  const char* source = data;  local
 5516  const char* source = data;  local
 [all...]
 | 
| /external/srec/tools/thirdparty/OpenFst/fst/lib/ | 
| encode.h | 131   bool Write(ostream &strm, const string &source) const { 144       LOG(ERROR) << "EncodeTable::Write: write failed: " << source;
 148   bool Read(istream &strm, const string &source) {
 154       LOG(ERROR) << "EncodeTable::Read: Bad encode table header: " << source;
 161       LOG(ERROR) << "EncodeTable::Read: read failed: " << source;
 173       LOG(ERROR) << "EncodeTable::Read: read failed: " << source;
 277   bool Write(ostream &strm, const string& source) {
 278     return table_->Write(strm, source);
 291                                const string& source, EncodeType type) {
 293     bool r = table->Read(strm, source);
 [all...]
 | 
| /external/v8/test/mjsunit/regress/ | 
| regress-crbug-3184.js | 2 // Redistribution and use in source and binary forms, with or without 6 //     * Redistributions of source code must retain the above copyright
 28 Object.extend = function (dest, source) {
 29   for (property in source) dest[property] = source[property];
 
 | 
| /system/media/opensles/libopensles/ | 
| IOutputMixExt.c | 2  * Copyright (C) 2010 The Android Open Source Project 237                 const stereo *source = (const stereo *) track->mReader;  local
 243                             for (j = 0; j < actual; j += sizeof(stereo), ++mixBuffer, ++source) {
 244                                 mixBuffer->left += (short) (source->left * track->mGains[0]);
 245                                 mixBuffer->right += (short) (source->right * track->mGains[1]);
 249                             for (j = 0; j < actual; j += sizeof(stereo), ++mixBuffer, ++source) {
 250                                 mixBuffer->left += source->left;
 251                                 mixBuffer->right += source->right;
 257                             for (j = 0; j < actual; j += sizeof(stereo), ++mixBuffer, ++source) {
 258                                 mixBuffer->left = (short) (source->left * track->mGains[0])
 [all...]
 |