/dports/cad/librecad/LibreCAD-2.2.0-rc2/libraries/libdxfrw/src/intern/ |
H A D | dxfwriter.cpp | 111 *filestr << text << '\0'; in writeString() 112 return (filestr->good()); in writeString() 154 return (filestr->good()); in writeInt16() 218 filestr->precision(16); in dxfWriterAscii() 223 filestr->width(3); in writeString() 225 filestr->width(0); in writeString() 234 filestr->width(3); in writeInt16() 236 filestr->width(5); in writeInt16() 247 filestr->width(3); in writeInt64() 249 filestr->width(5); in writeInt64() [all …]
|
H A D | dxfreader.cpp | 92 return (filestr->good()); in readRec() 111 filestr->read(buffer,2); in readCode() 123 return (filestr->good()); in readCode() 130 return (filestr->good()); in readString() 137 return (filestr->good()); in readString() 143 filestr->read(buffer,2); in readInt16() 146 return (filestr->good()); in readInt16() 153 filestr->read(buffer,4); in readInt32() 164 filestr->read(buffer,8); in readInt64() 175 filestr->read(buffer,8); in readDouble() [all …]
|
H A D | dwgbuffer.cpp | 164 filestr{org.filestr->clone()} in dwgBuffer() 173 filestr.reset(org.filestr->clone()); in operator =() 209 filestr->setPos(filestr->getPos()-1); in setBitPos() 224 return filestr->good(); in moveBitPos() 847 if (!filestr->good()) in getBytes() 862 filestr->setPos(start); in crc8() 867 filestr->setPos(pos); in crc8() 868 if (!filestr->good()) in crc8() 885 filestr->setPos(start); in crc32() 890 filestr->setPos(pos); in crc32() [all …]
|
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/libs/vdxf/libdxfrw/intern/ |
H A D | dxfwriter.cpp | 111 *filestr << text << '\0'; in writeString() 112 return (filestr->good()); in writeString() 154 return (filestr->good()); in writeInt16() 219 filestr->precision(16); in dxfWriterAscii() 224 filestr->width(3); in writeString() 226 filestr->width(0); in writeString() 235 filestr->width(3); in writeInt16() 237 filestr->width(5); in writeInt16() 248 filestr->width(3); in writeInt64() 250 filestr->width(5); in writeInt64() [all …]
|
H A D | dxfreader.cpp | 88 return (filestr->good()); in readRec() 108 filestr->read(buffer,2); in readCode() 120 return (filestr->good()); in readCode() 127 return (filestr->good()); in readString() 134 return (filestr->good()); in readString() 140 filestr->read(buffer,2); in readInt16() 143 return (filestr->good()); in readInt16() 150 filestr->read(buffer,4); in readInt32() 161 filestr->read(buffer,8); in readInt64() 172 filestr->read(buffer,8); in readDouble() [all …]
|
/dports/cad/solvespace/solvespace-2.3/extlib/libdxfrw/intern/ |
H A D | dxfwriter.cpp | 111 *filestr << text << '\0'; in writeString() 112 return (filestr->good()); in writeString() 154 return (filestr->good()); in writeInt16() 218 filestr->precision(16); in dxfWriterAscii() 223 filestr->width(3); in writeString() 225 filestr->width(0); in writeString() 234 filestr->width(3); in writeInt16() 236 filestr->width(5); in writeInt16() 247 filestr->width(3); in writeInt64() 249 filestr->width(5); in writeInt64() [all …]
|
H A D | dxfreader.cpp | 88 return (filestr->good()); in readRec() 107 filestr->read(buffer,2); in readCode() 119 return (filestr->good()); in readCode() 126 return (filestr->good()); in readString() 133 return (filestr->good()); in readString() 139 filestr->read(buffer,2); in readInt16() 142 return (filestr->good()); in readInt16() 149 filestr->read(buffer,4); in readInt32() 160 filestr->read(buffer,8); in readInt64() 171 filestr->read(buffer,8); in readDouble() [all …]
|
H A D | dwgbuffer.cpp | 162 filestr = org.filestr->clone(); in dwgBuffer() 170 filestr = org.filestr->clone(); in operator =() 179 delete filestr; in ~dwgBuffer() 208 filestr->setPos(filestr->getPos()-1); in setBitPos() 223 return filestr->good(); in moveBitPos() 846 if (!filestr->good()) in getBytes() 861 filestr->setPos(start); in crc8() 866 filestr->setPos(pos); in crc8() 867 if (!filestr->good()) in crc8() 889 filestr->setPos(pos); in crc32() [all …]
|
/dports/graphics/qgis-ltr/qgis-3.16.16/external/libdxfrw/intern/ |
H A D | dxfwriter.cpp | 114 *filestr << text << '\0'; in writeString() 115 return ( filestr->good() ); in writeString() 158 return ( filestr->good() ); in writeInt16() 228 filestr->precision( 16 ); in dxfWriterAscii() 234 filestr->width( 3 ); in writeString() 236 filestr->width( 0 ); in writeString() 246 filestr->width( 3 ); in writeInt16() 248 filestr->width( 5 ); in writeInt16() 261 filestr->width( 3 ); in writeInt64() 263 filestr->width( 5 ); in writeInt64() [all …]
|
H A D | dxfreader.cpp | 103 return filestr->good(); in readRec() 138 return filestr->good(); in readCode() 148 return filestr->good(); in readString() 158 return filestr->good(); in readString() 170 return filestr->good(); in readInt16() 184 return filestr->good(); in readInt32() 198 return filestr->good(); in readInt64() 208 return filestr->good(); in readDouble() 220 return filestr->good(); in readBool() 231 return filestr->good(); in readCode() [all …]
|
H A D | dwgbuffer.cpp | 172 filestr = org.filestr->clone(); in dwgBuffer() 181 filestr = org.filestr->clone(); in operator =() 191 delete filestr; in ~dwgBuffer() 229 filestr->setPos( filestr->getPos() - 1 ); in setBitPos() 246 return filestr->good(); in moveBitPos() 646 if ( !filestr->good() ) in get8bitStr() 961 if ( !filestr->good() && ( int ) filestr->getPos() - pos != size ) in getBytes() 987 filestr->setPos( pos ); in crc8() 988 if ( !filestr->good() ) in crc8() 1012 filestr->setPos( pos ); in crc32() [all …]
|
/dports/graphics/qgis/qgis-3.22.3/external/libdxfrw/intern/ |
H A D | dxfwriter.cpp | 111 *filestr << text << '\0'; in writeString() 112 return (filestr->good()); in writeString() 154 return (filestr->good()); in writeInt16() 218 filestr->precision(16); in dxfWriterAscii() 223 filestr->width(3); in writeString() 225 filestr->width(0); in writeString() 234 filestr->width(3); in writeInt16() 236 filestr->width(5); in writeInt16() 247 filestr->width(3); in writeInt64() 249 filestr->width(5); in writeInt64() [all …]
|
H A D | dxfreader.cpp | 93 return filestr->good(); in readRec() 126 return filestr->good(); in readCode() 134 return filestr->good(); in readString() 142 return filestr->good(); in readString() 152 return filestr->good(); in readInt16() 164 return filestr->good(); in readInt32() 176 return filestr->good(); in readInt64() 184 return filestr->good(); in readDouble() 194 return filestr->good(); in readBool() 203 return filestr->good(); in readCode() [all …]
|
H A D | dwgbuffer.cpp | 149 , maxSize{filestr->size()} 154 , filestr{org.filestr->clone()} 162 filestr.reset( org.filestr->clone() ); in operator =() 207 filestr->setPos( filestr->getPos() - 1 ); in setBitPos() 224 return filestr->good(); in moveBitPos() 624 if ( !filestr->good() ) in get8bitStr() 928 if ( !filestr->good() && ( int ) filestr->getPos() - pos != size ) in getBytes() 954 filestr->setPos( pos ); in crc8() 955 if ( !filestr->good() ) in crc8() 979 filestr->setPos( pos ); in crc32() [all …]
|
/dports/cad/librecad/LibreCAD-2.2.0-rc2/libraries/libdxfrw/src/ |
H A D | libdwgr.cpp | 68 std::ifstream filestr; in getPreview() local 69 isOk = openFile(&filestr); in getPreview() 79 filestr.close(); in getPreview() 90 std::ifstream filestr; in testReader() local 92 if (!filestr.is_open() || !filestr.good() ){ in testReader() 136 filestr.close(); in testReader() 149 std::ifstream filestr; in read() local 164 filestr.close(); in read() 183 if (!filestr->is_open() || !filestr->good() ){ in openFile() 189 filestr->read (line, 6); in openFile() [all …]
|
/dports/graphics/qgis-ltr/qgis-3.16.16/external/libdxfrw/ |
H A D | libdwgr.cpp | 79 std::ifstream filestr; in getPreview() local 93 filestr.close(); in getPreview() 105 std::ifstream filestr; in testReader() local 107 if ( !filestr.is_open() || !filestr.good() ) in testReader() 113 dwgBuffer fileBuf( &filestr ); in testReader() 158 filestr.close(); in testReader() 174 std::ifstream filestr; in read() local 193 filestr.close(); in read() 214 if ( !filestr->is_open() || !filestr->good() ) in openFile() 221 filestr->read( line, 6 ); in openFile() [all …]
|
/dports/multimedia/obs-studio/obs-studio-27.1.3/plugins/obs-qsv11/ |
H A D | common_utils.cpp | 17 void PrintErrString(int err, const char *filestr, int line) in PrintErrString() argument 24 printf("\n Unknown error: %s %d\n", filestr, line); in PrintErrString() 28 filestr, line); in PrintErrString() 32 filestr, line); in PrintErrString() 41 printf("\n Invalid handle. %s %d\n", filestr, line); in PrintErrString() 44 printf("\n Memory lock failure. %s %d\n", filestr, line); in PrintErrString() 48 filestr, line); in PrintErrString() 61 printf("\n Operation aborted. %s %d\n", filestr, line); in PrintErrString() 64 printf("\n HW device lost. %s %d\n", filestr, line); in PrintErrString() 74 printf("\n Undefined behavior. %s %d\n", filestr, line); in PrintErrString() [all …]
|
/dports/devel/p5-Devel-NYTProf/Devel-NYTProf-6.10/lib/Devel/NYTProf/ |
H A D | Reader.pm | 222 my $filestr = $fi->filename; 256 $filestr, $max_linenum, scalar @$lines_array, 355 my $FILE = $filestr; 392 elsif ($filestr =~ m{^/loader/0x[0-9a-zA-Z]+/}) { 401 $msg = "Unable to open '$filestr' for reading: $!" 402 unless $filestr =~ m{t/test01\.p$}; 405 if ($filestr =~ m!/(accessor .*) defined at /!) { 416 if $filestr ne '-e' 417 and $filestr !~ m:^/: 441 $src_undefs, scalar @$src_lines, $filestr [all …]
|
/dports/sysutils/syslinux/syslinux-6.03/com32/rosh/ |
H A D | rosh.c | 412 strcpy(filestr, pwdstr); in rosh_qualify_filestr() 415 filestr[filepos++] = SEP; in rosh_qualify_filestr() 418 ROSH_DEBUG("--'%s'\n", filestr); in rosh_qualify_filestr() 459 char filestr[ROSH_PATH_SZ]; in rosh_cd() local 561 if (filestr) { in rosh_ls_de_size() 562 file2pos = strlen(filestr); in rosh_ls_de_size() 590 if (filestr) { in rosh_ls_de_size_mode() 592 file2pos = strlen(filestr); in rosh_ls_de_size_mode() 850 strcpy(de.d_name, filestr); in rosh_ls_arg() 877 if (filestr[0] == '-') { in rosh_ls_parse_opt() [all …]
|
/dports/devel/kdevelop-pg-qt/kdevelop-pg-qt-2.2.1/examples/cc/ |
H A D | main.cpp | 40 ifstream filestr(argv[i]); in main() local 42 if(filestr.is_open()) in main() 45 filestr.ignore(10000); in main() 46 size = filestr.tellg(); in main() 47 filestr.close(); in main() 49 filestr.open(argv[i]); in main() 50 filestr.read(contents, size); in main() 53 filestr.close(); in main()
|
/dports/graphics/qgis/qgis-3.22.3/external/libdxfrw/ |
H A D | libdwgr.cpp | 66 std::ifstream filestr; in getPreview() local 80 filestr.close(); in getPreview() 92 std::ifstream filestr; in testReader() local 94 if ( !filestr.is_open() || !filestr.good() ) in testReader() 100 dwgBuffer fileBuf( &filestr ); in testReader() 138 filestr.close(); in testReader() 154 std::ifstream filestr; in read() local 173 filestr.close(); in read() 263 if ( !filestr->is_open() || !filestr->good() ) in openFile() 270 filestr->read( line, 6 ); in openFile() [all …]
|
/dports/multimedia/intel-media-sdk/MediaSDK-intel-mediasdk-22.1.0/tutorials/common/ |
H A D | common_utils.cpp | 35 void PrintErrString(int err,const char* filestr,int line) in PrintErrString() argument 42 printf("\n Unknown error: %s %d\n",filestr,line); in PrintErrString() 51 printf("\n Could not allocate memory. %s %d\n",filestr,line); in PrintErrString() 54 printf("\n Insufficient IO buffers. %s %d\n",filestr,line); in PrintErrString() 57 printf("\n Invalid handle. %s %d\n",filestr,line); in PrintErrString() 60 printf("\n Memory lock failure. %s %d\n",filestr,line); in PrintErrString() 69 printf("\n More input data expected. %s %d\n",filestr,line); in PrintErrString() 75 printf("\n Operation aborted. %s %d\n",filestr,line); in PrintErrString() 78 printf("\n HW device lost. %s %d\n",filestr,line); in PrintErrString() 87 printf("\n Undefined behavior. %s %d\n",filestr,line); in PrintErrString() [all …]
|
/dports/security/ncrack/ncrack-0.7/ |
H A D | ncrack_resume.cc | 434 char *filestr; in ncrack_resume() local 446 filestr = mmapfile(fname, &filelen, O_RDONLY); in ncrack_resume() 447 if (!filestr) { in ncrack_resume() 456 p = filestr; in ncrack_resume() 500 while (q - filestr < filelen) { in ncrack_resume() 504 if (q - filestr >= filelen) in ncrack_resume() 510 if (q - filestr >= filelen) in ncrack_resume() 515 if (q - filestr >= filelen) in ncrack_resume() 532 if (q - filestr >= filelen) in ncrack_resume() 542 if (q - filestr >= filelen) in ncrack_resume() [all …]
|
/dports/devel/fossology-nomos-standalone/fossology-3.11.0/utils/ |
H A D | preprocess_php | 42 $filestr = file_get_contents($input_filename); 48 $filestr = str_replace('{$'.$var.'}', $value, $filestr); 57 file_put_contents($output_filename, $filestr);
|
/dports/graphics/leptonica/leptonica-1.76.0/src/ |
H A D | stringcode.c | 366 sa1 = sarrayCreateLinesFromString(filestr, 1); in strcodeFinalize() 367 LEPT_FREE(filestr); in strcodeFinalize() 436 filestr = sarrayToString(sa3, 1); in strcodeFinalize() 437 nbytes = strlen(filestr); in strcodeFinalize() 439 l_binaryWrite(buf, "w", filestr, nbytes); in strcodeFinalize() 440 LEPT_FREE(filestr); in strcodeFinalize() 451 LEPT_FREE(filestr); in strcodeFinalize() 494 filestr = sarrayToString(sa3, 1); in strcodeFinalize() 495 nbytes = strlen(filestr); in strcodeFinalize() 497 l_binaryWrite(buf, "w", filestr, nbytes); in strcodeFinalize() [all …]
|