line |
true |
false |
branch |
70
|
0 |
0 |
if ( lang ) { |
97
|
0 |
0 |
if ( script ) { |
126
|
0 |
0 |
if ( dir ) { |
160
|
0 |
4 |
s = SvPVutf8(sv, len); |
161
|
4 |
0 |
if ( hb_feature_from_string(s, len, &f) ) |
184
|
7 |
0 |
if ( (SvROK(feat)) |
185
|
7 |
0 |
&& (SvTYPE(SvRV(feat)) == SVt_PVAV) |
186
|
4 |
3 |
&& ((n = av_len((AV *)SvRV(feat))) >= 0)) { |
189
|
0 |
4 |
Newx(features, n, hb_feature_t); |
190
|
6 |
4 |
for ( i = 0; i < n; i++ ) { |
192
|
6 |
0 |
f = (hb_feature_t*) SvPV_nolen (*av_fetch ((AV*) SvRV(feat), i, 0)); |
206
|
4 |
3 |
if ( features ) Safefree(features); |
211
|
31 |
7 |
for ( i = 0; i < n; i++ ) { |
241
|
9 |
2 |
for ( i = 0; i < n; i++ ) { |