Home
last modified time | relevance | path

Searched refs:canonicalize (Results 1 – 25 of 288) sorted by relevance

12345678910>>...12

/external/tensorflow/tensorflow/python/util/
Dfunction_parameter_canonicalizer_test.py34 self._matmul_func.canonicalize(2, 3),
39 self._matmul_func.canonicalize(2, 3, True, False, True),
44 self._matmul_func.canonicalize(
50 self._matmul_func.canonicalize(2, b=3),
56 self._matmul_func.canonicalize(2)
61 self._matmul_func.canonicalize(
67 self._matmul_func.canonicalize(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
72 self._matmul_func.canonicalize(2, 3, hohoho=True)
77 self._matmul_func.canonicalize(2, 3, False, b=4)
82 self._matmul_func.canonicalize(2, 3, False, transpose_a=True)
[all …]
/external/llvm/test/CodeGen/AMDGPU/
Dfcanonicalize.ll3 declare float @llvm.canonicalize.f32(float) #0
4 declare double @llvm.canonicalize.f64(double) #0
11 %canonicalized = call float @llvm.canonicalize.f32(float %val)
20 %canonicalized = call float @llvm.canonicalize.f32(float %val)
29 %canonicalized = call float @llvm.canonicalize.f32(float 0.0)
38 %canonicalized = call float @llvm.canonicalize.f32(float -0.0)
47 %canonicalized = call float @llvm.canonicalize.f32(float 1.0)
56 %canonicalized = call float @llvm.canonicalize.f32(float -1.0)
65 %canonicalized = call float @llvm.canonicalize.f32(float 16.0)
74 %canonicalized = call float @llvm.canonicalize.f32(float bitcast (i32 8388607 to float))
[all …]
/external/tensorflow/tensorflow/python/distribute/
Ddevice_util_test.py65 device_util.canonicalize("/cpu:0"),
69 device_util.canonicalize("/cpu:0"),
72 device_util.canonicalize("/job:worker/cpu:0"),
75 device_util.canonicalize("/job:worker/task:1/cpu:0"),
91 device_util.canonicalize("/cpu:0"),
96 device_util.canonicalize("/job:worker/task:1/cpu:0", default="/gpu:0"),
99 device_util.canonicalize("/job:worker/task:1", default="/gpu:0"),
102 device_util.canonicalize("/cpu:0", default="/job:worker"),
105 device_util.canonicalize(
Dpacked_distributed_variable_test.py74 device0 = device_util.canonicalize('/cpu:0')
75 device1 = device_util.canonicalize('/cpu:1')
105 device0 = device_util.canonicalize('/cpu:0')
106 device1 = device_util.canonicalize('/cpu:1')
Ddevice_util.py25 def canonicalize(d, default=None): function
100 canonicalized_device = canonicalize(d)
108 return canonicalize(d, default=current())
/external/rust/crates/which/tests/
Dbasic.rs33 .and_then(|_f| bin.canonicalize()) in mk_bin()
38 fs::File::create(&b).and_then(|_f| b.canonicalize()) in touch()
209 assert_eq!(fs::canonicalize(&which_result).unwrap(), f.bins[9]) in test_which_no_extension()
235 .map(|p| p.canonicalize().unwrap()) in test_which_all()
255 f.bins[3].canonicalize().unwrap() in test_which_absolute()
265 f.bins[4].canonicalize().unwrap() in test_which_absolute()
276 assert_eq!(_which(&f, &p).unwrap(), f.bins[4].canonicalize().unwrap()); in test_which_absolute_path_case()
285 assert_eq!(_which(&f, &b).unwrap(), f.bins[3].canonicalize().unwrap()); in test_which_absolute_extension()
294 assert_eq!(_which(&f, &b).unwrap(), f.bins[4].canonicalize().unwrap()); in test_which_absolute_extension()
303 f.bins[3].canonicalize().unwrap() in test_which_relative()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DHttpUrl.java690 this.encodedUsername = canonicalize(username, USERNAME_ENCODE_SET, false, false, false, true); in username()
696 this.encodedUsername = canonicalize( in encodedUsername()
703 this.encodedPassword = canonicalize(password, PASSWORD_ENCODE_SET, false, false, false, true); in password()
709 this.encodedPassword = canonicalize( in encodedPassword()
752 String canonicalPathSegment = canonicalize( in setPathSegment()
765 String canonicalPathSegment = canonicalize(encodedPathSegment, in setEncodedPathSegment()
793 ? queryStringToNamesAndValues(canonicalize( in query()
802 canonicalize(encodedQuery, QUERY_ENCODE_SET, true, false, true, true)) in encodedQuery()
812 canonicalize(name, QUERY_COMPONENT_ENCODE_SET, false, false, true, true)); in addQueryParameter()
814 ? canonicalize(value, QUERY_COMPONENT_ENCODE_SET, false, false, true, true) in addQueryParameter()
[all …]
DFormEncodingBuilder.java35 HttpUrl.canonicalize(content, name, 0, name.length(), in add()
38 HttpUrl.canonicalize(content, value, 0, value.length(), in add()
48 HttpUrl.canonicalize(content, name, 0, name.length(), in addEncoded()
51 HttpUrl.canonicalize(content, value, 0, value.length(), in addEncoded()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DHttpUrl.java699 this.encodedUsername = canonicalize(username, USERNAME_ENCODE_SET, false, false, false, true); in username()
705 this.encodedUsername = canonicalize( in encodedUsername()
712 this.encodedPassword = canonicalize(password, PASSWORD_ENCODE_SET, false, false, false, true); in password()
718 this.encodedPassword = canonicalize( in encodedPassword()
761 String canonicalPathSegment = canonicalize( in setPathSegment()
774 String canonicalPathSegment = canonicalize(encodedPathSegment, in setEncodedPathSegment()
802 ? queryStringToNamesAndValues(canonicalize( in query()
811 canonicalize(encodedQuery, QUERY_ENCODE_SET, true, false, true, true)) in encodedQuery()
821 canonicalize(name, QUERY_COMPONENT_ENCODE_SET, false, false, true, true)); in addQueryParameter()
823 ? canonicalize(value, QUERY_COMPONENT_ENCODE_SET, false, false, true, true) in addQueryParameter()
[all …]
DFormEncodingBuilder.java37 HttpUrl.canonicalize(content, name, 0, name.length(), in add()
40 HttpUrl.canonicalize(content, value, 0, value.length(), in add()
50 HttpUrl.canonicalize(content, name, 0, name.length(), in addEncoded()
53 HttpUrl.canonicalize(content, value, 0, value.length(), in addEncoded()
/external/owasp/java-encoder/esapi/src/main/java/org/owasp/encoder/esapi/
DESAPIEncoder.java144 public String canonicalize(String s) { in canonicalize() method in ESAPIEncoder.Impl
145 return _referenceEncoder.canonicalize(s); in canonicalize()
149 public String canonicalize(String s, boolean strict) { in canonicalize() method in ESAPIEncoder.Impl
150 return _referenceEncoder.canonicalize(s, strict); in canonicalize()
154 public String canonicalize(String s, boolean restrictMultiple, boolean restrictMixed) { in canonicalize() method in ESAPIEncoder.Impl
155 return _referenceEncoder.canonicalize(s, restrictMultiple, restrictMixed); in canonicalize()
/external/turbine/java/com/google/turbine/types/
DCanonicalize.java71 public static Type canonicalize( in canonicalize() method in Canonicalize
77 return new Canonicalize(source, position, env).canonicalize(sym, type); in canonicalize()
100 private Type canonicalize(ClassSymbol base, Type type) { in canonicalize() method in Canonicalize
112 return Type.ArrayTy.create(canonicalize(base, arrayTy.elementType()), arrayTy.annos()); in canonicalize()
357 args.add(SimpleClassTy.create(s.sym(), canonicalize(s.targs(), base), s.annos())); in canonicalizeClassTy()
363 private ImmutableList<Type> canonicalize(ImmutableList<Type> targs, ClassSymbol base) { in canonicalize() method in Canonicalize
366 result.add(canonicalize(base, a)); in canonicalize()
376 return Type.WildLowerBoundedTy.create(canonicalize(base, type.bound()), type.annotations()); in canonicalizeWildTy()
378 return Type.WildUpperBoundedTy.create(canonicalize(base, type.bound()), type.annotations()); in canonicalizeWildTy()
386 bounds.add(canonicalize(base, bound)); in canonicalizeIntersectionTy()
/external/rust/crates/tokio/src/fs/
Dmod.rs45 mod canonicalize; module
46 pub use self::canonicalize::canonicalize;
Dcanonicalize.rs48 pub async fn canonicalize(path: impl AsRef<Path>) -> io::Result<PathBuf> { in canonicalize() function
50 asyncify(move || std::fs::canonicalize(path)).await in canonicalize()
/external/libese/ready_se/google/keymint/KM200/Applet/src/com/android/javacard/keymaster/
DKMCoseMap.java100 protected static void canonicalize(short arr) { in canonicalize() method in KMCoseMap
101 canonicalize(arr, KMArray.cast(arr).length()); in canonicalize()
147 public static void canonicalize(short ptr, short length) { in canonicalize() method in KMCoseMap
170 public abstract void canonicalize(); in canonicalize() method in KMCoseMap
/external/libese/ready_se/google/keymint/KM300/Applet/src/com/android/javacard/keymaster/
DKMCoseMap.java100 protected static void canonicalize(short arr) { in canonicalize() method in KMCoseMap
101 canonicalize(arr, KMArray.cast(arr).length()); in canonicalize()
147 public static void canonicalize(short ptr, short length) { in canonicalize() method in KMCoseMap
170 public abstract void canonicalize(); in canonicalize() method in KMCoseMap
/external/guice/core/src/com/google/inject/internal/
DMoreTypes.java140 return ((CompositeType) canonicalize(type)).isFullySpecified(); in isFullySpecified()
148 public static Type canonicalize(Type type) { in canonicalize() method in MoreTypes
151 return c.isArray() ? new GenericArrayTypeImpl(canonicalize(c.getComponentType())) : c; in canonicalize()
361 this.ownerType = ownerType == null ? null : canonicalize(ownerType); in ParameterizedTypeImpl()
362 this.rawType = canonicalize(rawType); in ParameterizedTypeImpl()
367 this.typeArguments[t] = canonicalize(this.typeArguments[t]); in ParameterizedTypeImpl()
454 this.componentType = canonicalize(componentType); in GenericArrayTypeImpl()
502 this.lowerBound = canonicalize(lowerBounds[0]); in WildcardTypeImpl()
509 this.upperBound = canonicalize(upperBounds[0]); in WildcardTypeImpl()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
DFallbackIterator.java69 canonicalize, fallback, decanonicalize enumConstant
198 case canonicalize:
232 canonicalize: while (true) { in set()
236 continue canonicalize; // try again for others in set() local
/external/elfutils/libdwfl/
Ddwfl_error.c93 canonicalize (Dwfl_Error error) in canonicalize() function
128 return canonicalize (error); in __libdwfl_canon_error()
135 global_error = canonicalize (error); in __libdwfl_seterrno()
/external/turbine/java/com/google/turbine/binder/
DCanonicalTypeBinder.java100 Canonicalize.canonicalize( in fields()
126 Type ret = Canonicalize.canonicalize(source, pos, env, sym, base.returnType()); in methods()
166 Canonicalize.canonicalize(source, position, env, sym, base.type()), in param()
182 Canonicalize.canonicalize(source, pos, env, sym, component.type()), in components()
199 (IntersectionTy) Canonicalize.canonicalize(source, position, env, sym, info.upperBound()); in typeParameters()
213 result.add(Canonicalize.canonicalize(source, position, env, sym, type)); in canonicalizeList()
/external/gson/gson/src/main/java/com/google/gson/internal/
D$Gson$Types.java108 public static Type canonicalize(Type type) { in canonicalize() method in $Gson$Types
111 return c.isArray() ? new GenericArrayTypeImpl(canonicalize(c.getComponentType())) : c; in canonicalize()
498 this.ownerType = ownerType == null ? null : canonicalize(ownerType); in ParameterizedTypeImpl()
499 this.rawType = canonicalize(rawType); in ParameterizedTypeImpl()
504 this.typeArguments[t] = canonicalize(this.typeArguments[t]); in ParameterizedTypeImpl()
557 this.componentType = canonicalize(componentType); in GenericArrayTypeImpl()
598 this.lowerBound = canonicalize(lowerBounds[0]); in WildcardTypeImpl()
605 this.upperBound = canonicalize(upperBounds[0]); in WildcardTypeImpl()
/external/rust/crates/regex-syntax/src/hir/
Dinterval.rs48 set.canonicalize(); in new()
57 self.canonicalize(); in push()
86 self.canonicalize(); in case_fold_simple()
90 self.canonicalize(); in case_fold_simple()
98 self.canonicalize(); in union()
282 fn canonicalize(&mut self) { in canonicalize() method
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DOsConstantsValues.java65 if (!canonicalize(path).equals(path)) { in getMode()
71 private static String canonicalize(String path) { in canonicalize() method in OsConstantsValues
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/tests/
Disinf.mlir5 // RUN: --computeop-and-func-bufferize --canonicalize | \
8 // RUN: --canonicalize --kernelgen-final-bufferize | \
/external/llvm/test/CodeGen/X86/
Dinsertps-O0-bug.ll3 ; Check that at -O0, the backend doesn't attempt to canonicalize a vector load
7 ; tries to canonicalize a vector load in input to an INSERTPS node into a
21 ; At -O0, the backend would attempt to canonicalize the load to 'b' into

12345678910>>...12