Home
last modified time | relevance | path

Searched refs:c_str (Results 1 – 25 of 30) sorted by relevance

12

/tools/dexter/dexter/
Ddisassembler.cc171 for (const char* p = ir_string->c_str(); *p != '\0'; ++p) { in Visit()
200 printf("%s", ir_type->Decl().c_str()); in Visit()
207 printf("%s.%s", ir_field->parent->Decl().c_str(), ir_field->name->c_str()); in Visit()
215 ir_method->parent->Decl().c_str(), in Visit()
216 ir_method->name->c_str(), in Visit()
217 MethodDeclaration(ir_method->prototype).c_str()); in Visit()
225 printf("%s", ir_method_handle->field->name->c_str()); in Visit()
228 printf("%s", ir_method_handle->method->name->c_str()); in Visit()
236 printf("%s", MethodDeclaration(ir_proto).c_str()); in Visit()
263 printf("\t catch(%s) : Label_%d\n", handler.ir_type->Decl().c_str(), in Visit()
[all …]
Dexperimental.cc210 ::strcmp(ir_method->decl->prototype->return_type->descriptor->c_str(), "V") == 0; in StressExitHook()
366 if (std::strcmp(ir_method->decl->parent->descriptor->c_str(), kTracerClass) == 0) { in CodeCoverage()
386 ir_method->decl->parent->Decl().c_str(), in CodeCoverage()
387 ir_method->decl->name->c_str(), in CodeCoverage()
388 ir_method->decl->prototype->Signature().c_str()); in CodeCoverage()
451 ir::MethodId method_id(class_descriptor->c_str(), decl->name->c_str(), signature.c_str()); in StressFindMethod()
555 printf(" %s\n", e.first.c_str()); in ListExperiments()
Ddexter.cc260 printf(" %s\n", dex::DescriptorToDecl(descriptor).c_str()); in ListClasses()
377 dex::u4 class_idx = reader.FindClassIndex(descriptor.c_str()); in ProcessDex()
/tools/dexter/slicer/
Ddex_ir.cc45 return dex::Utf8Cmp(string_key, string->c_str()) == 0; in Compare()
49 return HashString(proto_key.c_str()); in Hash()
78 return dex::DescriptorToDecl(descriptor->c_str()); in Decl()
82 switch (*descriptor->c_str()) { in GetCategory()
103 ss << type->descriptor->c_str(); in Signature()
107 ss << return_type->descriptor->c_str(); in Signature()
209 return dex::Utf8Cmp(a->c_str(), b->c_str()) < 0; in Normalize()
Ddex_ir_builder.cc25 return ::strcmp(class_descriptor, method_decl->parent->descriptor->c_str()) == 0 in Match()
26 && ::strcmp(method_name, method_decl->name->c_str()) == 0 in Match()
137 ss << dex::DescriptorToShorty(return_type->descriptor->c_str()); in CreateShorty()
140 ss << dex::DescriptorToShorty(param_type->descriptor->c_str()); in CreateShorty()
148 auto shorty = GetAsciiString(CreateShorty(return_type, param_types).c_str()); in GetProto()
Dinstrumentation.cc43 switch (*(type->descriptor)->c_str()) { in BoxValue()
100 return ir_method->decl->parent->Decl() + "->" + ir_method->decl->name->c_str() + signature_str; in MethodLabel()
294 auto method_label = builder.GetAsciiString(MethodLabel(ir_method).c_str()); in InjectArrayParamsHook()
368 bool return_void = (::strcmp(declared_return_type->descriptor->c_str(), "V") == 0); in Apply()
480 auto method_label = builder.GetAsciiString(MethodLabel(ir_method).c_str()); in Apply()
/tools/netsim/src/util/
Dfilesystem.h38 return stat(name.c_str(), &stat_buffer) == 0; in exists()
47 std::ifstream f(name.c_str()); in is_regular_file()
Dcrash_report.cc65 .c_str(); in crash_callback()
77 std::cerr << fmt::format("{}\n", unwinder.FormatFrame(frame)).c_str(); in crash_callback()
Dini_file.cc38 BtsLogWarn("Failed to process .ini file %s for reading.", filepath.c_str()); in Read()
62 BtsLogWarn("Failed to open .ini file %s for writing.", filepath.c_str()); in Write()
Dos_utils.cc86 BtsLogWarn("Unable to find netsim ini file: %s", filepath.c_str()); in GetServerAddress()
90 BtsLogError("Not a regular file: %s", filepath.c_str()); in GetServerAddress()
Dlog.cc63 fprintf(stderr, "netsimd %s %s %s:%d - %s\n", level.c_str(), prefix, in BtsLogDefault()
64 file_path.c_str(), lineNumber, buffer); in BtsLogDefault()
/tools/security/fuzzing/llm/xmlreader_fuzzer/
DXmlRead_Fd_Fuzzer.cpp40 xmlDocPtr doc = xmlCtxtReadFd(ctxt, fd, URL.c_str(), encoding.c_str(), options); in LLVMFuzzerTestOneInput()
DXmlRead_Memory_Fuzzer.cpp54 …xmlDocPtr doc = xmlCtxtReadMemory(ctxt, buffer.data(), bufferSize, URL.c_str(), encoding.c_str(), … in LLVMFuzzerTestOneInput()
/tools/netsim/src/backend/
Dgrpc_server.cc61 BtsLogInfo("grpc_server new packet_stream for peer %s", peer.c_str()); in StreamPackets()
118 chip_id, device_name.c_str()); in StreamPackets()
135 chip_id, device_name.c_str()); in StreamPackets()
Dgrpc_client.cc73 BtsLog("Failed to create packet streamer client to %s", server_.c_str()); in StreamPackets()
84 BtsLog("Created packet streamer client to %s", server_.c_str()); in StreamPackets()
Dpacket_streamer_client.cc56 BtsLogInfo("Creating a Grpc channel to %s", endpoint.c_str()); in CreateGrpcChannel()
89 for (auto arg : program_with_args) BtsLogInfo("%s", arg.c_str()); in RunNetsimd()
/tools/security/fuzzing/system_fuzzers/libcrypto_utils/
Dlibcrypto_utils_fuzzer.cpp44 uint8_t* modulus = (uint8_t*)s.c_str(); in LLVMFuzzerTestOneInput()
49 uint8_t* rr = (uint8_t*)ss.c_str(); in LLVMFuzzerTestOneInput()
/tools/netsim/src/core/
Dserver.cc60 BtsLogInfo("vsock_uri: %s", vsock_uri.c_str()); in RunGrpcServer()
74 std::to_string(selected_port).c_str()); in RunGrpcServer()
/tools/security/fuzzing/presubmit_test_fuzzers/
Dtest_fuzzer_1.cpp28 BuggyCode1(null_terminated_string.c_str()); in LLVMFuzzerTestOneInput()
Dtest_fuzzer_2.cpp28 BuggyCode2(null_terminated_string.c_str()); in LLVMFuzzerTestOneInput()
/tools/security/fuzzing/example_fuzzer/
Dexample_fuzzer.cpp33 BuggyCode(null_terminated_string.c_str()); in LLVMFuzzerTestOneInput()
/tools/security/fuzzing/example_afl_fuzzer/
Dexample_afl_fuzzer.cpp23 CrashFunc(null_terminated_string.c_str()); in LLVMFuzzerTestOneInput()
/tools/test/graphicsbenchmark/apps/alloc_stress_app/src/cpp/
Dalloc_stress_activity.cpp45 LOG(ss.str().c_str()); in Java_com_android_game_qualification_allocstress_MainActivity_cmain()
/tools/security/fuzzing/llm/frameDecoder_fuzzer2/
DFrameDecoderFuzzer2.cpp35 AString componentName(name.c_str()); in LLVMFuzzerTestOneInput()
/tools/security/fuzzing/llm/tinyxml2_fuzzer/
Dtinyxml_parse_fuzzer.cpp72 doc.Parse(xmlString.c_str(), xmlString.length()); in LLVMFuzzerTestOneInput()

12