| /external/quake/quake/src/QW/client/ | 
| menu.c | 153 	byte	*dest, *source;  local 158 	source = identityTable;
 159 	memcpy (dest, source, 256);
 162 		memcpy (dest + TOP_RANGE, source + top, 16);
 165 			dest[TOP_RANGE+j] = source[top+15-j];
 168 		memcpy (dest + BOTTOM_RANGE, source + bottom, 16);
 171 			dest[BOTTOM_RANGE+j] = source[bottom+15-j];
 
 | 
| /external/quake/quake/src/WinQuake/ | 
| net_ipx.cpp | 77 	IPXaddr			source;
  member in struct:__anon14592 480 		Q_memcpy(&((struct sockaddr_ipx *)addr)->sipx_addr, rcvbuf->header.source.network, sizeof(IPXaddr));
 
 | 
| /external/srec/tools/thirdparty/OpenFst/fst/lib/ | 
| fst.h | 37   string source;                // Where you're reading from  member in struct:fst::FstReadOptions 46       : source(src), header(hdr), isymbols(isym), osymbols(osym) {}
 51   string source;                    // Where you're writing to  member in struct:fst::FstWriteOptions
 59       : source(src), write_header(hdr),
 96   bool Read(istream &strm, const string &source);
 97   bool Write(ostream &strm, const string &source) const;
 155       if (!hdr.Read(strm, opts.source))
 165                  << "\"): " << ropts.source;
 462     else if (!hdr->Read(strm, opts.source))
 466                  << type_ << "\": " << opts.source;
 [all...]
 | 
| /external/tcpdump/ | 
| print-pgm.c | 2  * Redistribution and use in source and binary forms, with or without 3  * modification, are permitted provided that: (1) source code
 99     PGM_SPM = 0,		/* source path message */
 367 	    const void *source, *group;  local
 379 	     * Skip past the source, saving info along the way
 399 	    source = bp;
 429 	    inet_ntop(source_af, source, source_buf, sizeof(source_buf));
 
 | 
| sctpHeader.h | 5  * Redistribution and use in source and binary forms, with or without 9  * 1. Redistributions of source code must retain the above copyright
 63   u_int16_t source;  member in struct:sctpHeader
 
 | 
| /external/v8/src/ | 
| handles.cc | 2 // Redistribution and use in source and binary forms, with or without 6 //     * Redistributions of source code must retain the above copyright
 393 // source.
 399   if (!script->source()->IsString()) {
 400     ASSERT(script->source()->IsUndefined());
 407   Handle<String> src(String::cast(script->source()), isolate);
 522   // Slow mode: we do not have line_ends. We have to iterate through source.
 523   if (!script->source()->IsString()) {
 526   String* source = String::cast(script->source());  local
 [all...]
 | 
| /external/webkit/Source/JavaScriptCore/runtime/ | 
| JSONObject.cpp | 4  * Redistribution and use in source and binary forms, with or without 7  * 1. Redistributions of source code must retain the above copyright
 588 /* Source for JSONObject.lut.h
 814     UString source = value.toString(exec);  local
 819     LiteralParser jsonParser(exec, source, LiteralParser::StrictJSON);
 
 | 
| /external/webkit/Source/WebCore/platform/text/ | 
| BidiResolver.h | 81     BidiEmbedding(WTF::Unicode::Direction direction, BidiEmbeddingSource source) 83     , m_source(source)
 88     BidiEmbeddingSource source() const { return m_source; }  function in class:WebCore::BidiEmbedding
 253 void BidiResolver<Iterator, Run>::embed(WTF::Unicode::Direction dir, BidiEmbeddingSource source)
 258     m_currentExplicitEmbeddingSequence.append(BidiEmbedding(dir, source));
 377                 toContext = BidiContext::create(level, direction, override, embedding.source(), toContext.get());
 
 | 
| /frameworks/av/media/libmedia/ | 
| IAudioPolicyService.cpp | 3 ** Copyright 2009, The Android Open Source Project 344     virtual bool isSourceActive(audio_source_t source) const
 348         data.writeInt32((int32_t) source);
 629             audio_source_t source = (audio_source_t) data.readInt32();  local
 630             reply->writeInt32( isSourceActive(source));
 
 | 
| /frameworks/av/media/libmediaplayerservice/nuplayer/ | 
| NuPlayer.cpp | 2  * Copyright (C) 2010 The Android Open Source Project 146 void NuPlayer::setDataSourceAsync(const sp<IStreamSource> &source) {
 154         msg->setObject("source", new MP4Source(notify, source));
 156         msg->setObject("source", new StreamingSource(notify, source));
 186     sp<Source> source;  local
 188         source = new HTTPLiveSource(notify, url, headers, mUIDValid, mUID);
 190         source = new RTSPSource(notify, url, headers, mUIDValid, mUID)
 209  sp<Source> source = new GenericSource(notify, fd, offset, length);  local
 [all...]
 | 
| /frameworks/av/media/libstagefright/ | 
| MPEG2TSWriter.cpp | 2  * Copyright (C) 2010 The Android Open Source Project 38     SourceInfo(const sp<MediaSource> &source);
 96 MPEG2TSWriter::SourceInfo::SourceInfo(const sp<MediaSource> &source)
 97     : mSource(source),
 102     mLooper->setName("MPEG2TSWriter source");
 539 status_t MPEG2TSWriter::addSource(const sp<MediaSource> &source) {
 542     sp<MetaData> meta = source->getFormat();
 551     sp<SourceInfo> info = new SourceInfo(source);
 570         notify->setInt32("source-index", i);
 608             CHECK(msg->findInt32("source-index", &sourceIndex))
 615  sp<SourceInfo> source = mSources.editItemAt(sourceIndex);  local
 651  sp<SourceInfo> source = mSources.editItemAt(sourceIndex);  local
 663  const sp<SourceInfo> &source = mSources.editItemAt(i);  local
 [all...]
 | 
| /frameworks/av/media/libstagefright/httplive/ | 
| LiveSession.cpp | 2  * Copyright (C) 2010 The Android Open Source Project 224     sp<DataSource> source;  local
 227         source = new FileSource(url + 7);
 257         source = mHTTPDataSource;
 261     status_t err = source->getSize(&size);
 298         ssize_t n = source->readAt(
 640                 // reseting the data source will have had the
 
 | 
| /frameworks/av/media/libstagefright/omx/tests/ | 
| OMXHarness.cpp | 2  * Copyright (C) 2009 The Android Open Source Project 244     sp<DataSource> source = DataSource::CreateFromURI(uri);  local
 246     if (source == NULL) {
 250     return MediaExtractor::Create(source);
 577     sp<MediaSource> source = CreateSourceForMime(mime);  local
 579     if (source == NULL) {
 588     if (source == NULL || seekSource == NULL) {
 595             mOMX, source->getFormat(), false /* createEncoder */,
 596             source, componentName);
 603     CHECK(source->getFormat()->findInt64(kKeyDuration, &durationUs))
 [all...]
 | 
| /frameworks/av/media/libstagefright/rtsp/ | 
| MyTransmitter.h | 2  * Copyright (C) 2010 The Android Open Source Project 110         sp<MediaSource> source = new VideoSource(width, height);  local
 122                 true /* createEncoder */, source);
 496                 CHECK(GetAttribute(transport.c_str(), "source", &value));
 
 | 
| /frameworks/av/media/libstagefright/wifi-display/source/ | 
| PlaybackSession.cpp | 2  * Copyright 2012, The Android Open Source Project 64     void setRepeaterSource(const sp<RepeaterSource> &source);
 280         const sp<RepeaterSource> &source) {
 281     mRepeaterSource = source;
 812         bool isVideo, const sp<MediaSource> &source, bool isRepeaterSource,
 840     status_t err = convertMetaDataToMessage(source->getFormat(), &format);
 867     sp<MediaPuller> puller = new MediaPuller(source, notify);
 881         track->setRepeaterSource(static_cast<RepeaterSource *>(source.get()));
 919     sp<SurfaceMediaSource> source = new SurfaceMediaSource(width, height);  local
 921     source->setUseAbsoluteTimestamps()
 [all...]
 | 
| /frameworks/base/core/java/android/content/ | 
| ContentProviderOperation.java | 2  * Copyright (C) 2009 The Android Open Source Project 68     private ContentProviderOperation(Parcel source) {
 69         mType = source.readInt();
 70         mUri = Uri.CREATOR.createFromParcel(source);
 71         mValues = source.readInt() != 0 ? ContentValues.CREATOR.createFromParcel(source) : null;
 72         mSelection = source.readInt() != 0 ? source.readString() : null;
 73         mSelectionArgs = source.readInt() != 0 ? source.readStringArray() : null
 [all...]
 | 
| /frameworks/base/graphics/java/android/graphics/drawable/ | 
| AnimatedRotateDrawable.java | 2  * Copyright (C) 2009 The Android Open Source Project 313         public AnimatedRotateState(AnimatedRotateState source, AnimatedRotateDrawable owner,
 315             if (source != null) {
 317                     mDrawable = source.mDrawable.getConstantState().newDrawable(res);
 319                     mDrawable = source.mDrawable.getConstantState().newDrawable();
 322                 mDrawable.setLayoutDirection(source.mDrawable.getLayoutDirection());
 323                 mPivotXRel = source.mPivotXRel;
 324                 mPivotX = source.mPivotX;
 325                 mPivotYRel = source.mPivotYRel;
 326                 mPivotY = source.mPivotY
 [all...]
 | 
| RotateDrawable.java | 2  * Copyright (C) 2007 The Android Open Source Project 311         public RotateState(RotateState source, RotateDrawable owner, Resources res) {
 312             if (source != null) {
 314                     mDrawable = source.mDrawable.getConstantState().newDrawable(res);
 316                     mDrawable = source.mDrawable.getConstantState().newDrawable();
 319                 mDrawable.setLayoutDirection(source.mDrawable.getLayoutDirection());
 320                 mPivotXRel = source.mPivotXRel;
 321                 mPivotX = source.mPivotX;
 322                 mPivotYRel = source.mPivotYRel;
 323                 mPivotY = source.mPivotY
 [all...]
 | 
| /frameworks/base/libs/androidfw/ | 
| InputTransport.cpp | 2 // Copyright 2010 The Android Open Source Project 240         int32_t source,
 250     ALOGD("channel '%s' publisher ~ publishKeyEvent: seq=%u, deviceId=%d, source=0x%x, "
 254             deviceId, source, action, flags, keyCode, scanCode, metaState, repeatCount,
 267     msg.body.key.source = source;
 282         int32_t source,
 298     ALOGD("channel '%s' publisher ~ publishMotionEvent: seq=%u, deviceId=%d, source=0x%x, "
 304             deviceId, source, action, flags, edgeFlags, metaState, buttonState,
 323     msg.body.motion.source = source
 577  int32_t source = msg->body.motion.source;  local
 [all...]
 | 
| /frameworks/base/media/java/android/media/ | 
| ThumbnailUtils.java | 2  * Copyright (C) 2009 The Android Open Source Project 201      * @param source original bitmap source
 206             Bitmap source, int width, int height) {
 207         return extractThumbnail(source, width, height, OPTIONS_NONE);
 213      * @param source original bitmap source
 219             Bitmap source, int width, int height, int options) {
 220         if (source == null) {
 225         if (source.getWidth() < source.getHeight())
 [all...]
 | 
| /frameworks/base/media/mca/filterfw/java/android/filterfw/core/ | 
| FilterGraph.java | 2  * Copyright (C) 2011 The Android Open Source Project 82     public void connect(Filter source,
 86         if (source == null || target == null) {
 88         } else if (!containsFilter(source) || !containsFilter(target)) {
 92         OutputPort outPort = source.getOutputPort(outputName);
 96                                        source + "!");
 109         Filter source = getFilter(sourceName);  local
 111         if (source == null) {
 113                 "Attempting to connect unknown source filter '" + sourceName + "'!");
 118         connect(source, outputName, target, inputName)
 [all...]
 | 
| /frameworks/opt/net/voip/src/java/com/android/server/sip/ | 
| SipHelper.java | 2  * Copyright (C) 2010 The Android Open Source Project 509             Object source = event.getSource();  local
 510             if (source instanceof Transaction) {
 511                 return getCallId(((Transaction) source));
 512             } else if (source instanceof Dialog) {
 513                 return getCallId((Dialog) source);
 
 | 
| /hardware/libhardware/modules/audio_remote_submix/ | 
| audio_hw.cpp | 2  * Copyright (C) 2012 The Android Open Source Project 70     //  - to the virtual audio source == what is captured by the component
 71     //    which "records" the submix / virtual audio source, and handles it as needed.
 417         // about to read from audio source
 418         sp<MonoPipeReader> source = in->dev->rsxSource.get();  local
 419         if (source == 0) {
 434             frames_read = source->read(buff, remaining_frames, AudioBufferProvider::kInvalidPTS);
 445         // done using the source
 447         source.clear();
 576         MonoPipeReader* source = new MonoPipeReader(sink)  local
 [all...]
 | 
| /libcore/json/src/test/java/org/json/ | 
| JSONObjectTest.java | 2  * Copyright (C) 2010 The Android Open Source Project 746         JSONObject source = new JSONObject();  local
 747         source.put("a", JSONObject.NULL);
 748         source.put("b", false);
 749         source.put("c", 5);
 751         JSONObject copy = new JSONObject(source, new String[] { "a", "c" });
 759         JSONObject source = new JSONObject();  local
 760         source.put("a", JSONObject.NULL);
 761         source.put("b", false);
 762         source.put("c", 5)
 [all...]
 | 
| /libcore/luni/src/main/java/java/nio/ | 
| DatagramChannelImpl.java | 246     public int send(ByteBuffer source, SocketAddress socketAddress) throws IOException { 247         checkNotNull(source);
 264                 int oldPosition = source.position();
 265                 sendCount = IoBridge.sendto(fd, source, 0, isa.getAddress(), isa.getPort());
 267                     source.position(oldPosition + sendCount);
 381             ByteBuffer source = sources[val];  local
 382             int oldPosition = source.position();
 383             writeBuf.put(source);
 384             source.position(oldPosition);
 391             ByteBuffer source = sources[val]  local
 [all...]
 |