HomeSort by relevance Sort by last modified time
    Searched defs:source (Results 51 - 75 of 4045) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/skia/gm/
subsetshader.cpp 4 * Use of this source code is governed by a BSD-style license that can be
16 SkBitmap source; local
17 if (!GetResourceAsBitmap("images/color_wheel.png", &source)) {
20 SkIRect left = SkIRect::MakeWH(source.width()/2, source.height());
21 SkIRect right = SkIRect::MakeXYWH(source.width()/2, 0,
22 source.width()/2, source.height());
24 source.extractSubset(&leftBitmap, left);
25 source.extractSubset(&rightBitmap, right)
    [all...]
  /external/skqp/gm/
subsetshader.cpp 4 * Use of this source code is governed by a BSD-style license that can be
16 SkBitmap source; local
17 if (!GetResourceAsBitmap("images/color_wheel.png", &source)) {
20 SkIRect left = SkIRect::MakeWH(source.width()/2, source.height());
21 SkIRect right = SkIRect::MakeXYWH(source.width()/2, 0,
22 source.width()/2, source.height());
24 source.extractSubset(&leftBitmap, left);
25 source.extractSubset(&rightBitmap, right)
    [all...]
  /external/strace/tests/
mount.c 7 * Redistribution and use in source and binary forms, with or without
10 * 1. Redistributions of source code must retain the above copyright
48 static const char source[] = "mount_source"; local
53 int rc = mount(source, target, fstype, 15, data);
55 source, target, fstype, str_ro_nosuid_nodev_noexec,
58 rc = mount(source, target, fstype, MS_RELATIME | 15, data);
60 source, target, fstype,
64 rc = mount(source, target, fstype, MS_MGC_VAL, data);
66 source, target, fstype, "MS_MGC_VAL", data, rc, errno2name());
68 rc = mount(source, target, fstype, MS_MGC_VAL | 15, data)
    [all...]
  /external/strace/tests-m32/
mount.c 7 * Redistribution and use in source and binary forms, with or without
10 * 1. Redistributions of source code must retain the above copyright
48 static const char source[] = "mount_source"; local
53 int rc = mount(source, target, fstype, 15, data);
55 source, target, fstype, str_ro_nosuid_nodev_noexec,
58 rc = mount(source, target, fstype, MS_RELATIME | 15, data);
60 source, target, fstype,
64 rc = mount(source, target, fstype, MS_MGC_VAL, data);
66 source, target, fstype, "MS_MGC_VAL", data, rc, errno2name());
68 rc = mount(source, target, fstype, MS_MGC_VAL | 15, data)
    [all...]
  /external/strace/tests-mx32/
mount.c 7 * Redistribution and use in source and binary forms, with or without
10 * 1. Redistributions of source code must retain the above copyright
48 static const char source[] = "mount_source"; local
53 int rc = mount(source, target, fstype, 15, data);
55 source, target, fstype, str_ro_nosuid_nodev_noexec,
58 rc = mount(source, target, fstype, MS_RELATIME | 15, data);
60 source, target, fstype,
64 rc = mount(source, target, fstype, MS_MGC_VAL, data);
66 source, target, fstype, "MS_MGC_VAL", data, rc, errno2name());
68 rc = mount(source, target, fstype, MS_MGC_VAL | 15, data)
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/python/
numpy_bridge.h 98 NativeT* source = static_cast<NativeT*>(PyArray_DATA(py_array)); local
100 std::copy(source, source + PyArray_SIZE(py_array), dest.data());
106 auto source = literal.data<NativeT>(); local
107 std::copy(source.begin(), source.end(), dest);
  /external/turbine/java/com/google/turbine/parse/
Lexer.java 32 /** Returns the source file for diagnostics. */
33 SourceFile source(); method in interface:Lexer
  /external/v8/samples/
hello-world.cc 2 // Use of this source code is governed by a BSD-style license that can be
39 // Create a string containing the JavaScript source code.
40 Local<String> source = local
44 // Compile the source code.
45 Local<Script> script = Script::Compile(context, source).ToLocalChecked();
  /external/v8/src/builtins/
builtins-json.cc 2 // Use of this source code is governed by a BSD-style license that can be
19 Handle<Object> source = args.atOrUndefined(isolate, 1); local
23 Object::ToString(isolate, source));
  /frameworks/av/media/libaudioclient/include/media/
IAudioPolicyServiceClient.h 2 * Copyright (C) 2009 The Android Open Source Project
32 audio_source_t source; member in struct:android::record_client_info
  /frameworks/av/media/libstagefright/
DataSourceFactory.cpp 2 * Copyright (C) 2017 The Android Open Source Project
43 sp<DataSource> source; local
45 source = new FileSource(uri + 7);
73 ALOGE("Failed to connect http source!");
81 source = NuCachedSource2::Create(
86 source = DataURISource::Create(uri);
89 source = new FileSource(uri);
92 if (source == NULL || source->initCheck() != OK) {
96 return source;
100 sp<FileSource> source = new FileSource(fd, offset, length); local
    [all...]
  /frameworks/av/services/mediaextractor/
MediaExtractorService.cpp 2 * Copyright (C) 2013 The Android Open Source Project
54 sp<DataSource> source = DataSourceFactory::CreateFromFd(fd, offset, length); local
55 return CreateIDataSourceFromDataSource(source);
  /libcore/ojluni/src/main/java/java/nio/channels/
Pipe.java 36 * Pipe.SinkChannel sink} channel and a readable {@link Pipe.SourceChannel source}
38 * from source channel in exactlyAthe order in which they were written.
43 * buffer up to a certain number of bytes between the sink and source channels,
77 * <p> Pipe-source channels only support reading, so this method
128 * Returns this pipe's source channel.
130 * @return This pipe's source channel
132 public abstract SourceChannel source(); method in class:Pipe
  /libcore/ojluni/src/main/java/java/text/
CollationKey.java 30 * The original version of this source code and documentation is copyrighted
116 * @return the source string of this CollationKey
119 return source;
137 * @param source the source string
138 * @exception NullPointerException if {@code source} is null
141 protected CollationKey(String source) {
142 if (source==null){
145 this.source = source;
148 final private String source; field in class:CollationKey
    [all...]
  /packages/apps/TV/tuner/src/com/android/tv/tuner/source/
TsDataSource.java 2 * Copyright (C) 2016 The Android Open Source Project
17 package com.android.tv.tuner.source;
TsStreamer.java 2 * Copyright (C) 2015 The Android Open Source Project
17 package com.android.tv.tuner.source;
48 * android.media.MediaExtractor}. The source will start from the position where it is created.
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
Transition.java 2 * Copyright (C) 2017 The Android Open Source Project
24 public State source; field in class:Transition
28 public Transition(State source, @StateMachine.Event int event, State destination) {
29 this.source = source;
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
PhotoProcessorTest.java 2 * Copyright (C) 2012 The Android Open Source Project
40 final Drawable source = getTestContext().getResources().getDrawable( local
42 final Bitmap sourceBitmap = ((BitmapDrawable) source).getBitmap();
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
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...]
  /frameworks/base/core/tests/coretests/src/android/content/pm/
PackageParserCacheHelperTest.java 2 * Copyright (C) 2017 The Android Open Source Project
36 final Bundle source = new Bundle(); local
37 source.putInt("i1", 123);
38 source.putString("s1", "abcdef");
39 source.putString("s2", "xyz");
40 source.putString("s3", null);
44 source.putBundle("b1", nest);
49 source.writeToParcel(p, 0);
62 assertEquals(source.get("i1"), dest.get("i1"));
63 assertEquals(source.get("s1"), dest.get("s1"))
    [all...]
  /frameworks/base/core/tests/coretests/src/android/os/
BundleTest.java 2 * Copyright (C) 2017 The Android Open Source Project
43 final Bundle source = new Bundle(); local
44 source.putString("string", "abc");
45 source.putInt("int", 1);
49 source.putParcelable("fd", pipe[0]);
53 source.writeToParcel(p, 0);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
PipeTest.java 51 * @tests java.nio.channels.Pipe#source()
55 SourceChannel source = pipe.source(); local
56 assertTrue(source.isBlocking());
  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityWindowQueryTest.java 2 * Copyright (C) 2012 The Android Open Source Project
162 // Make sure the source window cannot be accessed.
216 // Get the source window.
253 // Get the source window.
446 // check that last event source
447 AccessibilityNodeInfo source = awaitedEvent.getSource(); local
448 assertNotNull(source);
454 source.getBoundsInParent(sourceBounds);
462 assertEquals(button.getPackageName(), source.getPackageName());
463 assertEquals(button.getClassName(), source.getClassName())
    [all...]
  /external/guava/guava-tests/test/com/google/common/io/
CharSourceTester.java 36 * Generates tests of a all methods on a {@code CharSource} given various inputs the source is
65 private CharSource source; field in class:CharSourceTester
75 this.source = factory.createSource(data);
79 Reader reader = source.openStream();
94 BufferedReader reader = source.openBufferedStream();
111 assertEquals(expected.length(), source.copyTo(builder));
119 assertEquals(expected.length(), source.copyTo(sink));
125 String string = source.read();
131 assertNull(source.readFirstLine());
133 assertEquals(expectedLines.get(0), source.readFirstLine())
    [all...]
  /cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
CorruptApkTests.java 2 * Copyright (C) 2018 The Android Open Source Project
123 InputStreamSource source = device.getLogcat(200 * 1024); local
125 assertNotNull(source);
127 FileUtil.writeToFile(source.createInputStream(), tmpTxtFile);
132 source.close();

Completed in 907 milliseconds

1 23 4 5 6 7 8 91011>>