| /external/tensorflow/tensorflow/cc/tools/ |
| freeze_saved_model_test.cc | 386 Output source = ops::Const(scope.WithOpName("source"), 10.0f, {}); local 387 Output a = ops::Const(scope.WithOpName("a").WithControlDependencies(source),
|
| /external/tensorflow/tensorflow/compiler/xla/client/ |
| xla_builder_test.cc | 827 auto source = GetTupleElement(p0, 1); local [all...] |
| /external/tensorflow/tensorflow/compiler/xla/service/ |
| bfloat16_propagation.cc | 695 auto source = hlo->mutable_operand(0); local 696 if (!ShapeUtil::Equal(source->shape(), hlo->shape())) { 700 TF_RETURN_IF_ERROR(hlo->ReplaceAllUsesWith(source)); 702 computation->set_root_instruction(source); [all...] |
| dynamic_dimension_inference_test.cc | 631 auto* source = builder.AddInstruction(HloInstruction::CreateParameter( local 638 input_shape, a_param, GetGe(), window, source, init, GetAdd()));
|
| hlo_cost_analysis_test.cc | 355 auto source = local 356 Parameter(&builder, 1, ShapeUtil::MakeShape(F32, {2, 4}), "source"); 357 SelectAndScatter(operand, gt_, {4, 5}, {4, 5}, Padding::kValid, source, 366 // Each of [2x4] source elements computes its destination from reducing [4x5]
|
| indexed_array_analysis.h | 58 "target type not derived from source type"); 136 // into a "source" array using an "indices" tensor. A simple example is a 139 // the [100,100] matrix as the "source" array and the [12]-shaped indices 148 // %source = f32[100,100] constant 150 // %gather = f32[12,100] ... gather from %source using %indices at axis 0 153 // The dot operation itself is also a ScalarIndexedArray with source = 155 // to [12,5,20] too is a ScalarIndexedArray with source = an appropriately 163 // be mapped to the J'th element of the `source` array (where I and J are 171 // For example, if source is of shape [11,13,17,19], indices is of shape 180 Array* source() const { return source_; function in class:xla::IndexedArrayAnalysis::ScalarIndexedArray [all...] |
| /external/tensorflow/tensorflow/contrib/session_bundle/ |
| session_bundle_test.cc | 62 const string source = io::JoinPath(orig_path, kVariablesFilename); local 66 TF_RETURN_IF_ERROR(ReadFileToString(Env::Default(), source, &data)); 70 const string source = io::JoinPath(orig_path, kMetaGraphDefFilename); local 74 TF_RETURN_IF_ERROR(ReadBinaryProto(Env::Default(), source, &graph_def));
|
| /external/tinyalsa/ |
| mixer.c | 3 ** Copyright 2011, The Android Open Source Project 5 ** Redistribution and use in source and binary forms, with or without 7 ** * Redistributions of source code must retain the above copyright 12 ** * Neither the name of The Android Open Source Project nor the names of 16 ** THIS SOFTWARE IS PROVIDED BY The Android Open Source Project ``AS IS'' AND 19 ** ARE DISCLAIMED. IN NO EVENT SHALL The Android Open Source Project BE LIABLE 377 void *source; local 404 source = ev.value.integer.value; 422 source = tlv->tlv; 423 memcpy(array, source, count) [all...] |
| /external/turbine/java/com/google/turbine/binder/ |
| DisambiguateTypeAnnotations.java | 87 base.source(), 262 anno.source(), anno.position(), ErrorKind.NONREPEATABLE_ANNOTATION, symbol);
|
| /external/turbine/java/com/google/turbine/main/ |
| Main.java | 171 /** Parse all source files and source jars. */ 175 for (String source : options.sources()) { 176 Path path = Paths.get(source); 177 units.add(Parser.parse(new SourceFile(source, MoreFiles.asCharSource(path, UTF_8).read()))); 183 String source = new String(ze.data(), UTF_8); local 184 units.add(Parser.parse(new SourceFile(name, source)));
|
| /external/turbine/java/com/google/turbine/parse/ |
| ConstExpressionParser.java | 578 throw TurbineError.format(lexer.source(), pos, ErrorKind.INVALID_ANNOTATION_ARGUMENT); 595 return TurbineError.format(lexer.source(), lexer.position(), kind, args);
|
| StreamLexer.java | 78 public SourceFile source() { method in class:StreamLexer 79 return reader.source(); 1106 return TurbineError.format(reader.source(), reader.position(), kind, args);
|
| /external/u-boot/drivers/net/ |
| e1000_spi.c | 12 * The source of the outgoing bits is the "dout" parameter and the 438 const void *source; local 447 source = (const void *)simple_strtoul(argv[0], NULL, 16); 458 if (e1000_spi_eeprom_program(hw, source, offset, length, true) < 0) {
|
| /external/u-boot/tools/ |
| sunxi-spl-image-builder.c | 31 const char *source; member in struct:image_info 131 "Failed to read data from the source\n"); 149 /* Restore the source pointer to read it again. */ 194 "Failed to read data from the source\n"); 259 src = fopen(info->source, "r"); 261 fprintf(stderr, "Failed to open source file (%s)\n", 262 info->source); 294 "Usage: sunxi-nand-image-builder [OPTIONS] source-image output-image\n" 466 info.source = argv[optind];
|
| /external/v8/samples/ |
| shell.cc | 2 // Redistribution and use in source and binary forms, with or without 6 // * Redistributions of source code must retain the above copyright 51 bool ExecuteString(v8::Isolate* isolate, v8::Local<v8::String> source, 175 v8::Local<v8::String> source; local 176 if (!ReadFile(args.GetIsolate(), *file).ToLocal(&source)) { 183 args.GetReturnValue().Set(source); 199 v8::Local<v8::String> source; local 200 if (!ReadFile(args.GetIsolate(), *file).ToLocal(&source)) { 206 if (!ExecuteString(args.GetIsolate(), source, args[i], false, false)) { 281 v8::Local<v8::String> source; local 295 v8::Local<v8::String> source; local [all...] |
| /external/v8/src/compiler/ |
| move-optimizer.cc | 2 // Use of this source code is governed by a BSD-style license that can be 14 InstructionOperand source; member in struct:v8::internal::compiler::__anon48335::MoveKey 20 if (a.source.EqualsCanonicalized(b.source)) { 23 return a.source.CompareCanonicalized(b.source); 248 // We start with all the moves that don't have conflicting source or 253 MoveKey key = {move->source(), move->destination()}; 266 InstructionOperand src = current->source; 278 MoveKey key = {move->source(), move->destination()} [all...] |
| /external/v8/src/torque/ |
| global-context.h | 2 // Use of this source code is governed by a BSD-style license that can be 31 std::string source() { return source_stream_.str(); } function in class:v8::internal::torque::Module
|
| /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/webrtc/talk/media/base/ |
| rtpdump.h | 5 * Redistribution and use in source and binary forms, with or without 8 * 1. Redistributions of source code must retain the above copyright notice, 66 uint32_t source; // network source (multicast address). member in struct:cricket::RtpDumpFileHeader
|
| /external/webrtc/webrtc/base/ |
| unixfilesystem.cc | 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. 274 StreamInterface *source = OpenFile(old_path, "rb"); local 275 if (!source) 280 delete source; 284 while (source->Read(buf, sizeof(buf), &len, NULL) == SR_SUCCESS) 287 delete source;
|
| /external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
| packet_sender.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. 37 // clock_, the clock of the PacketSender and the Source must be aligned. 69 VideoSource* source, 76 virtual VideoSource* source() const { return source_; } function in class:webrtc::testing::bwe::VideoSender 106 VideoSource* source,
|
| /frameworks/av/cmds/stagefright/ |
| recordvideo.cpp | 2 * Copyright (C) 2010 The Android Open Source Project 272 sp<MediaSource> source = local 308 looper, enc_meta, source, NULL /* consumer */,
|
| stream.cpp | 2 * Copyright (C) 2010 The Android Open Source Project 359 sp<IStreamSource> source; local 376 source = new MyStreamSource(fd); 380 source = new MyConvertingStreamSource(argv[1]); 386 if (player != NULL && player->setDataSource(source) == NO_ERROR) {
|
| /frameworks/av/drm/libmediadrm/ |
| ICrypto.cpp | 2 * Copyright (C) 2012 The Android Open Source Project 101 const SourceBuffer &source, size_t offset, 130 data.writeStrongBinder(IInterface::asBinder(source.mSharedMemory)); 131 data.writeInt32(source.mHeapSeqNum); 331 SourceBuffer source; local 333 source.mSharedMemory = 335 if (source.mSharedMemory == NULL) { 339 source.mHeapSeqNum = data.readInt32(); 404 } else if (totalSize > source.mSharedMemory->size()) { 406 } else if ((size_t)offset > source.mSharedMemory->size() - totalSize) [all...] |
| /frameworks/av/media/codec2/hidl/1.0/utils/ |
| ComponentStore.cpp | 2 * Copyright 2018 The Android Open Source Project 216 sp<GraphicBufferSource> source = new GraphicBufferSource(); local 217 if (source->initCheck() != OK) { 224 source->getHGraphicBufferProducer(), 225 source);
|