/external/tensorflow/tensorflow/core/util/proto/ |
descriptor_pool_registry.h | 41 // Returns a pointer to a descriptor pool function for the given source. 42 DescriptorPoolFn* Get(const string& source); 45 void Register(const string& source, const DescriptorPoolFn& pool_fn); 56 const string& source, 58 DescriptorPoolRegistry::Global()->Register(source, pool_fn); 64 #define REGISTER_DESCRIPTOR_POOL(source, pool_fn) \ 65 REGISTER_DESCRIPTOR_POOL_UNIQ_HELPER(__COUNTER__, source, pool_fn) 67 #define REGISTER_DESCRIPTOR_POOL_UNIQ_HELPER(ctr, source, pool_fn) \ 68 REGISTER_DESCRIPTOR_POOL_UNIQ(ctr, source, pool_fn) 70 #define REGISTER_DESCRIPTOR_POOL_UNIQ(ctr, source, pool_fn) [all...] |
descriptor_pool_registry.cc | 30 const string& source) { 31 auto found = fns_.find(source); 37 const string& source, 39 auto existing = Get(source); 41 << "descriptor pool for source: " << source << " already registered"; 42 fns_.insert(std::pair<const string&, DescriptorPoolFn>(source, pool_fn));
|
/external/v8/src/ |
lookup-cache-inl.h | 2 // Use of this source code is governed by a BSD-style license that can be 16 int DescriptorLookupCache::Hash(Object* source, Name* name) { 20 static_cast<uint32_t>(reinterpret_cast<uintptr_t>(source)) >> 26 int DescriptorLookupCache::Lookup(Map* source, Name* name) { 27 int index = Hash(source, name); 29 if ((key.source == source) && (key.name == name)) return results_[index]; 33 void DescriptorLookupCache::Update(Map* source, Name* name, int result) { 35 int index = Hash(source, name); 37 key.source = source [all...] |
/external/autotest/frontend/client/src/autotest/common/ |
SimpleChangeListenerCollection.java | 7 private Object source; field in class:SimpleChangeListenerCollection 10 public SimpleChangeListenerCollection(Object source) { 11 this.source = source; 20 listener.onChange(source);
|
/external/guava/guava/src/com/google/common/eventbus/ |
DeadEvent.java | 36 private final Object source; field in class:DeadEvent 42 * @param source object broadcasting the DeadEvent (generally the 46 public DeadEvent(Object source, Object event) { 47 this.source = checkNotNull(source); 55 * @return the source of this event. 58 return source;
|
/external/skia/tools/sk_app/android/ |
main_android.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 45 struct android_poll_source* source; local 49 (void**)&source)) >= 0) { 52 if (source != NULL) { 53 source->process(state, source);
|
/external/skqp/tools/sk_app/android/ |
main_android.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 45 struct android_poll_source* source; local 49 (void**)&source)) >= 0) { 52 if (source != NULL) { 53 source->process(state, source);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
MultiplyTimeScaleTrack.java | 37 Track source; field in class:MultiplyTimeScaleTrack 40 public MultiplyTimeScaleTrack(Track source, int timeScaleFactor) { 41 this.source = source; 46 return source.getSampleDescriptionBox(); 50 return adjustTts(source.getDecodingTimeEntries(), timeScaleFactor); 54 return adjustCtts(source.getCompositionTimeEntries(), timeScaleFactor); 58 return source.getSyncSamples(); 62 return source.getSampleDependencies(); 66 TrackMetaData trackMetaData = (TrackMetaData) source.getTrackMetaData().clone() [all...] |
/frameworks/av/media/libstagefright/ |
InterfaceUtils.cpp | 2 * Copyright (C) 2017 The Android Open Source Project 26 sp<DataSource> CreateDataSourceFromIDataSource(const sp<IDataSource> &source) { 27 if (source == nullptr) { 30 return new TinyCacheSource(new CallbackDataSource(source)); 33 sp<IDataSource> CreateIDataSourceFromDataSource(const sp<DataSource> &source) { 34 if (source == nullptr) { 37 return RemoteDataSource::wrap(source); 42 const sp<DataSource> &source, 47 return RemoteMediaExtractor::wrap(extractor, source, plugin); 50 sp<MediaSource> CreateMediaSourceFromIMediaSource(const sp<IMediaSource> &source) { [all...] |
/external/libjpeg-turbo/ |
rdrle.c | 86 rle_source_ptr source = (rle_source_ptr)sinfo; local 93 source->header = *rle_hdr_init(NULL); 94 source->header.rle_file = source->pub.input_file; 95 switch (rle_get_setup(&(source->header))) { 118 width = source->header.xmax - source->header.xmin + 1; 119 height = source->header.ymax - source->header.ymin + 1; 120 source->header.xmin = 0; /* realign horizontally * 192 rle_source_ptr source = (rle_source_ptr)sinfo; local 210 rle_source_ptr source = (rle_source_ptr)sinfo; local 246 rle_source_ptr source = (rle_source_ptr)sinfo; local 375 rle_source_ptr source; local [all...] |
/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...] |
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
ConvertUTF.cpp | 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/common/device-side/util/src/com/android/compatibility/common/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();
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/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/eigen/unsupported/test/ |
cxx11_tensor_empty.cpp | 6 // This Source Code Form is subject to the terms of the Mozilla 17 Tensor<float, 2> source; local 18 Tensor<float, 2> tgt1 = source; 19 Tensor<float, 2> tgt2(source); 27 TensorFixedSize<float, Sizes<0> > source; local 28 TensorFixedSize<float, Sizes<0> > tgt1 = source; 29 TensorFixedSize<float, Sizes<0> > tgt2(source);
|
/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/pdfium/fxbarcode/ |
BC_UtilCodingConvert.h | 2 // Use of this source code is governed by a BSD-style license that can be 18 static void UnicodeToLocale(const WideString& source, ByteString& result); 19 static void LocaleToUtf8(const ByteString& source, ByteString& result); 20 static void LocaleToUtf8(const ByteString& source, 22 static void Utf8ToLocale(const std::vector<uint8_t>& source, 24 static void Utf8ToLocale(const uint8_t* source, 27 static void UnicodeToUTF8(const WideString& source, ByteString& result);
|
/external/v8/src/snapshot/ |
natives-common.cc | 2 // Use of this source code is governed by a BSD-style license that can be 17 Vector<const char> source; local 22 source = Natives::GetScriptSource(index); 26 source = ExtraNatives::GetScriptSource(index); 30 source = ExperimentalExtraNatives::GetScriptSource(index); 35 data_ = source.start(); 36 length_ = source.length();
|
/frameworks/av/media/extractors/mpeg2/ |
ExtractorBundle.cpp | 2 * Copyright (C) 2017 The Android Open Source Project 50 CDataSource *source, 54 DataSourceHelper helper(source); 57 CDataSource *source, 59 return wrap(new MPEG2TSExtractor(new DataSourceHelper(source)));}; 62 CDataSource *source, 64 return wrap(new MPEG2PSExtractor(new DataSourceHelper(source)));};
|
/external/libvpx/libvpx/vpx_dsp/ppc/ |
inv_txfm_vsx.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. 25 #define LOAD_INPUT16(load, source, offset, step, in) \ 26 in[0] = load(offset, source); \ 27 in[1] = load((step) + (offset), source); \ 28 in[2] = load(2 * (step) + (offset), source); \ 29 in[3] = load(3 * (step) + (offset), source); \ 30 in[4] = load(4 * (step) + (offset), source); \ 31 in[5] = load(5 * (step) + (offset), source); \ [all...] |
/external/wayland/src/ |
event-loop.c | 55 int (*dispatch)(struct wl_event_source *source, 74 wl_event_source_fd_dispatch(struct wl_event_source *source, 77 struct wl_event_source_fd *fd_source = (struct wl_event_source_fd *) source; 90 return fd_source->func(fd_source->fd, mask, source->data); 99 struct wl_event_source *source, uint32_t mask, void *data) 103 if (source->fd < 0) { 104 free(source); 108 source->loop = loop; 109 source->data = data; 110 wl_list_init(&source->link) 134 struct wl_event_source_fd *source; local 195 struct wl_event_source_timer *source; local 258 struct wl_event_source_signal *source; local 292 struct wl_event_source_idle *source; local 338 struct wl_event_source *source, *next; local 383 struct wl_event_source *source, *next; local 397 struct wl_event_source_idle *source; local 411 struct wl_event_source *source; local [all...] |
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/doxygen/ |
sequence_equal.cpp | 8 auto source = rxcpp::observable<>::range(1, 3); variable 9 auto values = source.sequence_equal(rxcpp::observable<>::range(1, 3));
|
/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);
|