Searched refs:keyPtr (Results 1 – 2 of 2) sorted by relevance
54 ValuePtr keyPtr = key->BuildValue(); in InferImplMakeDict() local55 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() local73 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()
67 … 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()