| /external/tensorflow/tensorflow/core/graph/ |
| graph_constructor_test.cc | 253 {"Connecting to invalid output 1 of source node W1"}); 900 const string& source = graph_.FindNodeId(Graph::kSourceId)->name(); local 907 EXPECT_TRUE(HasControlEdge(source, sink)); 941 EXPECT_EQ(5 + 2, graph_.num_nodes()); // Added nodes + source and sink 948 EXPECT_TRUE(HasControlEdge(source, sink)); 949 EXPECT_TRUE(HasControlEdge(source, "A")); 950 EXPECT_TRUE(HasControlEdge(source, "X")); 964 graph_.num_nodes()); // Added nodes + original nodes + source and sink 977 EXPECT_TRUE(HasControlEdge(source, sink)); 978 EXPECT_TRUE(HasControlEdge(source, "A")) 2437 const string& source = graph_.FindNodeId(Graph::kSourceId)->name(); local [all...] |
| graph_test.cc | 157 Node* source = graph_.source_node(); local 158 EXPECT_NE(source, nullptr); 161 VerifyNodes(source, {}, {sink}); 162 VerifyNodes(sink, {source}, {}); 488 // Add control edge from source. 491 // Check that we don't include source input in the NodeDef.
|
| /external/tensorflow/tensorflow/core/grappler/optimizers/ |
| dependency_optimizer.cc | 505 // Run the longest path in DAG algorithm for each source node that has control 518 for (int source = 0; source < num_nodes; ++source) { 520 for (const auto& control_output : control_outputs[source]) { 525 if (highest_control_target <= source) { 528 std::fill(longest_distance.begin() + source, 530 for (int target = source + 1; target <= highest_control_target; ++target) { 532 // If the input node is before source in the topo order, no path 533 // source -> input -> target can exits and we can skip it 565 const int source = slot_and_source.second; local [all...] |
| /external/tensorflow/tensorflow/core/kernels/ |
| unicode_ops.cc | 110 // Iterates through a source string given the provided input UConverter specific 114 // loci in the source string, they will be provided as a 0xFFFD codepoint to 122 const char* source = str.data(); local 139 while (source < limit) { 140 const char* source_pre_fetch = source; 142 UChar32 next_char = ucnv_getNextUChar(converter, &source, limit, &status); 144 source = limit; 146 int bytes_consumed = source - source_pre_fetch; 335 icu::UnicodeString source; local 338 std::bind(&UnicodeTranscodeOp::TranslateCodepoints, this, &source, [all...] |
| /external/toybox/toys/pending/ |
| traceroute.c | 36 -s IP address to use as the source address 39 -g Loose source route gateway (8 max) (supports IPV4 only) 547 optlist[1] = IPOPT_LSRR;// loose source route option 582 struct sockaddr_in source; local 584 memset(&source, 0, sizeof(source)); 585 if (!inet_aton(TT.src_ip, &(source.sin_addr))) 588 (struct sockaddr*)&source, sizeof(struct sockaddr_in))) 589 perror_exit("can't set multicast source interface"); 590 if (bind(TT.snd_sock,(struct sockaddr*)&source, 604 struct sockaddr_in6 source; local [all...] |
| /external/turbine/java/com/google/turbine/binder/ |
| Binder.java | 146 unit.source(), type.decl().position(), ErrorKind.DUPLICATE_DECLARATION, type.sym()); 177 // TODO(cushon): add support for diagnostics without a source position, and make this one 191 ImportIndex.create(log.withSource(unit.source()), importResolver, tli, unit.imports()); 194 new MemberImportIndex(unit.source(), importResolver, tli, unit.imports()); 204 new PackageSourceBoundModule(module, scope, memberImports, unit.source())); 207 env.put(type.sym(), new PackageSourceBoundClass(type, scope, memberImports, unit.source())); 230 return HierarchyBinder.bind(log.withSource(base.source()), sym, base, henv); 245 builder.put(sym, TypeBinder.bind(log.withSource(base.source()), henv, sym, base)); 322 info.source(),
|
| /external/turbine/java/com/google/turbine/types/ |
| Canonicalize.java | 70 SourceFile source, 75 return new Canonicalize(source, position, env).canonicalize(sym, type); 80 SourceFile source, 85 return new Canonicalize(source, position, env).canonicalizeClassTy(owner, classTy); 88 private final SourceFile source; field in class:Canonicalize 92 public Canonicalize(SourceFile source, int position, Env<ClassSymbol, TypeBoundClass> env) { 93 this.source = source; 133 // canonicalize each additional simple name that appeared in source 387 throw TurbineError.format(source, position, ErrorKind.CLASS_FILE_NOT_FOUND, canonOwner) [all...] |
| /external/u-boot/arch/arm/mach-tegra/ |
| clock.c | 163 void clock_ll_set_source_divisor(enum periph_id periph_id, unsigned source, 172 value |= source << OUT_CLK_SOURCE_31_30_SHIFT; 181 unsigned source) 188 source << OUT_CLK_SOURCE_31_30_SHIFT); 193 source << OUT_CLK_SOURCE_31_29_SHIFT); 198 source << OUT_CLK_SOURCE_31_28_SHIFT); 231 void clock_ll_set_source(enum periph_id periph_id, unsigned source) 233 clock_ll_set_source_bits(periph_id, MASK_BITS_31_30, source); 397 * Adjust peripheral PLL to use the given divider and source. 400 * @param source Source number (0-3 or 0-7 428 int source; local 443 int mux_bits, divider_bits, source; local 711 int source, mux_bits, divider_bits; local [all...] |
| /external/u-boot/arch/arm/mach-tegra/tegra20/ |
| warmboot.c | 283 u8 *source; /* Pointer to source */ local 287 source = (u8 *)(start + offsetof(struct wb_header, random_aes_block)); 290 err = sign_data_block(source, length, hash);
|
| /external/v8/src/compiler/ |
| simplified-operator.h | 2 // Use of this source code is governed by a BSD-style license that can be 404 ElementsTransition(Mode mode, Handle<Map> source, Handle<Map> target) 405 : mode_(mode), source_(source), target_(target) {} 408 Handle<Map> source() const { return source_; } function in class:v8::internal::AbortReason::final
|
| /external/v8/src/inspector/ |
| string-16.cc | 2 // Use of this source code is governed by a BSD-style license that can be 72 sourceExhausted, // partial character in source, but hit end 74 sourceIllegal // source sequence is illegal/malformed 81 const UChar* source = *sourceStart; local 83 while (source < sourceEnd) { 89 source; // In case we have to back up because of target overflow. 90 ch = static_cast<uint16_t>(*source++); 93 // If the 16 bits following the high surrogate are in the source buffer... 94 if (source < sourceEnd) { 95 UChar32 ch2 = static_cast<uint16_t>(*source); 296 const char* source = *sourceStart; local [all...] |
| wasm-translation.cc | 2 // Use of this source code is governed by a BSD-style license that can be 22 String16 source; member in struct:v8_inspector::WasmSourceInformation 29 WasmSourceInformation(String16 source, OffsetTable offset_table) 30 : source(std::move(source)), offset_table(std::move(offset_table)) { 33 size_t next_newline = this->source.find('\n', last_newline + 1); 36 next_newline = this->source.find('\n', last_newline + 1); 40 end_column = static_cast<int>(this->source.length()) - last_newline - 1; 323 return it->second->GetSourceInformation(isolate_, func_index).source;
|
| /external/v8/tools/ |
| profile.js | 2 // Redistribution and use in source and binary forms, with or without 6 // * Redistributions of source code must retain the above copyright 214 * Adds source positions for given code. 219 // CLI does not need source code => ignore. 223 * Adds script source code. 225 Profile.prototype.addScriptSource = function(script, source) { 226 // CLI does not need source code => ignore. 660 * source call tree. 967 printErr("Move: unknown source " + from); 995 this.codeEntries_[entry.codeId].source = 1007 name : url, property in class:JsonProfile.this.scripts_ [all...] |
| /frameworks/av/media/libstagefright/ |
| NuCachedSource2.cpp | 2 * Copyright (C) 2010 The Android Open Source Project 183 const sp<DataSource> &source, 186 : mSource(source), 241 const sp<DataSource> &source, 245 source, cacheConfig, disconnectAtHighwatermark); 253 HTTPBase* source = static_cast<HTTPBase *>(mSource.get()); local 254 return source->getEstimatedBandwidthKbps(kbps); 270 // this, the source will be marked as EOS. 278 // explicitly disconnect from the source, to allow any 286 HTTPBase *source = static_cast<HTTPBase *>(mSource.get()) local [all...] |
| NuMediaExtractor.cpp | 2 * Copyright 2012, The Android Open Source Project 144 status_t NuMediaExtractor::setDataSource(const sp<DataSource> &source) { 151 status_t err = source->initCheck(); 156 mImpl = MediaExtractorFactory::Create(source); 168 mDataSource = source; 341 sp<IMediaSource> source = mImpl->getTrack(index); local 343 if (source == nullptr) { 348 status_t ret = source->start(); 354 sp<MetaData> meta = source->getFormat(); 370 info->mSource = source; [all...] |
| StagefrightMetadataRetriever.cpp | 2 * Copyright (C) 2009 The Android Open Source Project 69 ALOGE("Unable to create data source for '%s'.", uri); 115 const sp<DataSource>& source, const char *mime) { 119 mSource = source; 200 sp<IMediaSource> source = mExtractor->getTrack(i); local 202 if (source.get() == NULL) { 228 sp<ImageDecoder> decoder = new ImageDecoder(componentName, trackMeta, source); 322 sp<IMediaSource> source = mExtractor->getTrack(i); local 324 if (source.get() == NULL) { 352 sp<VideoFrameDecoder> decoder = new VideoFrameDecoder(componentName, trackMeta, source); [all...] |
| /frameworks/av/media/libstagefright/id3/ |
| ID3.cpp | 2 * Copyright (C) 2010 The Android Open Source Project 71 // beyond, the end of the source. 102 DataSourceUnwrapper source(sourcehelper); 103 mIsValid = parseV2(&source, offset); 106 mIsValid = parseV1(&source); 110 ID3::ID3(DataSourceBase *source, bool ignoreV1, off64_t offset) 117 mIsValid = parseV2(source, offset); 120 mIsValid = parseV1(source); 131 MemorySource *source = new (std::nothrow) MemorySource(data, size); local 133 if (source == NULL [all...] |
| /frameworks/av/media/libstagefright/rtsp/ |
| ARTPConnection.cpp | 2 * Copyright (C) 2010 The Android Open Source Project 331 sp<ARTPSource> source = s->mSources.valueAt(i); local 333 source->addReceiverReport(buffer); 336 source->addFIR(buffer); 481 sp<ARTPSource> source = findSource(s, srcId); local 494 source->processRTPPacket(buffer); 590 sp<ARTPSource> source = findSource(s, id); local 592 source->byeReceived(); 617 sp<ARTPSource> source = findSource(s, id); local 619 source->timeUpdate(rtpTime, ntpTime) 625 sp<ARTPSource> source; local [all...] |
| /frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
| AudioInputDescriptor.cpp | 2 * Copyright (C) 2015 The Android Open Source Project 57 audio_source_t AudioInputDescriptor::source() const function in class:android::AudioInputDescriptor 59 return getHighestPriorityAttributes().source; 80 dstConfig->ext.mix.usecase.source = source(); 115 bool AudioInputDescriptor::isSourceActive(audio_source_t source) const 119 ((client->source() == source) || 120 ((source == AUDIO_SOURCE_VOICE_RECOGNITION) && 121 (client->source() == AUDIO_SOURCE_HOTWORD) & [all...] |
| /frameworks/av/services/audiopolicy/service/ |
| AudioPolicyEffects.cpp | 2 * Copyright (C) 2014 The Android Open Source Project 94 // create audio pre processors according to input source 101 ALOGV("addInputEffects(): no processing needs to be attached to this source"); 125 ALOGW("addInputEffects(): failed to create Fx %s on source %d", 133 ALOGV("addInputEffects(): added Fx %s on source: %d", 324 audio_source_t source, 333 if (source < AUDIO_SOURCE_DEFAULT || 334 (source > AUDIO_SOURCE_MAX && 335 source != AUDIO_SOURCE_HOTWORD && 336 source != AUDIO_SOURCE_FM_TUNER & 815 audio_source_t source = inputSourceNameToEnum(node->name); local [all...] |
| /external/cldr/tools/java/org/unicode/cldr/util/ |
| XMLSource.java | 171 * A listener for XML source data. 175 * Called whenever the source being listened to has a data change. 179 * @param source 180 * back-pointer to the source that changed 182 public void valueChanged(String xpath, XMLSource source); 195 .compile("(?:\\[@source=\"([^\"]*)\"])?(?:\\[@path=\"([^\"]*)\"])?(?:\\[@draft=\"([^\"]*)\"])?"); // constant, 225 // result.newLocaleID = (String) attributes.get("source"); 274 throw new IllegalArgumentException("Alias must have different path or different source. AliasPath: " 576 * Get the comments for the source. 583 * Set the comments for the source 731 XMLSource source = sources.get(fullStatus.localeWhereFound); local 1188 sources.put(source.getLocaleID(), source); local [all...] |
| VettingViewer.java | 223 // public String transform(String source) { 226 // for (int cp : CharSequences.codePoints(source)) { 1253 Set<Set<String>> source = new LinkedHashSet<Set<String>>(); local 1990 repeat(null, null, "Repeat indefinitely"), filter(".*", ".*", "Filter files"), locale(".*", "af", "Single locale for testing"), source(".*", enum constant in enum:VettingViewer.MyOptions [all...] |
| /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
| CharsetISO2022.java | 232 private static int getEndOfBuffer_2022(ByteBuffer source) { 233 int sourceIndex = source.position(); 235 mySource = source.get(sourceIndex); 237 while (source.hasRemaining() && mySource != ESC_2022) { 238 mySource = source.get(); 257 ByteBuffer source, 262 returnValue = myConverterData.currentDecoder.simpleGetNextUChar(source, useFallback); 528 private CoderResult changeState_2022(CharsetDecoderICU decoder, ByteBuffer source, int var) { 539 while (source.hasRemaining()) { 540 c = source.get() [all...] |
| /external/jarjar/lib/ |
| maven-plugin-api.jar | |
| /cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
| AnimatedImageDrawableTest.java | 2 * Copyright (C) 2018 The Android Open Source Project 123 ImageDecoder.Source source = ImageDecoder.createSource(mContentResolver, uri); local 124 Drawable drawable = ImageDecoder.decodeDrawable(source); 500 ImageDecoder.Source source = ImageDecoder.createSource(mContentResolver, uri); local 501 Drawable dr = ImageDecoder.decodeDrawable(source, (decoder, info, src) -> {
|