Home
last modified time | relevance | path

Searched refs:AsInt (Results 1 – 17 of 17) sorted by relevance

/external/flatbuffers/tests/
Dpy_flexbuffers_test.py283 self.assertEqual(root.AsInt, 0)
310 self.assertEqual(root.AsInt, int(value))
340 self.assertEqual(root.AsInt, value)
416 self.assertEqual(root.AsInt, 56)
420 self.assertEqual(root.AsInt, new_value)
429 self.assertEqual(root.AsInt, 1)
433 self.assertEqual(root.AsInt, new_value)
544 self.assertEqual(root.AsInt, len(value))
640 self.assertEqual(root.AsInt, len(vector))
709 self.assertEqual(root.AsInt, len(vector))
[all …]
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/
Dgrpc_tpu_driver.cc499 req->set_operation_id(operation_id.AsInt()); in InitializeRequest()
506 req->add_wait_for_id(grpc_event->id().AsInt()); in InitializeRequest()
762 req->mutable_alloc_tuple()->add_children(grpc_child->id().AsInt()); in AllocateTuple()
776 req->mutable_dealloc()->set_handle(grpc_handle->id().AsInt()); in Deallocate()
791 static_cast<GrpcBufferHandle*>(dst)->id().AsInt()); in TransferToDevice()
804 static_cast<const GrpcBufferHandle*>(src)->id().AsInt()); in TransferFromDevice()
827 static_cast<const GrpcBufferHandle*>(src)->id().AsInt()); in TransferFromDeviceToDevice()
829 static_cast<const GrpcBufferHandle*>(dst)->id().AsInt()); in TransferFromDeviceToDevice()
876 req->mutable_load()->set_compiled_program_handle(grpc_handle->id().AsInt()); in LoadProgram()
891 static_cast<GrpcLoadedProgramHandle*>(handle.get())->id().AsInt()); in UnloadProgram()
[all …]
Devent_id.h54 uint64_t AsInt() const { return client_id << 44 | operation_id; } in AsInt() function
/external/armnn/include/armnn/
DBackendOptions.hpp120 int AsInt() const { assert(IsInt()); return m_Vals.i; } in AsInt() function in armnn::BackendOptions::Var
127 else if (IsInt()) { return std::to_string(AsInt()); } in ToString()
334 return value.AsInt(); in ParseIntBackendOption()
/external/clang/test/CXX/temp/temp.decls/temp.mem/
Dp5.cpp47 int AsInt() { in AsInt() function in Foo
/external/armnn/src/backends/aclCommon/
DArmComputeTuningUtils.hpp30 int v = value.AsInt(); in ParseTuningLevel()
/external/starlark-go/starlark/
Dunpack.go204 return AsInt(v, ptr)
Dint.go353 func AsInt(x Value, ptr interface{}) error { func
Deval_test.go733 if err := starlark.AsInt(test.val, test.ptr); err != nil {
Deval.go1013 if err := AsInt(needle, &b); err != nil {
Dlibrary.go232 if err := AsInt(elem, &b); err != nil {
/external/flatbuffers/python/flatbuffers/
Dflexbuffers.py585 return self.AsInt != 0
609 def AsInt(self): member in Ref
673 return float(self.AsInt)
818 return self.AsInt
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmParser.cpp3153 APInt AsInt; in parseDirectiveRealValue() local
3154 if (checkForValidSection() || parseRealValue(Semantics, AsInt)) in parseDirectiveRealValue()
3156 getStreamer().EmitIntValue(AsInt.getLimitedValue(), in parseDirectiveRealValue()
3157 AsInt.getBitWidth() / 8); in parseDirectiveRealValue()
4785 APInt AsInt; in parseDirectiveRealDCB() local
4786 if (parseRealValue(Semantics, AsInt)) in parseDirectiveRealDCB()
4794 getStreamer().EmitIntValue(AsInt.getLimitedValue(), in parseDirectiveRealDCB()
4795 AsInt.getBitWidth() / 8); in parseDirectiveRealDCB()
/external/armnn/src/armnn/
DBackendHelper.cpp92 return capability.GetValue().AsInt() == backendCapability.GetValue().AsInt(); in HasCapability()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp2782 APInt AsInt = Value.bitcastToAPInt(); in parseDirectiveRealValue() local
2783 getStreamer().EmitIntValue(AsInt.getLimitedValue(), in parseDirectiveRealValue()
2784 AsInt.getBitWidth() / 8); in parseDirectiveRealValue()
/external/armnn/src/armnn/test/
DRuntimeTests.cpp604 CHECK(backendOptions[1].GetOption(0).GetValue().AsInt() == 42);
/external/clang/lib/AST/
DExprConstant.cpp8132 APSInt AsInt = Info.Ctx.MakeIntValue(LV.getLValueOffset().getQuantity(), in VisitCastExpr() local
8134 return Success(HandleIntToIntCast(Info, E, DestType, SrcType, AsInt), E); in VisitCastExpr()