| /external/webrtc/sdk/android/native_api/jni/ |
| D | java_types.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. 11 // Android's FindClass() is tricky because the app-specific ClassLoader is not 12 // consulted when there is no app-specific frame on the stack (i.e. when called 15 // http://developer.android.com/training/articles/perf-jni.html#faq_FindClass 22 #include <map> 38 RTC_CHECK(!jni->ExceptionCheck()) \ 39 << (jni->ExceptionDescribe(), jni->ExceptionClear(), "") 43 // --------------- [all …]
|
| /external/libchrome/components/policy/core/common/ |
| D | policy_proto_decoders.cc | 2 // Use of this source code is governed by a BSD-style license that can be 48 // Convert a BooleanPolicyProto to a bool base::Value. 54 // Convert an IntegerPolicyProto to an int base::Value. 63 *error = "Number out of range - invalid int32"; in DecodeIntegerProto() 70 // Convert a StringPolicyProto to a string base::Value. 76 // Convert a StringListPolicyProto to a List base::Value, where each list value 82 list_value->AppendString(entry); in DecodeStringListProto() 86 // Convert a StringPolicyProto to a base::Value of any type (for example, 103 // convert and check the concrete type. in DecodeJsonProto() 104 error->clear(); in DecodeJsonProto() [all …]
|
| /external/tensorflow/tensorflow/lite/g3doc/guide/ |
| D | signatures.ipynb | 9 "source": [ 22 "source": [ 27 "# https://www.apache.org/licenses/LICENSE-2.0\n", 42 "source": [ 52 "source": [ 53 "\u003ctable class=\"tfo-notebook-buttons\" align=\"left\"\u003e\n", 61 …03e\u003cimg src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" /\u003eView source on … 75 "source": [ 89 "* Inputs: Map for inputs from input name in the signature to an input tensor.\n", 90 "* Outputs: Map for output mapping from output name in signature to an output\n", [all …]
|
| /external/jsoup/src/main/java/org/jsoup/helper/ |
| D | W3CDom.java | 40 import java.util.Map; 99 public static Document convert(org.jsoup.nodes.Document in) { in convert() method in W3CDom 105 …* you don't provide the properties ({@code null}), the output will be auto-detected based on the c… 123 public static String asString(Document doc, @Nullable Map<String, String> properties) { in asString() 143 transformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, "about:legacy-compat"); in asString() 154 static Properties propertiesFromMap(Map<String, String> map) { in propertiesFromMap() argument 156 props.putAll(map); in propertiesFromMap() 171 HashMap<String, String> map = new HashMap<>(); in methodMap() local 172 map.put(METHOD, method); in methodMap() 173 return map; in methodMap() [all …]
|
| /external/libpcap/ |
| D | charconv.c | 1 /* -*- Mode: c; tab-width: 8; indent-tabs-mode: 1; c-basic-offset: 8; -*- */ 6 * Redistribution and use in source and binary forms, with or without 9 * 1. Redistributions of source code must retain the above copyright 50 * Map from the specified code page to UTF-16LE. in cp_to_utf_16le() 53 utf16le_len = MultiByteToWideChar(codepage, flags, cp_string, -1, in cp_to_utf_16le() 76 * Now convert. in cp_to_utf_16le() 78 utf16le_len = MultiByteToWideChar(codepage, flags, cp_string, -1, in cp_to_utf_16le() 83 * XXX - should this ever happen, given that in cp_to_utf_16le() 102 * Map from UTF-16LE to the specified code page. in utf_16le_to_cp() 104 * We convert composite characters to precomposed characters, in utf_16le_to_cp() [all …]
|
| /external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/ |
| D | GenerateUnitTestData.java | 22 import java.util.Map; 23 import java.util.Map.Entry; 52 private static final Map<String, String> CORE_TO_TYPE; 66 Map<String, String> coreToType = new TreeMap<>(); 69 int dashPos = s.indexOf('-'); 83 {"kilometer-pound-per-hour", "kilogram-meter-per-second", "45359237/360000000"}, in TestParseUnit() 84 {"kilometer-per-hour", "meter-per-second", "5/18"}, in TestParseUnit() 87 // String source = test[0]; in TestParseUnit() 90 // ConversionInfo unitInfo = converter.parseUnitId(source, compoundBaseUnit, in TestParseUnit() 92 // assertEquals(source, expectedUnit, compoundBaseUnit.value); in TestParseUnit() [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Object/ |
| D | OffloadBinary.h | 1 //===--- Offloading.h - Utilities for handling offloading code -*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 15 //===----------------------------------------------------------------------===// 85 ImageKind getImageKind() const { return TheEntry->TheImageKind; } in getImageKind() 86 OffloadKind getOffloadKind() const { return TheEntry->TheOffloadKind; } in getOffloadKind() 87 uint32_t getVersion() const { return TheHeader->Version; } in getVersion() 88 uint32_t getFlags() const { return TheEntry->Flags; } in getFlags() 89 uint64_t getSize() const { return TheHeader->Size; } in getSize() 94 return StringRef(&Buffer[TheEntry->ImageOffset], TheEntry->ImageSize); in getImage() [all …]
|
| /external/tensorflow/tensorflow/lite/tools/cmake/modules/ |
| D | OverridableFetchContent.cmake | 8 # https://www.apache.org/licenses/LICENSE-2.0 18 # Pairs of regex --> replacement strings that map Git repositories to archive 30 "https://gitlab.com/\\1/\\2/-/archive/GIT_COMMIT/\\2-GIT_COMMIT.tar.gz" 38 # List of prefixes for regex match and replacement variables that map Git 46 # Pairs of regex --> replacement strings that map Git repositories to raw file 58 "https://gitlab.com/\\1/\\2/-/raw/GIT_COMMIT/FILE_PATH" 69 # List of prefixes for regex match and replacement variables that map Git 105 # Try to convert a Git repository to an archive URL. 107 # GIT_REPOSITORY: Repository URL to convert. 108 # GIT_COMMIT: Commit hash or tag to convert. [all …]
|
| /external/libultrahdr/lib/include/ultrahdr/ |
| D | gainmapmath.h | 2 * Copyright 2022 The Android Open Source Project 8 * http://www.apache.org/licenses/LICENSE-2.0 41 // ISO/TS 22028-5 48 // Describes the tone-mapping operation & gain-map encoding parameters. 77 // represented by this 7-parameter piecewise function: 98 inline Color operator-=(Color& lhs, const Color& rhs) { 99 lhs.r -= rhs.r; 100 lhs.g -= rhs.g; 101 lhs.b -= rhs.b; 109 inline Color operator-(const Color& lhs, const Color& rhs) { [all …]
|
| /external/cronet/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
| D | Internal.java | 1 // Protocol Buffers - Google's data interchange format 3 // https://developers.google.com/protocol-buffers/ 5 // Redistribution and use in source and binary forms, with or without 9 // * Redistributions of source code must retain the above copyright 43 import java.util.Map; 58 static final Charset US_ASCII = Charset.forName("US-ASCII"); 59 static final Charset UTF_8 = Charset.forName("UTF-8"); 60 static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1"); 81 * <p>The protocol compiler does not actually contain a UTF-8 decoder -- it just pushes 82 * UTF-8-encoded text around without touching it. The one place where this presents a problem is [all …]
|
| /external/protobuf/java/core/src/main/java/com/google/protobuf/ |
| D | Internal.java | 1 // Protocol Buffers - Google's data interchange format 3 // https://developers.google.com/protocol-buffers/ 5 // Redistribution and use in source and binary forms, with or without 9 // * Redistributions of source code must retain the above copyright 43 import java.util.Map; 58 static final Charset US_ASCII = Charset.forName("US-ASCII"); 59 static final Charset UTF_8 = Charset.forName("UTF-8"); 60 static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1"); 81 * <p>The protocol compiler does not actually contain a UTF-8 decoder -- it just pushes 82 * UTF-8-encoded text around without touching it. The one place where this presents a problem is [all …]
|
| /external/perfetto/src/trace_processor/importers/common/ |
| D | clock_tracker.h | 2 * Copyright (C) 2019 The Android Open Source Project 8 * http://www.apache.org/licenses/LICENSE-2.0 24 #include <map> 42 // domains. This includes multi-hop conversions from two clocks A and D, e.g. 43 // A->B -> B->C -> C->D, even if we never saw a snapshot that contains A and D 46 // - AddSnapshot(map<clock_id, timestamp>): pushes a set of clocks that have 48 // - ToTraceTime(src_clock_id, src_timestamp): 52 // - Snapshot hash: 59 // time-series obtained by appending the various snapshots. 60 // - Snapshot id: [all …]
|
| /external/rust/crates/config/src/ |
| D | env.rs | 4 use crate::map::Map; 5 use crate::source::Source; 15 /// to be part of the source environment. 43 /// Alternate source for the environment. This can be used when you want to test your own code 44 /// using this source, without the need to change the actual system environment variables. 52 /// # use std::convert::TryInto; 55 /// fn test_config() -> Result<(), config::ConfigError> { 61 /// let source = Environment::default() 62 /// .source(Some({ 64 /// env.insert("MY_STRING".into(), "my-value".into()); [all …]
|
| D | format.rs | 3 use crate::{map::Map, value::Value}; 5 /// Describes a format of configuration source data 7 /// Implementations of this trait can be used to convert [`File`](crate::File) sources to configura… 13 /// What is more, it is recommended to use this trait with custom [`Source`](crate::Source)s and th… 17 …/// It also allows specifying optional URI of the source associated with format instance that can … 22 ) -> Result<Map<String, Value>, Box<dyn Error + Send + Sync>>; in parse()
|
| /external/guice/core/src/com/google/inject/internal/ |
| D | Messages.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 40 import java.util.Map; 50 // equivalent, in this case we should drop the repeated source when joining the lists. The in mergeSources() 52 // due to the fact that InternalFactoryToProviderAdapter applies the binding source when in mergeSources() 56 && Objects.equal(messageSources.get(0), sources.get(sources.size() - 1))) { in mergeSources() 71 arguments[i] = convert(arguments[i]); in format() 82 Map<Equivalence.Wrapper<Throwable>, Integer> causes = Maps.newHashMap(); in formatMessages() 88 for (int i = dependencies.size() - 1; i >= 0; i--) { in formatMessages() 89 Object source = dependencies.get(i); in formatMessages() local 90 formatSource(fmt, source); in formatMessages() [all …]
|
| /external/google-breakpad/src/processor/ |
| D | module_serializer.h | 3 // Redistribution and use in source and binary forms, with or without 7 // * Redistributions of source code must retain the above copyright 32 // FastSourceLineResolver without CPU & memory-intensive parsing. 39 #include <map> 47 #include "processor/map_serializers-inl.h" 48 #include "processor/simple_serializer-inl.h" 56 // memory, convert ASCII format symbol data into serialized binary data, and 57 // convert loaded BasicSourceLineResolver::Module into 83 // Serializes one loaded module with given moduleid in the basic source line 84 // resolver, and loads the serialized data into the fast source line resolver. [all …]
|
| /external/protobuf/python/google/protobuf/ |
| D | json_format.py | 1 # Protocol Buffers - Google's data interchange format 3 # https://developers.google.com/protocol-buffers/ 5 # Redistribution and use in source and binary forms, with or without 9 # * Redistributions of source code must retain the above copyright 59 _TIMESTAMPFOMAT = '%Y-%m-%dT%H:%M:%S' 69 _NEG_INFINITY = '-Infinity' 73 u'[\ud800-\udbff](?![\udc00-\udfff])|(?<![\ud800-\udbff])[\udc00-\udfff]') 75 _VALID_EXTENSION_NAME = re.compile(r'\[[a-zA-Z0-9\._]*\]$') 79 """Top-level module error for json_format.""" 105 repeated fields, and map fields will always be serialized. If [all …]
|
| /external/cronet/third_party/protobuf/python/google/protobuf/ |
| D | json_format.py | 1 # Protocol Buffers - Google's data interchange format 3 # https://developers.google.com/protocol-buffers/ 5 # Redistribution and use in source and binary forms, with or without 9 # * Redistributions of source code must retain the above copyright 59 _TIMESTAMPFOMAT = '%Y-%m-%dT%H:%M:%S' 69 _NEG_INFINITY = '-Infinity' 73 u'[\ud800-\udbff](?![\udc00-\udfff])|(?<![\ud800-\udbff])[\udc00-\udfff]') 75 _VALID_EXTENSION_NAME = re.compile(r'\[[a-zA-Z0-9\._]*\]$') 79 """Top-level module error for json_format.""" 105 repeated fields, and map fields will always be serialized. If [all …]
|
| /external/crosvm/devices/src/virtio/video/ |
| D | resource.rs | 2 // Use of this source code is governed by a BSD-style license that can be 5 //! Resource management and resolution for the virtio-video device. 7 use std::convert::TryInto; 54 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 74 fn try_clone(&self) -> Result<Self, base::Error>; in try_clone() 77 fn get_mapping(&self, offset: usize, size: usize) -> Result<MemoryMappingArena, MmapError>; in get_mapping() 97 fn try_clone(&self) -> Result<Self, base::Error> { in try_clone() 104 fn get_mapping(&self, offset: usize, size: usize) -> Result<MemoryMappingArena, MmapError> { in get_mapping() 116 self.mem_areas.iter().map(|a| a.length).sum(), in get_mapping() 121 area_offset -= area.length; in get_mapping() [all …]
|
| /external/golang-protobuf/reflect/protoreflect/ |
| D | value_union.go | 2 // Use of this source code is governed by a BSD-style 37 // The List or Map types are used if the field cardinality is repeated. 39 // A field is a Map if FieldDescriptor.IsMap reports true. 45 // List, Map, and Message Values are called "composite" values. 50 // always references the source object. 56 // // the source message, modifying the Value modifies the message. 64 // // ERROR: Since it is not defined whether Set aliases the source, 68 // Some operations, such as Message.Get, may return an "empty, read-only" 69 // composite Value. Modifying an empty, read-only value panics. 112 case Message, List, Map: [all …]
|
| /external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/ |
| D | TestUnits.java | 58 import java.util.Map; 59 import java.util.Map.Entry; 174 static final Splitter SPLIT_AND = Splitter.on("-and-").trimResults().omitEmptyStrings(); 175 static final Splitter SPLIT_DASH = Splitter.on('-').trimResults().omitEmptyStrings(); 179 static Map<String, String> normalizationCache = new TreeMap<>(); 185 private Map<String, String> BASE_UNIT_TO_QUANTITY = converter.getBaseUnitToQuantity(); 201 {"area-square-centimeter", "square", "length-centimeter"}, 202 {"area-square-foot", "square", "length-foot"}, 203 {"area-square-inch", "square", "length-inch"}, 204 {"area-square-kilometer", "square", "length-kilometer"}, [all …]
|
| /external/tensorflow/tensorflow/lite/g3doc/performance/ |
| D | quantization_debugger.ipynb | 8 "source": [ 20 "source": [ 25 "# https://www.apache.org/licenses/LICENSE-2.0\n", 39 "source": [ 46 "id": "XLoHL19yb-a0" 48 "source": [ 49 "\u003ctable class=\"tfo-notebook-buttons\" align=\"left\"\u003e\n", 57 …03e\u003cimg src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" /\u003eView source on … 73 "source": [ 74 "Although full-integer quantization provides improved model size and latency, the\n", [all …]
|
| /external/angle/build/android/bytecode/java/org/chromium/bytecode/ |
| D | TypeUtils.java | 2 // Use of this source code is governed by a BSD-style license that can be 10 import java.util.Map; 16 * Internal name - The fully qualified name for a type with dots replaced by slashes. Not really 18 * Type descriptor - Single letters for primitive types, "L" + internal name + ";" for class types. 37 private static final Map<String, Type> PRIMITIVE_DESCRIPTORS; 71 typedArguments[i] = convert(argumentTypes[i]); in getMethodDescriptor() 73 return Type.getMethodDescriptor(convert(returnType), typedArguments); in getMethodDescriptor() 82 private static Type convert(String type) { in convert() method in TypeUtils
|
| /external/cronet/build/android/bytecode/java/org/chromium/bytecode/ |
| D | TypeUtils.java | 2 // Use of this source code is governed by a BSD-style license that can be 10 import java.util.Map; 16 * Internal name - The fully qualified name for a type with dots replaced by slashes. Not really 18 * Type descriptor - Single letters for primitive types, "L" + internal name + ";" for class types. 37 private static final Map<String, Type> PRIMITIVE_DESCRIPTORS; 71 typedArguments[i] = convert(argumentTypes[i]); in getMethodDescriptor() 73 return Type.getMethodDescriptor(convert(returnType), typedArguments); in getMethodDescriptor() 82 private static Type convert(String type) { in convert() method in TypeUtils
|
| /external/bcc/src/lua/ |
| D | README.md | 2 ----------------- 14 Since LuaJIT is a JIT compiled language, tracers implemented in `bcc-lua` 36 2. As per the [Ubuntu - Binary](https://github.com/iovisor/bcc/blob/master/INSTALL.md#ubuntu---bina… 39 $ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4052245BD4284CDD 40 …$ echo "deb https://repo.iovisor.org/apt/$(lsb_release -cs) $(lsb_release -cs) main" | sudo tee /e… 41 $ sudo apt-get update 42 $ sudo apt-get install bcc-tools libbcc-examples linux-headers-$(uname -r) 48 $ sudo apt-get install luajit luajit-5.1-dev 54 $ sudo src/lua/bcc-probe examples/lua/task_switch.lua 64 local map = bpf.map('array', 256) [all …]
|