Lines Matching defs:options
51 EvaluateExpressionOptions options;
52 options.SetCoerceToId(false)
59 options);
85 EvaluateExpressionOptions options;
86 options.SetCoerceToId(false)
94 options);
123 EvaluateExpressionOptions options;
124 options.SetCoerceToId(false)
132 options);
160 EvaluateExpressionOptions options;
161 options.SetCoerceToId(false)
169 options);
389 ReadUTFBufferAndDumpToStream (const ReadUTFBufferAndDumpToStreamOptions<SourceDataType>& options)
391 if (options.GetLocation() == 0 || options.GetLocation() == LLDB_INVALID_ADDRESS)
394 ProcessSP process_sp(options.GetProcessSP());
404 if (origin_encoding != 8 && !options.GetConversionFunction())
407 if (!options.GetStream())
410 uint32_t sourceSize = options.GetSourceSize();
411 bool needs_zero_terminator = options.GetNeedsZeroTermination();
433 data_read = process_sp->ReadStringFromMemory(options.GetLocation(), buffer, bufferSPSize, error, type_width);
435 data_read = process_sp->ReadMemoryFromInferior(options.GetLocation(), (char*)buffer_sp->GetBytes(), bufferSPSize, error);
439 options.GetStream()->Printf("unable to read data");
445 return DumpUTFBufferToStream(options.GetConversionFunction(), data, *options.GetStream(), options.GetPrefixToken(), options.GetQuote(), sourceSize);
460 ReadUTFBufferAndDumpToStreamOptions<UTF16> options;
461 options.SetLocation(valobj_addr);
462 options.SetConversionFunction(ConvertUTF16toUTF8);
463 options.SetProcessSP(process_sp);
464 options.SetStream(&stream);
465 options.SetPrefixToken('u');
467 if (!ReadUTFBufferAndDumpToStream(options))
488 ReadUTFBufferAndDumpToStreamOptions<UTF32> options;
489 options.SetLocation(valobj_addr);
490 options.SetConversionFunction(ConvertUTF32toUTF8);
491 options.SetProcessSP(process_sp);
492 options.SetStream(&stream);
493 options.SetPrefixToken('U');
495 if (!ReadUTFBufferAndDumpToStream(options))
535 options;
536 options.SetLocation(data_addr);
537 options.SetConversionFunction(nullptr);
538 options.SetProcessSP(process_sp);
539 options.SetStream(&stream);
540 options.SetPrefixToken('L');
542 return ReadUTFBufferAndDumpToStream(options);
547 ReadUTFBufferAndDumpToStreamOptions<UTF16> options;
548 options.SetLocation(data_addr);
549 options.SetConversionFunction(ConvertUTF16toUTF8);
550 options.SetProcessSP(process_sp);
551 options.SetStream(&stream);
552 options.SetPrefixToken('L');
554 return ReadUTFBufferAndDumpToStream(options);
559 ReadUTFBufferAndDumpToStreamOptions<UTF32> options;
560 options.SetLocation(data_addr);
561 options.SetConversionFunction(ConvertUTF32toUTF8);
562 options.SetProcessSP(process_sp);
563 options.SetStream(&stream);
564 options.SetPrefixToken('L');
566 return ReadUTFBufferAndDumpToStream(options);
1044 ReadUTFBufferAndDumpToStreamOptions<UTF16> options;
1045 options.SetConversionFunction(ConvertUTF16toUTF8);
1046 options.SetLocation(location);
1047 options.SetProcessSP(process_sp);
1048 options
1049 options.SetPrefixToken('@');
1050 options.SetQuote('"');
1051 options.SetSourceSize(explicit_length);
1052 options.SetNeedsZeroTermination(false);
1053 return ReadUTFBufferAndDumpToStream (options);
1082 ReadUTFBufferAndDumpToStreamOptions<UTF16> options;
1083 options.SetConversionFunction(ConvertUTF16toUTF8);
1084 options.SetLocation(location);
1085 options.SetProcessSP(process_sp);
1086 options.SetStream(&stream);
1087 options.SetPrefixToken('@');
1088 options.SetQuote('"');
1089 options.SetSourceSize(explicit_length);
1090 options.SetNeedsZeroTermination(has_explicit_length == false);
1091 return ReadUTFBufferAndDumpToStream (options);
1096 ReadUTFBufferAndDumpToStreamOptions<UTF16> options;
1097 options.SetConversionFunction(ConvertUTF16toUTF8);
1098 options.SetLocation(location);
1099 options.SetProcessSP(process_sp);
1100 options.SetStream(&stream);
1101 options.SetPrefixToken('@');
1102 options.SetQuote('"');
1103 options.SetSourceSize(explicit_length);
1104 options.SetNeedsZeroTermination(has_explicit_length == false);
1105 return ReadUTFBufferAndDumpToStream (options);