Home
last modified time | relevance | path

Searched refs:temp_line (Results 1 – 25 of 123) sorted by relevance

12345

/dports/cad/horizon-eda/horizon-2.1.0/src/core/tools/
H A Dtool_draw_line.cpp17 if (temp_line) in apply_settings()
18 temp_line->width = settings.width; in apply_settings()
29 temp_line = nullptr; in begin()
40 if (temp_line) { in update_tip()
55 if (temp_line == nullptr) { in do_move()
77 if (temp_line) in update()
90 if (temp_line) in update()
101 if (temp_line) { in update()
105 temp_line = nullptr; in update()
125 if (temp_line) { in update()
[all …]
H A Dtool_draw_connection_line.cpp22 temp_line = nullptr; in begin()
32 if (temp_line) in update_tip()
43 if (temp_line) in update()
82 if (temp_line) { in update()
86 temp_line_last = temp_line; in update()
87 temp_line = nullptr; in update()
98 temp_line->to.connect(temp_junc); in update()
106 if (temp_line) { in update()
111 temp_line = nullptr; in update()
138 if (temp_line) { in update()
[all …]
/dports/games/libretro-dosbox/dosbox-libretro-aa71b67/src/dos/
H A Ddos_programs.cpp253 if ((temp_line.size() > 2) || ((temp_line.size()>1) && (temp_line[1]!=':'))) goto showusage; in Run()
273 …if(temp_line.size() > 3 && temp_line[temp_line.size()-1]=='\\') temp_line.erase(temp_line.size()-1… in Run()
328 if (temp_line[temp_line.size()-1]!=CROSS_FILESPLIT) temp_line+=CROSS_FILESPLIT; in Run()
380 if( (temp_line == "c:\\") || (temp_line == "C:\\") || in Run()
381 (temp_line == "c:/") || (temp_line == "C:/") ) in Run()
625 if((temp_line == "-l") || (temp_line == "-L")) { in Run()
643 if((temp_line == "-e") || (temp_line == "-E")) { in Run()
647 for(size_t ct = 0;ct < temp_line.size();ct++) temp_line[ct] = toupper(temp_line[ct]); in Run()
1034 …if(temp_line.size() >= 2 && (temp_line[0] == '-' ||temp_line[0] =='/')&& (temp_line[1] == 'a' || t… in Run()
1035 else if(temp_line.size() == 2 && temp_line[1] == ':') { in Run()
[all …]
/dports/emulators/dosbox-staging/dosbox-staging-0.78.0/src/dos/
H A Dprogram_mount.cpp220 if ((temp_line.size() > 2) || ((temp_line.size() > 1) && (temp_line[1]!=':'))) goto showusage; in Run()
243 if (!temp_line.size()) { in Run()
254 temp_line = lastconfigdir + CROSS_FILESPLIT + temp_line; in Run()
261 if (temp_line.size() > 3 && temp_line.back() == '\\') in Run()
262 temp_line.pop_back(); in Run()
273 temp_line.c_str()); in Run()
277 temp_line.c_str()); in Run()
279 temp_line = real_path; in Run()
293 if (temp_line[temp_line.size() - 1] != CROSS_FILESPLIT) temp_line += CROSS_FILESPLIT; in Run()
322 if ( (temp_line == "c:\\") || (temp_line == "C:\\") || in Run()
[all …]
H A Dprogram_imgmount.cpp134 …if (!cmd->FindCommand(1,temp_line) || (temp_line.size() > 2) || ((temp_line.size() > 1) && (temp_l… in Run()
145 cmd->FindCommand(1,temp_line); in Run()
146 if ((temp_line.size() > 1) || (!isdigit(temp_line[0]))) { in Run()
150 drive = temp_line[0]; in Run()
161 while (cmd->FindCommand((unsigned int)(paths.size() + 2), temp_line) && temp_line.size()) { in Run()
166 temp_line.c_str()); in Run()
172 temp_line.c_str()); in Run()
178 temp_line = real_path; in Run()
207 temp_line = tmp; in Run()
222 paths.push_back(temp_line); in Run()
[all …]
H A Dprogram_rescan.cpp35 if (cmd->FindCommand(1,temp_line)) { in Run()
37 if (temp_line.size() >= 2 && in Run()
38 (temp_line[0] == '-' || temp_line[0] == '/') && in Run()
39 (temp_line[1] == 'a' || temp_line[1] == 'A')) { in Run()
41 } else if (temp_line.size() == 2 && temp_line[1] == ':') { in Run()
42 lowcase(temp_line); in Run()
43 drive = temp_line[0] - 'a'; in Run()
H A Dprogram_loadfix.cpp36 if (cmd->FindCommand(commandNr, temp_line)) { in Run()
37 if (temp_line[0] == '-' || temp_line[0] == '/') { in Run()
38 const auto ch = std::toupper(temp_line[1]); in Run()
46 kb = atoi(temp_line.c_str()+1); in Run()
60 if (cmd->FindCommand(commandNr++,temp_line)) { in Run()
63 safe_strcpy(filename, temp_line.c_str()); in Run()
67 bool found = cmd->FindCommand(commandNr++,temp_line); in Run()
69 if (safe_strlen(args)+temp_line.length()+1>256) break; in Run()
70 safe_strcat(args, temp_line.c_str()); in Run()
71 found = cmd->FindCommand(commandNr++,temp_line); in Run()
H A Dprogram_boot.cpp173 if (temp_line.length() == 2 && toupper(temp_line[0]) >= 'A' && in Run()
174 toupper(temp_line[0]) <= 'Z' && temp_line[1] == ':') { in Run()
175 drive = toupper(temp_line[0]); in Run()
187 if ((temp_line == "-l") || (temp_line == "-L")) { in Run()
192 drive = toupper(temp_line[0]); in Run()
207 if ((temp_line == "-e") || (temp_line == "-E")) { in Run()
213 temp_line[ct] = toupper( in Run()
214 temp_line[ct]); in Run()
215 cart_cmd = temp_line; in Run()
228 temp_line.c_str()); in Run()
[all …]
H A Dprogram_keyb.cpp27 if (cmd->FindCommand(1,temp_line)) { in Run()
29 cmd->FindString("?", temp_line, false)) { in Run()
48 keyb_error=DOS_LoadKeyboardLayout(temp_line.c_str(), tried_cp, cp_file_name); in Run()
50 keyb_error=DOS_SwitchKeyboardLayout(temp_line.c_str(), tried_cp); in Run()
54 WriteOut(MSG_Get("PROGRAM_KEYB_NOERROR"),temp_line.c_str(),dos.loaded_codepage); in Run()
57 WriteOut(MSG_Get("PROGRAM_KEYB_FILENOTFOUND"),temp_line.c_str()); in Run()
61 WriteOut(MSG_Get("PROGRAM_KEYB_INVALIDFILE"),temp_line.c_str()); in Run()
64 WriteOut(MSG_Get("PROGRAM_KEYB_LAYOUTNOTFOUND"),temp_line.c_str(),tried_cp); in Run()
67 WriteOut(MSG_Get("PROGRAM_KEYB_INVCPFILE"),temp_line.c_str()); in Run()
/dports/emulators/dosbox/dosbox-0.74-3/src/dos/
H A Ddos_programs.cpp256 if ((temp_line.size() > 2) || ((temp_line.size()>1) && (temp_line[1]!=':'))) goto showusage; in Run()
271 …if(temp_line.size() > 3 && temp_line[temp_line.size()-1]=='\\') temp_line.erase(temp_line.size()-1… in Run()
326 if (temp_line[temp_line.size()-1]!=CROSS_FILESPLIT) temp_line+=CROSS_FILESPLIT; in Run()
378 if( (temp_line == "c:\\") || (temp_line == "C:\\") || in Run()
379 (temp_line == "c:/") || (temp_line == "C:/") ) in Run()
622 if((temp_line == "-l") || (temp_line == "-L")) { in Run()
640 if((temp_line == "-e") || (temp_line == "-E")) { in Run()
644 for(size_t ct = 0;ct < temp_line.size();ct++) temp_line[ct] = toupper(temp_line[ct]); in Run()
1130 …if (!cmd->FindCommand(1,temp_line) || (temp_line.size() > 2) || ((temp_line.size()>1) && (temp_lin… in Run()
1142 if ((temp_line.size() > 1) || (!isdigit(temp_line[0]))) { in Run()
[all …]
/dports/graphics/libgphoto2/libgphoto2-2.5.26/camlibs/sq905/
H A Dpostprocess.c145 unsigned char *temp_line; in decode_panel() local
148 if (!temp_line) in decode_panel()
152 temp_line[i] = 0x80; in decode_panel()
168 tempval = (temp_line[2*i] in decode_panel()
176 tempval = (temp_line[2*i+1] in decode_panel()
184 free (temp_line); in decode_panel()
196 tempval = (temp_line[0]+temp_line[1])/2 + diff; in decode_panel()
203 temp_line[2*i] = tempval; in decode_panel()
231 tempval = (temp_line[2*i] in decode_panel()
238 temp_line[2*i] = tempval; in decode_panel()
[all …]
/dports/emulators/dosbox/dosbox-0.74-3/src/misc/
H A Dprograms.cpp266 || cmd->FindString("-wc",temp_line,true)) { in Run()
272 f=fopen(temp_line.c_str(),"wb+"); in Run()
278 control->PrintConfig(temp_line.c_str()); in Run()
282 ||cmd->FindString("-wl",temp_line,true)) { in Run()
289 f=fopen(temp_line.c_str(),"wb+"); in Run()
295 MSG_Write(temp_line.c_str()); in Run()
309 if(cmd->FindString("-get",temp_line,true)) { in Run()
312 if(temp2 != "") temp_line = temp_line + " " + temp2; in Run()
320 std::string prop = temp_line.substr(space+1); temp_line.erase(space); in Run()
347 if(temp2!="") temp_line = temp_line + " " + temp2; in Run()
[all …]
H A Dcross.cpp101 void Cross::ResolveHomedir(std::string & temp_line) { in ResolveHomedir() argument
102 if(!temp_line.size() || temp_line[0] != '~') return; //No ~ in ResolveHomedir()
104 if(temp_line.size() == 1 || temp_line[1] == CROSS_FILESPLIT) { //The ~ and ~/ variant in ResolveHomedir()
106 if(home) temp_line.replace(0,1,std::string(home)); in ResolveHomedir()
109 std::string::size_type namelen = temp_line.find(CROSS_FILESPLIT); in ResolveHomedir()
110 if(namelen == std::string::npos) namelen = temp_line.size(); in ResolveHomedir()
111 std::string username = temp_line.substr(1,namelen - 1); in ResolveHomedir()
113 if(pass) temp_line.replace(0,namelen,pass->pw_dir); //namelen -1 +1(for the ~) in ResolveHomedir()
/dports/games/libretro-dosbox/dosbox-libretro-aa71b67/src/misc/
H A Dcross.cpp89 void Cross::ResolveHomedir(std::string & temp_line) in ResolveHomedir() argument
91 if(!temp_line.size() || temp_line[0] != '~') in ResolveHomedir()
94 if(temp_line.size() == 1 || temp_line[1] == CROSS_FILESPLIT) in ResolveHomedir()
99 temp_line.replace(0,1,std::string(home)); in ResolveHomedir()
107 std::string::size_type namelen = temp_line.find(CROSS_FILESPLIT); in ResolveHomedir()
110 namelen = temp_line.size(); in ResolveHomedir()
111 username = temp_line.substr(1,namelen - 1); in ResolveHomedir()
114 temp_line.replace(0,namelen,pass->pw_dir); //namelen -1 +1(for the ~) in ResolveHomedir()
/dports/games/d2x/d2x-0.2.5/arch/win32/
H A Dwinnet.c255 char temp_line[132], *p1; in ipx_read_user_file() local
267 while (fgets(temp_line, 132, fp)) { in ipx_read_user_file()
269 p1 = strchr(temp_line,'\n'); if (p1) *p1 = '\0'; in ipx_read_user_file()
270 p1 = strchr(temp_line,';'); if (p1) *p1 = '\0'; in ipx_read_user_file()
272 if (strlen(temp_line) >= 21 && temp_line[8] == '/') { in ipx_read_user_file()
274 if (sscanf(temp_line + n * 2, "%2x", &x) != 1) in ipx_read_user_file()
313 char temp_line[132], *p1; in ipx_read_network_file() local
327 while (fgets(temp_line, 132, fp)) { in ipx_read_network_file()
329 p1 = strchr(temp_line,'\n'); if (p1) *p1 = '\0'; in ipx_read_network_file()
330 p1 = strchr(temp_line,';'); if (p1) *p1 = '\0'; in ipx_read_network_file()
[all …]
/dports/games/d2x/d2x-0.2.5/arch/linux/
H A Dlinuxnet.c266 char temp_line[132], *p1; in ipx_read_user_file() local
278 while (fgets(temp_line, 132, fp)) { in ipx_read_user_file()
280 p1 = strchr(temp_line,'\n'); if (p1) *p1 = '\0'; in ipx_read_user_file()
281 p1 = strchr(temp_line,';'); if (p1) *p1 = '\0'; in ipx_read_user_file()
283 if (strlen(temp_line) >= 21 && temp_line[8] == '/') { in ipx_read_user_file()
285 if (sscanf(temp_line + n * 2, "%2x", &x) != 1) in ipx_read_user_file()
324 char temp_line[132], *p1; in ipx_read_network_file() local
338 while (fgets(temp_line, 132, fp)) { in ipx_read_network_file()
340 p1 = strchr(temp_line,'\n'); if (p1) *p1 = '\0'; in ipx_read_network_file()
341 p1 = strchr(temp_line,';'); if (p1) *p1 = '\0'; in ipx_read_network_file()
[all …]
/dports/devel/interactive_rebase_tool/git-interactive-rebase-tool-1.2.1/cargo-crates/pdcurses-sys-0.7.0/src/PDCurses/dos/
H A Dpdcdisp.c65 struct {unsigned char text, attr;} temp_line[256]; in PDC_transform_line() local
75 temp_line[j].attr = pdc_atrtab[((ch >> PDC_ATTR_SHIFT) & 0x1f) in PDC_transform_line()
78 temp_line[j].attr = pdc_atrtab[ch >> PDC_ATTR_SHIFT]; in PDC_transform_line()
85 temp_line[j].text = ch & 0xff; in PDC_transform_line()
89 dosmemput(temp_line, len * 2, in PDC_transform_line()
95 ds = FP_SEG((void far *) temp_line); in PDC_transform_line()
100 movedata(ds, (int)temp_line, pdc_video_seg, in PDC_transform_line()
105 temp_line, len * 2); in PDC_transform_line()
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/pdcurses-sys-0.7.1/src/PDCurses/dos/
H A Dpdcdisp.c65 struct {unsigned char text, attr;} temp_line[256]; in PDC_transform_line() local
75 temp_line[j].attr = pdc_atrtab[((ch >> PDC_ATTR_SHIFT) & 0x1f) in PDC_transform_line()
78 temp_line[j].attr = pdc_atrtab[ch >> PDC_ATTR_SHIFT]; in PDC_transform_line()
85 temp_line[j].text = ch & 0xff; in PDC_transform_line()
89 dosmemput(temp_line, len * 2, in PDC_transform_line()
95 ds = FP_SEG((void far *) temp_line); in PDC_transform_line()
100 movedata(ds, (int)temp_line, pdc_video_seg, in PDC_transform_line()
105 temp_line, len * 2); in PDC_transform_line()
/dports/biology/artemis/artemis-17.0.1-11-g3e43d27e/uk/ac/sanger/artemis/io/
H A DGenbankMisc.java55 final String temp_line = in_stream.readLine (); in GenbankMisc() local
57 if (temp_line != null && temp_line.startsWith (" ")) { in GenbankMisc()
58 setLine (getLine () + "\n" + temp_line); in GenbankMisc()
61 in_stream.pushBack (temp_line); in GenbankMisc()
/dports/deskutils/plans/plans_8.2.1/
H A Demail_reminders.cgi55 my $temp_line = $line;
56 $temp_line =~ s/<\/?email_reminder>//g;
57 my ($evt_id) = &xml_quick_extract($temp_line, "evt_id");
58 my ($before) = &xml_quick_extract($temp_line, "before");
59 my ($script_url) = &xml_quick_extract($temp_line, "script_url");
61 my ($extra_text) = &xml_quick_extract($temp_line, "extra_text");
63 my ($to_address) = &xml_quick_extract($temp_line, "email_address");
/dports/graphics/urt/urt-3.1b1_12/tools/
H A Drleflip.c60 rle_pixel **temp_line; local
164 if (rle_row_alloc( &out_hdr, &temp_line ) < 0)
167 temp_line--; /* Use zero based (vs. -1 based) addressing */
171 rows[chan] = &(temp_line[chan][out_hdr.xmin]);
181 outpxl = &(temp_line[chan][xlinewidth-1]);
210 if (rle_row_alloc( &out_hdr, &temp_line ) < 0)
213 temp_line--; /* Use zero based (vs. -1 based) */
218 rows[chan] = temp_line[chan];
235 outptr = temp_line[chan];
255 outptr = temp_line[chan];
/dports/devel/pdcurses/PDCurses-3.5/dos/
H A Dpdcdisp.c92 struct {unsigned char text, attr;} temp_line[256]; in PDC_transform_line() local
101 temp_line[j].attr = pdc_atrtab[ch >> PDC_ATTR_SHIFT]; in PDC_transform_line()
106 temp_line[j].text = ch & 0xff; in PDC_transform_line()
110 dosmemput(temp_line, len * 2, in PDC_transform_line()
116 ds = FP_SEG((void far *) temp_line); in PDC_transform_line()
121 movedata(ds, (int)temp_line, pdc_video_seg, in PDC_transform_line()
126 temp_line, len * 2); in PDC_transform_line()
/dports/devel/mingw32-pdcurses/PDCurses-3.4/dos/
H A Dpdcdisp.c94 struct {unsigned char text, attr;} temp_line[256]; in PDC_transform_line() local
103 temp_line[j].attr = pdc_atrtab[ch >> PDC_ATTR_SHIFT]; in PDC_transform_line()
108 temp_line[j].text = ch & 0xff; in PDC_transform_line()
112 dosmemput(temp_line, len * 2, in PDC_transform_line()
118 ds = FP_SEG((void far *) temp_line); in PDC_transform_line()
123 movedata(ds, (int)temp_line, pdc_video_seg, in PDC_transform_line()
128 temp_line, len * 2); in PDC_transform_line()
/dports/devel/interactive_rebase_tool/git-interactive-rebase-tool-1.2.1/cargo-crates/pdcurses-sys-0.7.0/src/PDCurses/os2/
H A Dpdcdisp.c66 struct {unsigned char text, attr;} temp_line[256]; in PDC_transform_line() local
78 temp_line[j].attr = pdc_atrtab[ch >> PDC_ATTR_SHIFT]; in PDC_transform_line()
84 temp_line[j].text = ch & 0xff; in PDC_transform_line()
88 v_putline((char *)temp_line, x, lineno, len); in PDC_transform_line()
90 VioWrtCellStr((PCH)temp_line, (USHORT)(len * sizeof(unsigned short)), in PDC_transform_line()
/dports/devel/pdcurses/PDCurses-3.5/os2/
H A Dpdcdisp.c66 struct {unsigned char text, attr;} temp_line[256]; in PDC_transform_line() local
78 temp_line[j].attr = pdc_atrtab[ch >> PDC_ATTR_SHIFT]; in PDC_transform_line()
84 temp_line[j].text = ch & 0xff; in PDC_transform_line()
88 v_putline((char *)temp_line, x, lineno, len); in PDC_transform_line()
90 VioWrtCellStr((PCH)temp_line, (USHORT)(len * sizeof(unsigned short)), in PDC_transform_line()

12345