Home
last modified time | relevance | path

Searched refs:keyPtr (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore/core/abstract/
Dprim_structures.cc54 ValuePtr keyPtr = key->BuildValue(); in InferImplMakeDict() local
55 MS_EXCEPTION_IF_NULL(keyPtr); in InferImplMakeDict()
56 if (!keyPtr->isa<StringImm>()) { in InferImplMakeDict()
57 …MS_LOG(EXCEPTION) << op_name << " evaluator keys should be string, but got " << keyPtr->ToString(); in InferImplMakeDict()
59 auto key_string = GetValue<std::string>(keyPtr); in InferImplMakeDict()
72 ValuePtr keyPtr = key->BuildValue(); in InferImplMakeKwarg() local
73 MS_EXCEPTION_IF_NULL(keyPtr); in InferImplMakeKwarg()
74 if (!keyPtr->isa<StringImm>()) { in InferImplMakeKwarg()
75 … MS_LOG(EXCEPTION) << op_name << " evaluator key should be string, but got " << keyPtr->ToString(); in InferImplMakeKwarg()
77 auto key_string = GetValue<std::string>(keyPtr); in InferImplMakeKwarg()
/third_party/grpc/src/csharp/Grpc.Core/Internal/
DMetadataArraySafeHandle.cs67 … IntPtr keyPtr = Native.grpcsharp_metadata_array_get_key(metadataArray, index, out keyLen); in ReadMetadataFromPtrUnsafe()
69 string key = WellKnownStrings.TryIdentify(keyPtr, keyLen32) in ReadMetadataFromPtrUnsafe()
70 ?? Marshal.PtrToStringAnsi(keyPtr, keyLen32); in ReadMetadataFromPtrUnsafe()