Lines Matching refs:string

16 #include <string.h>
19 #include <string>
44 void append_file(const std::string& filename, const std::string& storename)
48 if (pos != std::string::npos) {
94 void add_directory(const std::string& path, const std::string& outpath)
102 std::string p, op;
117 auto alphaSort = [](dirent* x, dirent* y) { return std::string(x->d_name) < std::string(y->d_name); };
160 std::string gDataName = "BinaryDataForReadOnlyFileSystem";
161 std::string gSizeName = "SizeOfDataForReadOnlyFileSystem";
163 void write_obj(const std::string& fname, const std::string& secname, size_t size_of_data, const void* data, bool x64)
202 std::string t = "_";
204 std::string t2 = "_";
245 // write string table
260 type o, uint8_t arch, const std::string& fname, const std::string& secname, size_t size_of_data, const void* data)
305 std::string tmp = ".rodata.";
334 void write_macho(const std::string& fname, const std::string& secname, size_t size_of_data_, const void* data)
414 std::string dataName = "_";
416 std::string sizeName = "_";
444 1, // first string
451 static_cast<uint32_t>(sizeName.size() + 2), // second string
485 fputc(0, e); // alignment byte to begin string table 8 byte boundary
488 fputc(0, e); // filler byte to begin string table as it starts indexing at 1
502 fputc(0, e); // alignment byte to begin string table 8 byte boundary
505 fputc(0, e); // filler byte to begin string table
514 std::string obj32Name = "rofs_32.obj";
515 std::string obj64Name = "rofs_64.obj";
516 std::string o32Name = "rofs_32.o";
517 std::string o64Name = "rofs_64.o";
518 std::string x32Name = "rofs_x86.o";
519 std::string x64Name = "rofs_x64.o";
520 std::string macName = "rofs_mac.o";
521 std::string secName = "rofs";
526 std::string inPath = { "" }, roPath = { "" };