Home | History | Annotate | Download | only in src

Lines Matching refs:TRACE_RETURN

176     return TRACE_RETURN (c->check_range (values, get_size ()) && (!has_device () || sanitize_value_devices (c, base, values)));
183 if (!c->check_array (values, get_size (), count)) return TRACE_RETURN (false);
185 if (!has_device ()) return TRACE_RETURN (true);
189 return TRACE_RETURN (false);
193 return TRACE_RETURN (true);
200 if (!has_device ()) return TRACE_RETURN (true);
204 return TRACE_RETURN (false);
208 return TRACE_RETURN (true);
224 return TRACE_RETURN (c->check_struct (this));
253 return TRACE_RETURN (c->check_struct (this));
281 return TRACE_RETURN (c->check_struct (this) && xDeviceTable.sanitize (c, this) && yDeviceTable.sanitize (c, this));
316 if (!u.format.sanitize (c)) return TRACE_RETURN (false);
318 case 1: return TRACE_RETURN (u.format1.sanitize (c));
319 case 2: return TRACE_RETURN (u.format2.sanitize (c));
320 case 3: return TRACE_RETURN (u.format3.sanitize (c));
321 default:return TRACE_RETURN (true);
348 if (!c->check_struct (this)) return TRACE_RETURN (false);
349 if (unlikely (rows > 0 && cols >= ((unsigned int) -1) / rows)) return TRACE_RETURN (false);
351 if (!c->check_array (matrix, matrix[0].static_size, count)) return TRACE_RETURN (false);
353 if (!matrix[i].sanitize (c, this)) return TRACE_RETURN (false);
354 return TRACE_RETURN (true);
373 return TRACE_RETURN (c->check_struct (this) && markAnchor.sanitize (c, base));
401 if (unlikely (!found)) return TRACE_RETURN (false);
414 return TRACE_RETURN (true);
419 return TRACE_RETURN (ArrayOf<MarkRecord>::sanitize (c, this));
443 if (likely (index == NOT_COVERED)) return TRACE_RETURN (false);
449 return TRACE_RETURN (true);
454 return TRACE_RETURN (c->check_struct (this) && coverage.sanitize (c, this) && valueFormat.sanitize_value (c, this, values));
488 TRACE_RETURN (false);
490 if (likely (index >= valueCount)) return TRACE_RETURN (false);
497 return TRACE_RETURN (true);
502 return TRACE_RETURN (c->check_struct (this) && coverage.sanitize (c, this) && valueFormat.sanitize_values (c, this, values, valueCount));
526 case 1: return TRACE_RETURN (c->dispatch (u.format1));
527 case 2: return TRACE_RETURN (c->dispatch (u.format2));
528 default:return TRACE_RETURN (c->default_return_value ());
534 if (!u.format.sanitize (c)) return TRACE_RETURN (false);
536 case 1: return TRACE_RETURN (u.format1.sanitize (c));
537 case 2: return TRACE_RETURN (u.format2.sanitize (c));
538 default:return TRACE_RETURN (true);
609 return TRACE_RETURN (true);
614 return TRACE_RETURN (false);
627 && c->check_array (array, USHORT::static_size * closure->stride, len))) return TRACE_RETURN (false);
631 return TRACE_RETURN (closure->valueFormats[0].sanitize_values_stride_unsafe (c, closure->base, &record->values[0], count, closure->stride)
663 if (skippy_iter.has_no_chance ()) return TRACE_RETURN (false);
666 if (likely (index == NOT_COVERED)) return TRACE_RETURN (false);
668 if (!skippy_iter.next ()) return TRACE_RETURN (false);
670 return TRACE_RETURN ((this+pairSet[index]).apply (c, &valueFormat1, skippy_iter.idx));
685 return TRACE_RETURN (c->check_struct (this) && coverage.sanitize (c, this) && pairSet.sanitize (c, this, &closure));
733 if (skippy_iter.has_no_chance ()) return TRACE_RETURN (false);
736 if (likely (index == NOT_COVERED)) return TRACE_RETURN (false);
738 if (!skippy_iter.next ()) return TRACE_RETURN (false);
746 if (unlikely (klass1 >= class1Count || klass2 >= class2Count)) return TRACE_RETURN (false);
758 return TRACE_RETURN (true);
766 && classDef2.sanitize (c, this))) return TRACE_RETURN (false);
773 return TRACE_RETURN (c->check_array (values, record_size, count) &&
815 case 1: return TRACE_RETURN (c->dispatch (u.format1));
816 case 2: return TRACE_RETURN (c->dispatch (u.format2));
817 default:return TRACE_RETURN (c->default_return_value ());
823 if (!u.format.sanitize (c)) return TRACE_RETURN (false);
825 case 1: return TRACE_RETURN (u.format1.sanitize (c));
826 case 2: return TRACE_RETURN (u.format2.sanitize (c));
827 default:return TRACE_RETURN (true);
846 return TRACE_RETURN (entryAnchor.sanitize (c, base) && exitAnchor.sanitize (c, base));
880 if (c->buffer->cur().glyph_props() & HB_OT_LAYOUT_GLYPH_PROPS_MARK) return TRACE_RETURN (false);
883 if (skippy_iter.has_no_chance ()) return TRACE_RETURN (false);
886 if (!this_record.exitAnchor) return TRACE_RETURN (false);
888 if (!skippy_iter.next ()) return TRACE_RETURN (false);
891 if (!next_record.entryAnchor) return TRACE_RETURN (false);
954 return TRACE_RETURN (true);
959 return TRACE_RETURN (coverage.sanitize (c, this) && entryExitRecord.sanitize (c, this));
981 case 1: return TRACE_RETURN (c->dispatch (u.format1));
982 default:return TRACE_RETURN (c->default_return_value ());
988 if (!u.format.sanitize (c)) return TRACE_RETURN (false);
990 case 1: return TRACE_RETURN (u.format1.sanitize (c));
991 default:return TRACE_RETURN (true);
1026 if (likely (mark_index == NOT_COVERED)) return TRACE_RETURN (false);
1032 if (!skippy_iter.prev ()) return TRACE_RETURN (false);
1039 if (!(c->buffer->info[skippy_iter.idx].glyph_props() & HB_OT_LAYOUT_GLYPH_PROPS_BASE_GLYPH)) {/*return TRACE_RETURN (false);*/}
1042 if (base_index == NOT_COVERED) return TRACE_RETURN (false);
1044 return TRACE_RETURN ((this+markArray).apply (c, mark_index, base_index, this+baseArray, classCount, skippy_iter.idx));
1049 return TRACE_RETURN (c->check_struct (this) && markCoverage.sanitize (c, this) && baseCoverage.sanitize (c, this) &&
1079 case 1: return TRACE_RETURN (c->dispatch (u.format1));
1080 default:return TRACE_RETURN (c->default_return_value ());
1086 if (!u.format.sanitize (c)) return TRACE_RETURN (false);
1088 case 1: return TRACE_RETURN (u.format1.sanitize (c));
1089 default:return TRACE_RETURN (true);
1129 if (likely (mark_index == NOT_COVERED)) return TRACE_RETURN (false);
1134 if (!skippy_iter.prev ()) return TRACE_RETURN (false);
1137 if (!(c->buffer->info[skippy_iter.idx].glyph_props() & HB_OT_LAYOUT_GLYPH_PROPS_LIGATURE)) {/*return TRACE_RETURN (false);*/}
1141 if (lig_index == NOT_COVERED) return TRACE_RETURN (false);
1148 if (unlikely (!comp_count)) return TRACE_RETURN (false);
1163 return TRACE_RETURN ((this+markArray).apply (c, mark_index, comp_index, lig_attach, classCount, j));
1168 return TRACE_RETURN (c->check_struct (this) && markCoverage.sanitize (c, this) && ligatureCoverage.sanitize (c, this) &&
1199 case 1: return TRACE_RETURN (c->dispatch (u.format1));
1200 default:return TRACE_RETURN (c->default_return_value ());
1206 if (!u.format.sanitize (c)) return TRACE_RETURN (false);
1208 case 1: return TRACE_RETURN (u.format1.sanitize (c));
1209 default:return TRACE_RETURN (true);
1244 if (likely (mark1_index == NOT_COVERED)) return TRACE_RETURN (false);
1249 if (!skippy_iter.prev ()) return TRACE_RETURN (false);
1251 if (!(c->buffer->info[skippy_iter.idx].glyph_props() & HB_OT_LAYOUT_GLYPH_PROPS_MARK)) { return TRACE_RETURN (false); }
1273 return TRACE_RETURN (false);
1277 if (mark2_index == NOT_COVERED) return TRACE_RETURN (false);
1279 return TRACE_RETURN ((this+mark1Array).apply (c, mark1_index, mark2_index, this+mark2Array, classCount, j));
1284 return TRACE_RETURN (c->check_struct (this) && mark1Coverage.sanitize (c, this) &&
1317 case 1: return TRACE_RETURN (c->dispatch (u.format1));
1318 default:return TRACE_RETURN (c->default_return_value ());
1324 if (!u.format.sanitize (c)) return TRACE_RETURN (false);
1326 case 1: return TRACE_RETURN (u.format1.sanitize (c));
1327 default:return TRACE_RETURN (true);
1376 case Single: return TRACE_RETURN (u.single.dispatch (c));
1377 case Pair: return TRACE_RETURN (u.pair.dispatch (c));
1378 case Cursive: return TRACE_RETURN (u.cursive.dispatch (c));
1379 case MarkBase: return TRACE_RETURN (u.markBase.dispatch (c));
1380 case MarkLig: return TRACE_RETURN (u.markLig.dispatch (c));
1381 case MarkMark: return TRACE_RETURN (u.markMark.dispatch (c));
1382 case Context: return TRACE_RETURN (u.context.dispatch (c));
1383 case ChainContext: return TRACE_RETURN (u.chainContext.dispatch (c));
1384 case Extension: return TRACE_RETURN (u.extension.dispatch (c));
1385 default: return TRACE_RETURN (c->default_return_value ());
1392 return TRACE_RETURN (false);
1394 case Single: return TRACE_RETURN (u.single.sanitize (c));
1395 case Pair: return TRACE_RETURN (u.pair.sanitize (c));
1396 case Cursive: return TRACE_RETURN (u.cursive.sanitize (c));
1397 case MarkBase: return TRACE_RETURN (u.markBase.sanitize (c));
1398 case MarkLig: return TRACE_RETURN (u.markLig.sanitize (c));
1399 case MarkMark: return TRACE_RETURN (u.markMark.sanitize (c));
1400 case Context: return TRACE_RETURN (u.context.sanitize (c));
1401 case ChainContext: return TRACE_RETURN (u.chainContext.sanitize (c));
1402 case Extension: return TRACE_RETURN (u.extension.sanitize (c));
1403 default: return TRACE_RETURN (true);
1436 return TRACE_RETURN (dispatch (c));
1458 return TRACE_RETURN (false);
1459 return TRACE_RETURN (dispatch (c));
1501 return TRACE_RETURN (r);
1503 return TRACE_RETURN (c->default_return_value ());
1508 if (unlikely (!Lookup::sanitize (c))) return TRACE_RETURN (false);
1510 return TRACE_RETURN (list.sanitize (c, this, get_type ()));
1532 if (unlikely (!GSUBGPOS::sanitize (c))) return TRACE_RETURN (false);
1534 return TRACE_RETURN (list.sanitize (c, this));