Home
last modified time | relevance | path

Searched refs:line_split (Results 1 – 25 of 105) sorted by relevance

12345

/dports/sysutils/p5-Device-RAID-Poller/Device-RAID-Poller-0.2.0/lib/Device/RAID/Poller/Backends/
H A DZFS.pm101 my @line_split=split( /[\t ]+/, $line);
102 my $dev=$line_split[0];
117 if ( $line_split[9] eq "ONLINE" ){
159 ( defined( $line_split[0] ) ) &&
160 ( defined( $line_split[1] ) ) &&
161 ( $line_split[0] ne $pool ) &&
163 ( $line_split[0] !~ /^spare/ ) &&
164 ( $line_split[0] !~ /^log/ ) &&
165 ( $line_split[0] !~ /^cache/ )
169 ( $line_split[1] eq 'ONLINE' ) ||
[all …]
H A DFBSD_graid3.pm93 my @line_split=split( /[\t ]+/, $line );
96 if ( $line_split[0] =~ /^mirror/ ){
97 $dev=$line_split[0];
115 if ( $line_split[1] eq 'COMPLETE' ){
117 }elsif( $line_split[1] eq "DEGRADED" ){
123 if ( $line_split[3] eq "(SYNCHRONIZING)" ){
126 }elsif( $line_split[3] eq "(ACTIVE)" ){
129 push( @{ $return_hash{devices}{$dev}{bad} }, $line_split[2] );
135 if ( $line_split[2] eq "(SYNCHRONIZING)" ){
138 }elsif( $line_split[2] eq "(ACTIVE)" ){
[all …]
H A DFBSD_gmirror.pm92 my @line_split=split( /[\t ]+/, $line );
95 if ( $line_split[0] =~ /^mirror/ ){
96 $dev=$line_split[0];
114 if ( $line_split[1] eq 'COMPLETE' ){
116 }elsif( $line_split[1] eq "DEGRADED" ){
122 if ( $line_split[3] eq "(SYNCHRONIZING)" ){
125 }elsif( $line_split[3] eq "(ACTIVE)" ){
128 push( @{ $return_hash{devices}{$dev}{bad} }, $line_split[2] );
134 if ( $line_split[2] eq "(SYNCHRONIZING)" ){
137 }elsif( $line_split[2] eq "(ACTIVE)" ){
[all …]
H A DFBSD_graid.pm93 my @line_split=split( /[\t ]+/, $line );
96 if ( $line_split[0] =~ /^raid/ ){
97 $dev=$line_split[0];
129 if ( $line_split[1] =~ /OPTIMAL/ ){
131 }elsif( $line_split[1] =~ /DEGRADED/ ){
133 }elsif( $line_split[1] =~ /BROKEN/ ){
138 if ( $line_split[3] =~ /REBUILD/ ){
141 }elsif( $line_split[3] =~ /ACTIVE/ ){
144 push( @{ $return_hash{devices}{$dev}{bad} }, $line_split[2] );
150 if ( $line_split[2] =~ /REBUILD/ ){
[all …]
H A DAvago_tw_cli.pm164 if ( defined( $line_split[0] )
165 && ( $line_split[0] =~ /^u[0123456789]+/ ) )
169 my $status=$line_split[1];
197 type=>$line_split[1],
203 if ( defined( $line_split[0] )
205 defined( $line_split[1] ) &&
206 defined( $line_split[2] ) &&
207 ( $line_split[2] =~ /^u[0123456789]+/ )
210 if ($line_split[1] =~ /OK/) {
211 push(@{ $return_hash{devices}{'Avago_tw_cli '.$line_split[2]}{good} }, $line_split[0]);
[all …]
/dports/textproc/p5-ack/ack-v3.5.0/t/
H A Dcontext.t15 my @expected = line_split( <<'HERE' );
31 my @expected = line_split( <<"HERE" );
50 my @expected = line_split( <<'HERE' );
63 my @expected = line_split( <<'HERE' );
80 my @expected = line_split( <<'HERE' );
96 my @expected = line_split( <<'HERE' );
109 my @expected = line_split( <<'HERE' );
124 my @expected = line_split( <<'HERE' );
142 my @expected = line_split( <<'HERE' );
164 my @expected = line_split( <<'HERE' );
[all …]
H A Dack-output.t31 my @expected = line_split( <<'HERE' );
45 my @expected = line_split( <<'HERE' );
96 my @expected = line_split( <<'HERE' );
151 my @expected = line_split( <<'HERE' );
176 my @expected = line_split( <<'HERE' );
202 my @expected = line_split( <<'HERE' );
218 my @expected = line_split( <<'HERE' );
234 my @expected = line_split( <<'HERE' );
250 my @expected = line_split( <<'HERE' );
264 my @expected = line_split( <<'HERE' );
[all …]
H A Dack-pager.t23 my @expected = line_split( <<'HERE' );
46 my @expected = line_split( <<'HERE' );
76 my @expected = line_split( <<'HERE' );
101 my @expected = line_split( <<'HERE' );
127 my @expected = line_split( <<'HERE' );
146 my @expected = line_split( <<'HERE' );
174 my @expected = line_split( <<'HERE' );
198 my @expected = line_split( <<'HERE' );
225 my @expected = line_split( <<'HERE' );
H A Dack-underline.t31 my @expected = line_split( <<'HERE' );
48 my @expected = line_split( <<"HERE" );
64 my @expected = line_split( <<"HERE" );
81 my @expected = line_split( <<"HERE" );
100 my @expected = line_split( <<"HERE" );
116 my @expected = line_split( <<"HERE" );
142 my @expected = line_split( <<"HERE" );
H A Dack-w.t21 my @expected = line_split( <<'HERE' );
36 my @expected = line_split( <<'HERE' );
52 my @expected = line_split( <<'HERE' );
68 my @expected = line_split( <<'HERE' );
83 my @expected = line_split( <<'HERE' );
98 my @expected = line_split( <<'HERE' );
171 my @examples = line_split( <<'HERE' );
H A Dack-proximate.t19 my @expected = line_split( <<"HERE" );
54 my @expected = line_split( <<"HERE" );
87 my @expected = line_split( <<"HERE" );
121 my @expected = line_split( <<"HERE" );
153 my @expected = line_split( <<"HERE" );
181 my @expected = line_split( <<"HERE" );
H A Dbasic.t15 my @expected = line_split( <<"HERE" );
28 my @expected = line_split( <<'HERE' );
43 my @expected = line_split( <<"HERE" );
59 my @expected = line_split( <<"HERE" );
74 my @expected = line_split( <<"HERE" );
H A Dack-h.t14 my @expected = line_split( <<'HERE' );
28 my @expected = line_split( <<"HERE" );
43 my @expected = line_split( <<"HERE" );
58 my @expected = line_split( <<'HERE' );
H A Dack-group.t26 my @expected = line_split( <<"HERE" );
45 my @expected = line_split( <<"HERE" );
68 my @expected = line_split( <<"HERE" );
89 my @expected = line_split( <<"HERE" );
H A Danchored.t20 my @expected = line_split( <<'HERE' );
30 my @expected = line_split( <<'HERE' );
42 my @expected = line_split( <<'HERE' );
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/io_scene_obj/
H A Dimport_obj.py45 def line_value(line_split): argument
50 length = len(line_split)
55 return line_split[1]
58 return b' '.join(line_split[1:])
343 return [float_func(line_split[1]), float_func(line_split[2]), 0.0]
345 … return [float_func(line_split[1]), float_func(line_split[2]), float_func(line_split[3])]
868 def strip_slash(line_split): argument
873 line_split[-1] = line_split[-1][:-1] # remove the \ from the end last number
1023 if not line_split:
1065 line_split = line_split[1:]
[all …]
/dports/misc/py-cinder/cinder-12.0.10/cinder/zonemanager/drivers/cisco/
H A Dcisco_fc_zone_client_cli.py98 line_split = re.split(r'[\s\[\]]+', line)
99 if ZoneConstant.CFG_ZONESET in line_split:
102 line_split[line_split.index(ZoneConstant.CFG_ZONESET)
105 if ZoneConstant.CFG_ZONE in line_split:
108 line_split[line_split.index(ZoneConstant.CFG_ZONE) + 2]
116 line_split[
294 line_split = re.split(r'[\s\[\]]+', line)
295 if 'mode:' in line_split:
297 zone_status['mode'] = line_split[line_split.index('mode:')
300 if 'session:' in line_split:
[all …]
/dports/net/p5-Net-Connection-lsof/Net-Connection-lsof-0.2.0/lib/Net/Connection/
H A Dlsof.pm143 my @line_split=split(/[\ \t]+/, $line );
146 pid=>$line_split[0],
147 uid=>$line_split[1],
153 my $type=$line_split[3];
154 my $mode=$line_split[6];
155 my $name=$line_split[7];
203 if ( defined( $line_split[8] ) ){
204 $args->{state}=$line_split[8];
/dports/sysutils/syslog-ng/syslog-ng-3.35.1/tests/loggen/
H A Dfile_reader.c200 gchar **line_split = g_strsplit_set(line, RFC5424_DELIMITERS, RFC5424_HEADER_TOKEN_NUM); in parse_line_rfc5424() local
202 if (g_strv_length(line_split) < RFC5424_HEADER_TOKEN_NUM) in parse_line_rfc5424()
205 g_strfreev(line_split); in parse_line_rfc5424()
209 safe_copy_string(elements->pri, line_split[RFC5424_PRI_INDEX], PARS_BUF_PRI_SIZE, "priority"); in parse_line_rfc5424()
210 safe_copy_string(elements->ver, line_split[RFC5424_VER_INDEX], PARS_BUF_VER_SIZE, "version"); in parse_line_rfc5424()
212 safe_copy_string(elements->host, line_split[RFC5424_HOST_NAME_INDEX], PARS_BUF_HOST_SIZE, "host"); in parse_line_rfc5424()
213 safe_copy_string(elements->app, line_split[RFC5424_APP_NAME_INDEX], PARS_BUF_APP_SIZE, "app"); in parse_line_rfc5424()
214 safe_copy_string(elements->pid, line_split[RFC5424_PID_INDEX], PARS_BUF_PID_SIZE, "pid"); in parse_line_rfc5424()
215 safe_copy_string(elements->msgid, line_split[RFC5424_MSGID_INDEX], PARS_BUF_MSG_ID_SIZE, "msgid"); in parse_line_rfc5424()
217 parse_sdata_and_message(line_split[RFC5424_SDATA_INDEX], elements); in parse_line_rfc5424()
[all …]
/dports/benchmarks/phoronix-test-suite/phoronix-test-suite-10.6.1/pts-core/objects/phodevi/sensors/
H A Dswap_usage.php49 $line_split = preg_split('/\s+/', $mem_line);
51 if(count($line_split) == 3)
53 $mem[$line_split[0]] = intval($line_split[1]);
H A Dmemory_usage.php58 $line_split = preg_split('/\s+/', $mem_line);
60 if(count($line_split) == 3)
62 $mem[$line_split[0]] = intval($line_split[1]);
/dports/biology/py-biopython/biopython-1.79/Bio/AlignIO/
H A DMafIO.py147 line_split = line.strip().split()
149 if len(line_split) != 7:
155 if line_split[4] == "+":
157 elif line_split[4] == "-":
165 "start": int(line_split[2]),
166 "size": int(line_split[3]),
168 "srcSize": int(line_split[5]),
171 sequence = line_split[6]
191 id=line_split[1],
192 name=line_split[1],
[all …]
/dports/databases/grass7/grass-7.8.6/vector/v.in.ogr/
H A Dclean.c17 int line_split, n_splits; in convert_osm_lines() local
35 line_split = 0; in convert_osm_lines()
63 if (line_split == 0) in convert_osm_lines()
65 line_split++; in convert_osm_lines()
96 if (line_split == 0) in convert_osm_lines()
98 line_split++; in convert_osm_lines()
110 if (line_split) { in convert_osm_lines()
/dports/misc/py-cinder/cinder-12.0.10/cinder/zonemanager/drivers/brocade/
H A Dbrcd_fc_zone_client_cli.py91 line_split = re.split('\\t', line)
92 if len(line_split) > 2:
93 line_split = [x.replace(
94 '\n', '') for x in line_split]
95 line_split = [x.replace(
97 '') for x in line_split]
99 zone_set_name = line_split[1]
101 if line_split[1]:
102 zone_name = line_split[1]
104 if line_split[2]:
[all …]
/dports/math/py-pytorchvideo/pytorchvideo-0.1.3/pytorchvideo/data/
H A Dlabeled_video_paths.py52 line_split = path_label.rsplit(None, 1)
57 if len(line_split) == 1:
58 file_path = line_split[0]
61 file_path, label = line_split

12345