/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | runtime_conv2d_mkl.cc | 31 int ToInt(int64 input) { in ToInt() function 68 memory::dims conv1_src_dim = {ToInt(input_batch), ToInt(input_channels), in MKLConvImpl() 69 ToInt(input_rows), ToInt(input_cols)}; in MKLConvImpl() 70 memory::dims conv1_weights_dim = {ToInt(kernel_filters), in MKLConvImpl() 71 ToInt(kernel_channels), ToInt(kernel_rows), in MKLConvImpl() 72 ToInt(kernel_cols)}; in MKLConvImpl() 73 memory::dims conv1_dst_dim = {ToInt(input_batch), ToInt(kernel_filters), in MKLConvImpl() 74 ToInt(output_rows), ToInt(output_cols)}; in MKLConvImpl() 75 memory::dims conv1_strides = {ToInt(row_stride), ToInt(col_stride)}; in MKLConvImpl() 77 memory::dims conv1_dilates = {ToInt(rhs_row_dilation - 1), in MKLConvImpl() [all …]
|
/external/angle/third_party/abseil-cpp/absl/strings/internal/str_format/ |
D | arg_test.cc | 43 TEST_F(FormatArgImplTest, ToInt) { in TEST_F() argument 45 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(1), &out)); in TEST_F() 47 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(-1), &out)); in TEST_F() 50 FormatArgImplFriend::ToInt(FormatArgImpl(static_cast<char>(64)), &out)); in TEST_F() 52 EXPECT_TRUE(FormatArgImplFriend::ToInt( in TEST_F() 55 EXPECT_TRUE(FormatArgImplFriend::ToInt( in TEST_F() 61 EXPECT_TRUE(FormatArgImplFriend::ToInt( in TEST_F() 67 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(false), &out)); in TEST_F() 69 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(true), &out)); in TEST_F() 71 EXPECT_FALSE(FormatArgImplFriend::ToInt(FormatArgImpl(2.2), &out)); in TEST_F() [all …]
|
D | arg.h | 284 static bool ToInt(Arg arg, int* out) { 446 static bool ToInt(Data arg, int* out, std::true_type /* is_integral */, 453 static bool ToInt(Data arg, int* out, std::false_type, 461 static bool ToInt(Data, int*, std::false_type, std::false_type) { 470 return ToInt<T>(arg, static_cast<int*>(out), std::is_integral<T>(),
|
D | bind.cc | 35 return FormatArgImplFriend::ToInt(pack[position - 1], value); in BindFromPosition()
|
/external/libtextclassifier/abseil-cpp/absl/strings/internal/str_format/ |
D | arg_test.cc | 37 TEST_F(FormatArgImplTest, ToInt) { in TEST_F() argument 39 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(1), &out)); in TEST_F() 41 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(-1), &out)); in TEST_F() 44 FormatArgImplFriend::ToInt(FormatArgImpl(static_cast<char>(64)), &out)); in TEST_F() 46 EXPECT_TRUE(FormatArgImplFriend::ToInt( in TEST_F() 49 EXPECT_TRUE(FormatArgImplFriend::ToInt( in TEST_F() 55 EXPECT_TRUE(FormatArgImplFriend::ToInt( in TEST_F() 61 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(false), &out)); in TEST_F() 63 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(true), &out)); in TEST_F() 65 EXPECT_FALSE(FormatArgImplFriend::ToInt(FormatArgImpl(2.2), &out)); in TEST_F() [all …]
|
D | arg.h | 262 static bool ToInt(Arg arg, int* out) { 424 static bool ToInt(Data arg, int* out, std::true_type /* is_integral */, 431 static bool ToInt(Data arg, int* out, std::false_type, 439 static bool ToInt(Data, int*, std::false_type, std::false_type) { 448 return ToInt<T>(arg, static_cast<int*>(out), std::is_integral<T>(),
|
D | bind.cc | 21 return FormatArgImplFriend::ToInt(pack[position - 1], value); in BindFromPosition()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/str_format/ |
D | arg_test.cc | 37 TEST_F(FormatArgImplTest, ToInt) { in TEST_F() argument 39 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(1), &out)); in TEST_F() 41 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(-1), &out)); in TEST_F() 44 FormatArgImplFriend::ToInt(FormatArgImpl(static_cast<char>(64)), &out)); in TEST_F() 46 EXPECT_TRUE(FormatArgImplFriend::ToInt( in TEST_F() 49 EXPECT_TRUE(FormatArgImplFriend::ToInt( in TEST_F() 55 EXPECT_TRUE(FormatArgImplFriend::ToInt( in TEST_F() 61 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(false), &out)); in TEST_F() 63 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(true), &out)); in TEST_F() 65 EXPECT_FALSE(FormatArgImplFriend::ToInt(FormatArgImpl(2.2), &out)); in TEST_F() [all …]
|
D | arg.h | 262 static bool ToInt(Arg arg, int* out) { 424 static bool ToInt(Data arg, int* out, std::true_type /* is_integral */, 431 static bool ToInt(Data arg, int* out, std::false_type, 439 static bool ToInt(Data, int*, std::false_type, std::false_type) { 448 return ToInt<T>(arg, static_cast<int*>(out), std::is_integral<T>(),
|
D | bind.cc | 21 return FormatArgImplFriend::ToInt(pack[position - 1], value); in BindFromPosition()
|
/external/openscreen/third_party/abseil/src/absl/strings/internal/str_format/ |
D | arg_test.cc | 43 TEST_F(FormatArgImplTest, ToInt) { in TEST_F() argument 45 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(1), &out)); in TEST_F() 47 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(-1), &out)); in TEST_F() 50 FormatArgImplFriend::ToInt(FormatArgImpl(static_cast<char>(64)), &out)); in TEST_F() 52 EXPECT_TRUE(FormatArgImplFriend::ToInt( in TEST_F() 55 EXPECT_TRUE(FormatArgImplFriend::ToInt( in TEST_F() 61 EXPECT_TRUE(FormatArgImplFriend::ToInt( in TEST_F() 67 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(false), &out)); in TEST_F() 69 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(true), &out)); in TEST_F() 71 EXPECT_FALSE(FormatArgImplFriend::ToInt(FormatArgImpl(2.2), &out)); in TEST_F() [all …]
|
D | arg.h | 276 static bool ToInt(Arg arg, int* out) { 438 static bool ToInt(Data arg, int* out, std::true_type /* is_integral */, 445 static bool ToInt(Data arg, int* out, std::false_type, 453 static bool ToInt(Data, int*, std::false_type, std::false_type) { 462 return ToInt<T>(arg, static_cast<int*>(out), std::is_integral<T>(),
|
D | bind.cc | 35 return FormatArgImplFriend::ToInt(pack[position - 1], value); in BindFromPosition()
|
/external/abseil-cpp/absl/strings/internal/str_format/ |
D | arg_test.cc | 28 TEST_F(FormatArgImplTest, ToInt) { in TEST_F() argument 30 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(1), &out)); in TEST_F() 32 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(-1), &out)); in TEST_F() 35 FormatArgImplFriend::ToInt(FormatArgImpl(static_cast<char>(64)), &out)); in TEST_F() 37 EXPECT_TRUE(FormatArgImplFriend::ToInt( in TEST_F() 40 EXPECT_TRUE(FormatArgImplFriend::ToInt( in TEST_F() 46 EXPECT_TRUE(FormatArgImplFriend::ToInt( in TEST_F() 52 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(false), &out)); in TEST_F() 54 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(true), &out)); in TEST_F() 56 EXPECT_FALSE(FormatArgImplFriend::ToInt(FormatArgImpl(2.2), &out)); in TEST_F() [all …]
|
D | arg.h | 205 static bool ToInt(Arg arg, int* out) { 358 static bool ToInt(Data arg, int* out, std::true_type /* is_integral */, 365 static bool ToInt(Data arg, int* out, std::false_type, 373 static bool ToInt(Data, int*, std::false_type, std::false_type) { 381 return ToInt<T>(arg, static_cast<int*>(out), std::is_integral<T>(),
|
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/str_format/ |
D | arg_test.cc | 28 TEST_F(FormatArgImplTest, ToInt) { in TEST_F() argument 30 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(1), &out)); in TEST_F() 32 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(-1), &out)); in TEST_F() 35 FormatArgImplFriend::ToInt(FormatArgImpl(static_cast<char>(64)), &out)); in TEST_F() 37 EXPECT_TRUE(FormatArgImplFriend::ToInt( in TEST_F() 40 EXPECT_TRUE(FormatArgImplFriend::ToInt( in TEST_F() 46 EXPECT_TRUE(FormatArgImplFriend::ToInt( in TEST_F() 52 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(false), &out)); in TEST_F() 54 EXPECT_TRUE(FormatArgImplFriend::ToInt(FormatArgImpl(true), &out)); in TEST_F() 56 EXPECT_FALSE(FormatArgImplFriend::ToInt(FormatArgImpl(2.2), &out)); in TEST_F() [all …]
|
D | arg.h | 205 static bool ToInt(Arg arg, int* out) { 358 static bool ToInt(Data arg, int* out, std::true_type /* is_integral */, 365 static bool ToInt(Data arg, int* out, std::false_type, 373 static bool ToInt(Data, int*, std::false_type, std::false_type) { 381 return ToInt<T>(arg, static_cast<int*>(out), std::is_integral<T>(),
|
D | bind.cc | 21 return FormatArgImplFriend::ToInt(pack[position - 1], value); in BindFromPosition()
|
/external/fastrpc/src/ |
D | smath.c | 34 static int32 ToInt(int64 a) in ToInt() function 43 return ToInt((int64)a + (int64)b); in smath_Add() 48 return ToInt((int64)a - (int64)b); in smath_Sub() 53 return ToInt((int64)a * (int64)b); in smath_Mul()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cert/ |
D | StrToNumCheck.cpp | 40 ToInt, enumerator 53 .Cases("atoi", "atol", ConversionKind::ToInt) in ClassifyConversionFunc() 88 CK = ConversionKind::ToInt; in ClassifyFormatString() 137 case ConversionKind::ToInt: in ClassifyConversionType() 157 case ConversionKind::ToInt: in ClassifyReplacement()
|
/external/clang/lib/AST/ |
D | ASTDiagnostic.cpp | 619 void SetIntegerDiff(const llvm::APSInt &FromInt, const llvm::APSInt &ToInt, in SetIntegerDiff() argument 627 FlatTree[CurrentNode].ToArgInfo.Val = ToInt; in SetIntegerDiff() 656 Expr *FromExpr, const llvm::APSInt &ToInt, bool IsValidToInt, in SetFromDeclarationAndToIntegerDiff() argument 664 FlatTree[CurrentNode].ToArgInfo.Val = ToInt; in SetFromDeclarationAndToIntegerDiff() 775 void GetIntegerDiff(llvm::APSInt &FromInt, llvm::APSInt &ToInt, in GetIntegerDiff() argument 781 ToInt = FlatTree[ReadNode].ToArgInfo.Val; in GetIntegerDiff() 807 Expr *&FromExpr, llvm::APSInt &ToInt, bool &IsValidToInt, in GetFromDeclarationAndToIntegerDiff() argument 815 ToInt = FlatTree[ReadNode].ToArgInfo.Val; in GetFromDeclarationAndToIntegerDiff() 1207 llvm::APSInt FromInt, ToInt; in DiffNonTypes() local 1215 InitializeNonTypeDiffVariables(Context, ToIter, ToDefaultNonTypeDecl, ToInt, in DiffNonTypes() [all …]
|
/external/llvm-project/clang/lib/AST/ |
D | ASTDiagnostic.cpp | 650 void SetIntegerDiff(const llvm::APSInt &FromInt, const llvm::APSInt &ToInt, in SetIntegerDiff() argument 658 FlatTree[CurrentNode].ToArgInfo.Val = ToInt; in SetIntegerDiff() 687 Expr *FromExpr, const llvm::APSInt &ToInt, bool IsValidToInt, in SetFromDeclarationAndToIntegerDiff() argument 695 FlatTree[CurrentNode].ToArgInfo.Val = ToInt; in SetFromDeclarationAndToIntegerDiff() 806 void GetIntegerDiff(llvm::APSInt &FromInt, llvm::APSInt &ToInt, in GetIntegerDiff() argument 812 ToInt = FlatTree[ReadNode].ToArgInfo.Val; in GetIntegerDiff() 838 Expr *&FromExpr, llvm::APSInt &ToInt, bool &IsValidToInt, in GetFromDeclarationAndToIntegerDiff() argument 846 ToInt = FlatTree[ReadNode].ToArgInfo.Val; in GetFromDeclarationAndToIntegerDiff() 1247 llvm::APSInt FromInt, ToInt; in DiffNonTypes() local 1255 InitializeNonTypeDiffVariables(Context, ToIter, ToDefaultNonTypeDecl, ToInt, in DiffNonTypes() [all …]
|
/external/perfetto/src/traced/probes/ps/ |
D | process_stats_data_source.cc | 68 inline int ToInt(const std::string& str) { in ToInt() function 223 int tgid = ToInt(ReadProcStatusEntry(proc_status, "Tgid:")); in WriteProcessOrThread() 239 PERFETTO_DCHECK(ToInt(ReadProcStatusEntry(proc_status, "Tgid:")) == pid); in WriteProcess() 242 proc->set_ppid(ToInt(ReadProcStatusEntry(proc_status, "PPid:"))); in WriteProcess() 244 proc->set_uid(ToInt(ReadProcStatusEntry(proc_status, "Uid:"))); in WriteProcess() 424 auto counter = ToInt(oom_score_adj); in WriteAllProcessStats()
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | executable_run_options.cc | 33 int64 RunId::ToInt() const { return data_; } in ToInt() function in xla::RunId
|
D | executable_run_options.h | 61 int64 ToInt() const;
|