Home
last modified time | relevance | path

Searched refs:first_line (Results 1 – 25 of 3794) sorted by relevance

12345678910>>...152

/dports/devel/vitables/ViTables-3.0.2/vitables/csv/
H A Dcsvutils.py88 second_line = first_line
125 fl_dtype = first_line.dtype
191 fldn = first_line.dtype.name
222 if first_line.shape == ():
223 first_line = first_line.reshape(1,)
247 def askForHelp(first_line): argument
289 record_size = first_line.size * first_line.itemsize
313 elif first_line.shape == ():
320 del first_line
371 elif first_line.shape == ():
[all …]
/dports/devel/R-cran-covr/covr/tests/testthat/
H A Dtest-Compiled.R7 expect_equal(simple_cc[simple_cc$first_line == "10", "value"], 4)
9 expect_equal(simple_cc[simple_cc$first_line == "16", "value"], 3)
11 expect_equal(simple_cc[simple_cc$first_line == "19", "value"], 0)
13 expect_equal(simple_cc[simple_cc$first_line == "21", "value"], 1)
20 expect_equal(simple_h[simple_h$first_line == "12", "value"], 4)
22 expect_equal(simple_h[simple_h$first_line == "18", "value"], 3)
37 expect_equal(cov[cov$first_line == "9", "value"], 4)
39 expect_equal(cov[cov$first_line == "15", "value"], 3)
41 expect_equal(cov[cov$first_line == "18", "value"], 0)
43 expect_equal(cov[cov$first_line == "20", "value"], 1)
[all …]
/dports/math/scilab/scilab-6.1.1/scilab/modules/ast/includes/exps/
H A Dlocation.hxx37 first_line = last_line = 0; in Location()
42 …Location(int _first_line, int _last_line, int _first_column, int _last_column) : first_line(_first… in Location()
49 ret->first_line = first_line; in clone()
62 first_line = last_line; in step()
81 …return first_line < loc.first_line || (first_line == loc.first_line && first_column < loc.first_co… in operator <()
86 …return first_line == loc.first_line && first_column == loc.first_column && last_line == loc.last_l… in operator ==()
97 os << L" (" << first_line << L"," << first_column << L")"; in getLocationString()
103 …out << L"(" << loc.first_line << L"," << loc.first_column << L") to (" << loc.last_line << L"," <<… in operator <<()
109 int first_line; member in Location
/dports/lang/smalltalk/smalltalk-3.2.5/packages/gtk/
H A Dfuncs.awk149 gsub(/[ \t]+/, "", first_line[1])
150 cFuncName = first_line[2]
161 else if (first_line[2] ~ /get_type$/)
172 first_line[2] = substr(first_line[2], RLENGTH + 1)
178 if (first_line[2] == "new_merge_id")
183 if (match(first_line[2], /^paint_/))
185 if (match(first_line[2], /^draw_/))
191 decl = first_line[1] " " first_line[2] " " first_line[4]
296 retType = returned(first_line[1])
495 split ("", first_line)
[all …]
/dports/lang/coffeescript/coffeescript-2.6.1/test/
H A Dlocation.coffee76 eq a[2].first_line, 0
81 eq b[2].first_line, 0
86 eq c[2].first_line, 0
94 eq a[2].first_line, 0
99 eq b[2].first_line, 0
673 first_line: 0
680 first_line: 0
693 first_line: 0
700 first_line: 0
712 first_line: 0
[all …]
/dports/editors/mle/mle-1.4.3/tests/unit/
H A Dtest_buffer_set_tab_width.c16 ASSERT("count4", 8, buf->first_line->char_count); in test()
17 ASSERT("width4", 12, buf->first_line->char_vwidth); in test()
18 for (i = 0; i < buf->first_line->char_count; i++) { in test()
19 ASSERT("vcol4", char_vcols_4[i], buf->first_line->chars[i].vcol); in test()
25 ASSERT("count2a", 8, buf->first_line->char_count); in test()
26 ASSERT("width2a", 10, buf->first_line->char_vwidth); in test()
27 for (i = 0; i < buf->first_line->char_count; i++) { in test()
31 bline_insert(buf->first_line, 4, "\t", 1, NULL); in test()
34 ASSERT("count2b", 9, buf->first_line->char_count); in test()
35 ASSERT("width2b", 12, buf->first_line->char_vwidth); in test()
[all …]
H A Dtest_bline_get_col.c9 MLBUF_BLINE_ENSURE_CHARS(buf->first_line); in test()
10 ASSERT("len", 8, buf->first_line->char_count); in test()
12 bline_get_col(buf->first_line, 0, &col); in test()
15 bline_get_col(buf->first_line, 1, &col); in test()
18 bline_get_col(buf->first_line, 2, &col); in test()
21 bline_get_col(buf->first_line, 3, &col); in test()
24 bline_get_col(buf->first_line, 7, &col); in test()
27 bline_get_col(buf->first_line, 9, &col); in test()
30 bline_get_col(buf->first_line, 10, &col); in test()
33 bline_get_col(buf->first_line, 11, &col); in test()
[all …]
H A Dtest_buffer_add_srule.c14 for (i = 0; i < buf->first_line->char_count; i++) { in test()
15 ASSERT("line1fg", 0, buf->first_line->chars[i].style.fg); in test()
16 ASSERT("line1bg", 0, buf->first_line->chars[i].style.bg); in test()
18 for (i = 0; i < buf->first_line->next->char_count; i++) { in test()
19 ASSERT("line2fg", 1, buf->first_line->next->chars[i].style.fg); in test()
20 ASSERT("line2bg", 2, buf->first_line->next->chars[i].style.bg); in test()
25 for (i = 0; i < buf->first_line->char_count; i++) { in test()
26 ASSERT("line1fg_m", (i == 3 || i == 4 ? 3 : 0), buf->first_line->chars[i].style.fg); in test()
27 ASSERT("line1bg_m", (i == 3 || i == 4 ? 4 : 0), buf->first_line->chars[i].style.bg); in test()
29 for (i = 0; i < buf->first_line->next->char_count; i++) { in test()
[all …]
/dports/devel/cppurses/CPPurses-0.3-5-g342a389/demos/game_of_life/
H A Dfiletype.cpp26 std::string first_line; in get_filetype() local
27 std::getline(input_file, first_line); in get_filetype()
28 remove_controls(first_line); in get_filetype()
29 if (first_line == "#Life 1.05") { in get_filetype()
31 } else if (first_line == "#Life 1.06") { in get_filetype()
33 } else if (first_line.size() > 5 && first_line.substr(0, 6) == "!Name:") { in get_filetype()
36 while (!input_file.fail() && !first_line.empty() && in get_filetype()
37 first_line[0] == '#') { in get_filetype()
38 std::getline(input_file, first_line); in get_filetype()
40 if (first_line.size() > 3 && first_line.substr(0, 3) == "x =") { in get_filetype()
/dports/misc/openvdb/openvdb-9.0.0/openvdb_ax/openvdb_ax/grammar/
H A Daxlexer.l33 axlloc.first_line = axlloc.last_line; \
194 {axlloc.first_line, axlloc.first_column});
198 {axlloc.first_line, axlloc.first_column});
202 {axlloc.first_line, axlloc.first_column});
206 {axlloc.first_line, axlloc.first_column});
210 {axlloc.first_line, axlloc.first_column});
225 axlog->error(os.str(), {axlloc.first_line, axlloc.first_column});
244 {axlloc.first_line, axlloc.first_column});
255 {axlloc.first_line, axlloc.first_column});
267 {axlloc.first_line, axlloc.first_column});
[all …]
/dports/lang/ruby26/ruby-2.6.9/gems/test-unit-3.2.9/lib/test/unit/
H A Dcode-snippet-fetcher.rb30 first_line = file.gets
31 break if first_line.nil?
32 encoding = detect_encoding(first_line)
34 first_line.force_encoding(encoding)
37 lines << first_line
43 def detect_encoding(first_line) argument
44 return nil unless first_line.respond_to?(:ascii_only?)
45 return nil unless first_line.ascii_only?
46 if /\b(?:en)?coding[:=]\s*([a-z\d_-]+)/i =~ first_line
/dports/www/p5-Apache-Admin-Config/Apache-Admin-Config-0.95/t/
H A Ddirective_insert.t14 ok($rv->first_line, 1);
19 ok($rv2->first_line, 1);
20 ok($rv->first_line, 2);
25 ok($rv3->first_line, 3);
26 ok($rv2->first_line, 1);
27 ok($rv->first_line, 2);
33 ok($rv4->first_line, 2);
34 ok($rv3->first_line, 4);
35 ok($rv2->first_line, 1);
36 ok($rv->first_line, 3);
H A Dcomment_insert.t14 ok($rv->first_line, 1);
19 ok($rv2->first_line, 1);
20 ok($rv->first_line, 2);
25 ok($rv3->first_line, 3);
26 ok($rv2->first_line, 1);
27 ok($rv->first_line, 2);
33 ok($rv4->first_line, 2);
34 ok($rv3->first_line, 4);
35 ok($rv2->first_line, 1);
36 ok($rv->first_line, 3);
H A Dsection_insert.t14 ok($rv->first_line, 1);
19 ok($rv2->first_line, 1);
20 ok($rv->first_line, 3);
25 ok($rv3->first_line, 5);
26 ok($rv2->first_line, 1);
27 ok($rv->first_line, 3);
33 ok($rv4->first_line, 3);
34 ok($rv3->first_line, 7);
35 ok($rv2->first_line, 1);
36 ok($rv->first_line, 5);
/dports/devel/aegis/aegis-4.25.D510/aeannotate/
H A Dline_list.cc106 first_line = 0; in line_list_delete()
116 if (first_line < llp->length1) in line_list_delete()
151 if (first_line) in line_list_delete()
152 llp->length1 = first_line; in line_list_delete()
173 second_line = first_line - llp->length1; in line_list_delete()
218 first_line += partial_num_lines; in line_list_delete()
245 size_t first_line, in line_list_insert() argument
265 if (first_line <= llp->length1) in line_list_insert()
318 llp->length1 = first_line; in line_list_insert()
334 + first_line, in line_list_insert()
[all …]
/dports/www/kannel/gateway-1.4.4/wmlscript/
H A Dwsgram.c331 int first_line; member
1087 (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
1094 (Current).first_line = (Current).last_line = \
1111 (Loc).first_line, (Loc).first_column, \
1684 yylloc.first_line = yylloc.last_line = 1;
1872 { ws_error_syntax(pctx, (yylsp[(1) - (1)]).first_line); }
1877 { ws_error_syntax(pctx, (yylsp[(1) - (1)]).first_line); }
2123 (yyval.list)->first_line = (yylsp[(1) - (3)]).first_line;
2124 (yyval.list)->last_line = (yylsp[(3) - (3)]).first_line;
2132 ws_error_syntax(pctx, (yylsp[(1) - (1)]).first_line);
[all …]
/dports/graphics/cegui/cegui-0.8.7/cegui/src/ScriptModules/Lua/support/tolua++bin/lua/
H A Dcode.lua37 local _, _, first_line=string.find(self.text, "^([^\n\r]*)")
38 if string.find(first_line, "^%s*%-%-") then
39 if string.find(first_line, "^%-%-##") then
40 first_line = string.gsub(first_line, "^%-%-##", "")
46 first_line = ""
62 if first_line and first_line ~= "" then
63 output(pre..' tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: '..first_line..'");')
/dports/net/kamailio/kamailio-5.4.5/src/modules/sst/
H A Dsst_handlers.c79 msg->first_line.u.request.method.len, \
80 msg->first_line.u.request.method.s); \
86 msg->first_line.u.reply.reason.s); \
448 msg->first_line.u.request.method.s); in sst_dialog_request_within_CB()
481 msg->first_line.u.reply.statuscode, in sst_dialog_request_within_CB()
482 msg->first_line.u.reply.reason.len, in sst_dialog_request_within_CB()
483 msg->first_line.u.reply.reason.s); in sst_dialog_request_within_CB()
513 if (msg->first_line.type == SIP_REPLY) { in sst_dialog_response_fwded_CB()
518 msg->first_line.u.reply.statuscode, in sst_dialog_response_fwded_CB()
519 msg->first_line.u.reply.reason.len, in sst_dialog_response_fwded_CB()
[all …]
/dports/lang/tolua++/tolua++-1.0.93/src/bin/lua/
H A Dcode.lua37 local _, _, first_line=string.find(self.text, "^([^\n\r]*)")
38 if string.find(first_line, "^%s*%-%-") then
39 if string.find(first_line, "^%-%-##") then
40 first_line = string.gsub(first_line, "^%-%-##", "")
46 first_line = ""
71 if first_line and first_line ~= "" then
72 output(pre..' tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: '..first_line..'");')
/dports/sysutils/conky/conky-1.12.2/3rdparty/toluapp/src/bin/lua/
H A Dcode.lua37 local _, _, first_line=string.find(self.text, "^([^\n\r]*)")
38 if string.find(first_line, "^%s*%-%-") then
39 if string.find(first_line, "^%-%-##") then
40 first_line = string.gsub(first_line, "^%-%-##", "")
46 first_line = ""
71 if first_line and first_line ~= "" then
72 output(pre..' tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: '..first_line..'");')
/dports/sysutils/conky-awesome/conky-1.12.2/3rdparty/toluapp/src/bin/lua/
H A Dcode.lua37 local _, _, first_line=string.find(self.text, "^([^\n\r]*)")
38 if string.find(first_line, "^%s*%-%-") then
39 if string.find(first_line, "^%-%-##") then
40 first_line = string.gsub(first_line, "^%-%-##", "")
46 first_line = ""
71 if first_line and first_line ~= "" then
72 output(pre..' tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: '..first_line..'");')
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/toluapp/src/bin/lua/
H A Dcode.lua37 local _, _, first_line=string.find(self.text, "^([^\n\r]*)")
38 if string.find(first_line, "^%s*%-%-") then
39 if string.find(first_line, "^%-%-##") then
40 first_line = string.gsub(first_line, "^%-%-##", "")
46 first_line = ""
71 if first_line and first_line ~= "" then
72 output(pre..' tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua embedded: '..first_line..'");')
/dports/graphics/sswf/sswf-1.8.4/VC/
H A Dsswf_grammar.c202 int first_line; member
842 Current.first_line = Rhs[1].first_line; \
1435 yyval.node = node_alloc(NODE_TYPE_OBJECT, NODE_SUBTYPE_BLOCK, yylsp[-2].first_line);
1577 yyval.node = node_alloc(NODE_TYPE_OPERATOR, NODE_SUBTYPE_NOT, yylsp[-1].first_line);
1792 yyval.node = node_alloc(NODE_TYPE_OPERATOR, NODE_SUBTYPE_OR, yylsp[-2].first_line);
1855 yyval.node = node_alloc(NODE_TYPE_OPERATOR, NODE_SUBTYPE_IF, yylsp[-8].first_line);
1917 yyval.node = node_alloc(NODE_TYPE_OPERATOR, NODE_SUBTYPE_IF, yylsp[-9].first_line);
1984 n = node_alloc(NODE_TYPE_DEFINITION, NODE_SUBTYPE_UNKNOWN, yylsp[-6].first_line);
2051 block = node_alloc(NODE_TYPE_OBJECT, NODE_SUBTYPE_BLOCK, yylsp[-13].first_line);
2055 var = node_alloc(NODE_TYPE_OBJECT, NODE_SUBTYPE_VARIABLE, yylsp[-13].first_line);
[all …]
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/util/
H A Dpiglit-shader-test.c106 char *first_line = NULL; in piglit_load_source_from_shader_test() local
119 if (line[0] == '[' && first_line != NULL) { in piglit_load_source_from_shader_test()
123 if (line[0] == '[' && first_line == NULL) { in piglit_load_source_from_shader_test()
125 first_line = strchrnul(line, '\n'); in piglit_load_source_from_shader_test()
126 if (first_line[0] != '\0') in piglit_load_source_from_shader_test()
127 first_line++; in piglit_load_source_from_shader_test()
136 if (first_line == NULL) { in piglit_load_source_from_shader_test()
143 text_size = line - first_line; in piglit_load_source_from_shader_test()
146 *output_source = strndup(first_line, text_size); in piglit_load_source_from_shader_test()
/dports/security/denyhosts/DenyHosts-3.1.2/DenyHosts/
H A Dfiletracker.py16 first_line = ""
20 first_line = fp.readline()[:-1]
30 debug(" first_line: %s", first_line)
33 return first_line, offset
38 first_line = fp.readline()[:-1]
45 debug(" first_line: %s", first_line)
48 return first_line, offset
53 first_line = fp.readline()[:-1]
59 self.__first_line = first_line

12345678910>>...152