/third_party/musl/ndk-test/sanitize/ |
D | runtest.sh | 5 chmod +x sanitize/asan/* 17 for case in `ls sanitize/asan` 19 echo [Runing test] : sanitize/asan/$case 21 ASAN_OPTIONS=detect_stack_use_after_return=1 sanitize/asan/$case 2>tmp 23 ASAN_OPTIONS=check_initialization_order=true sanitize/asan/$case 2>tmp 25 ASAN_OPTIONS='' sanitize/asan/$case 2>tmp 42 sanitize/asan/$case >> REPORT 50 for case in `ls sanitize/scudo` 53 echo [Runing test] : sanitize/scudo/$case 55 sanitize/scudo/$case valid 2>tmp [all …]
|
/third_party/musl/ndk-test/script/ |
D | runtest-sanitize.sh | 16 for case in `ls sanitize/asan` 18 echo [Runing test] : sanitize/asan/$case 20 ASAN_OPTIONS=detect_stack_use_after_return=1 sanitize/asan/$case 2>tmp 22 ASAN_OPTIONS=check_initialization_order=true sanitize/asan/$case 2>tmp 24 ASAN_OPTIONS='' sanitize/asan/$case 2>tmp 41 sanitize/asan/$case >> REPORT-SANITIZE 49 for case in `ls sanitize/scudo` 52 echo [Runing test] : sanitize/scudo/$case 54 sanitize/scudo/$case valid 2>tmp 56 SCUDO_OPTIONS=allocator_may_return_null=1 sanitize/scudo/$case invalid 2>tmp [all …]
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-aat-layout-just-table.hh | 48 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 65 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 94 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 112 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 137 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 163 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 183 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 191 case 0: return_trace (u.decompositionAction.sanitize (c)); in sanitize() 192 case 1: return_trace (u.unconditionalAddGlyphAction.sanitize (c)); in sanitize() 193 case 2: return_trace (u.conditionalAddGlyphAction.sanitize (c)); in sanitize() [all …]
|
D | hb-ot-layout-jstf-table.hh | 57 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 61 shrinkageEnableGSUB.sanitize (c, this) && in sanitize() 62 shrinkageDisableGSUB.sanitize (c, this) && in sanitize() 63 shrinkageEnableGPOS.sanitize (c, this) && in sanitize() 64 shrinkageDisableGPOS.sanitize (c, this) && in sanitize() 65 shrinkageJstfMax.sanitize (c, this) && in sanitize() 66 extensionEnableGSUB.sanitize (c, this) && in sanitize() 67 extensionDisableGSUB.sanitize (c, this) && in sanitize() 68 extensionEnableGPOS.sanitize (c, this) && in sanitize() 69 extensionDisableGPOS.sanitize (c, this) && in sanitize() [all …]
|
D | hb-ot-layout-base-table.hh | 46 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 67 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 96 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 100 deviceTable.sanitize (c, this))); in sanitize() 130 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 133 if (unlikely (!u.format.sanitize (c))) return_trace (false); in sanitize() 135 case 1: return_trace (u.format1.sanitize (c)); in sanitize() 136 case 2: return_trace (u.format2.sanitize (c)); in sanitize() 137 case 3: return_trace (u.format3.sanitize (c)); in sanitize() 165 bool sanitize (hb_sanitize_context_t *c, const void *base) const in sanitize() function [all …]
|
D | hb-aat-layout-common.hh | 60 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 63 return_trace (arrayZ.sanitize (c, c->get_num_glyphs ())); in sanitize() 65 bool sanitize (hb_sanitize_context_t *c, const void *base) const in sanitize() function 68 return_trace (arrayZ.sanitize (c, c->get_num_glyphs (), base)); in sanitize() 88 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 91 return_trace (c->check_struct (this) && value.sanitize (c)); in sanitize() 93 bool sanitize (hb_sanitize_context_t *c, const void *base) const in sanitize() function 96 return_trace (c->check_struct (this) && value.sanitize (c, base)); in sanitize() 118 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 121 return_trace (segments.sanitize (c)); in sanitize() [all …]
|
D | hb-aat-layout-bsln-table.hh | 42 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 60 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 64 lookupTable.sanitize (c))); in sanitize() 78 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 101 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 104 return_trace (likely (c->check_struct (this) && lookupTable.sanitize (c))); in sanitize() 121 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 129 case 0: return_trace (parts.format0.sanitize (c)); in sanitize() 130 case 1: return_trace (parts.format1.sanitize (c)); in sanitize() 131 case 2: return_trace (parts.format2.sanitize (c)); in sanitize() [all …]
|
D | hb-open-file.hh | 65 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 200 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 203 return_trace (c->check_struct (this) && tables.sanitize (c)); in sanitize() 226 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 229 return_trace (table.sanitize (c, this)); in sanitize() 266 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 269 if (unlikely (!u.header.version.sanitize (c))) return_trace (false); in sanitize() 272 case 1: return_trace (u.version1.sanitize (c)); in sanitize() 299 bool sanitize (hb_sanitize_context_t *c, in sanitize() function 304 offset.sanitize (c, data_base) && in sanitize() [all …]
|
D | hb-ot-color-colr-table.hh | 118 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 145 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 183 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 186 return_trace (c->check_struct (this) && value.sanitize (c)); in sanitize() 214 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 217 return_trace (c->check_struct (this) && value.sanitize (c)); in sanitize() 241 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 291 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 295 stops.sanitize (c)); in sanitize() 355 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function [all …]
|
D | hb-ot-layout-gdef-table.hh | 105 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 108 return_trace (coverage.sanitize (c, this) && attachPoint.sanitize (c, this)); in sanitize() 143 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 175 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 213 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 216 return_trace (c->check_struct (this) && deviceTable.sanitize (c, this)); in sanitize() 271 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 274 if (!u.format.sanitize (c)) return_trace (false); in sanitize() 276 case 1: return_trace (u.format1.sanitize (c)); in sanitize() 277 case 2: return_trace (u.format2.sanitize (c)); in sanitize() [all …]
|
D | hb-ot-stat-table.hh | 67 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 95 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 127 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 155 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 177 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 237 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 245 case 1: return_trace (u.format1.sanitize (c)); in sanitize() 246 case 2: return_trace (u.format2.sanitize (c)); in sanitize() 247 case 3: return_trace (u.format3.sanitize (c)); in sanitize() 248 case 4: return_trace (u.format4.sanitize (c)); in sanitize() [all …]
|
D | hb-ot-math-table.hh | 54 bool sanitize (hb_sanitize_context_t *c, const void *base) const in sanitize() function 57 return_trace (c->check_struct (this) && deviceTable.sanitize (c, base)); in sanitize() 101 if (!mathValueRecords[i].sanitize (c, this)) in sanitize_math_value_records() 107 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 223 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 227 coverage.sanitize (c, this) && in sanitize() 228 italicsCorrection.sanitize (c, this)); in sanitize() 276 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 280 topAccentCoverage.sanitize (c, this) && in sanitize() 281 topAccentAttachment.sanitize (c, this)); in sanitize() [all …]
|
D | hb-aat-layout-opbd-table.hh | 42 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 75 bool sanitize (hb_sanitize_context_t *c, const void *base) const in sanitize() function 78 return_trace (likely (c->check_struct (this) && lookupTable.sanitize (c, base))); in sanitize() 112 bool sanitize (hb_sanitize_context_t *c, const void *base) const in sanitize() function 115 return_trace (likely (c->check_struct (this) && lookupTable.sanitize (c, base))); in sanitize() 142 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 150 case 0: return_trace (u.format0.sanitize (c, this)); in sanitize() 151 case 1: return_trace (u.format1.sanitize (c, this)); in sanitize()
|
D | hb-ot-cff2-table.hh | 88 bool sanitize (hb_sanitize_context_t *c, unsigned int fdcount) const in sanitize() function 96 case 0: return_trace (u.format0.sanitize (c, fdcount)); in sanitize() 97 case 3: return_trace (u.format3.sanitize (c, fdcount)); in sanitize() 98 case 4: return_trace (u.format4.sanitize (c, fdcount)); in sanitize() 115 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 118 …ace (likely (c->check_struct (this)) && c->check_range (&varStore, size) && varStore.sanitize (c)); in sanitize() 390 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 419 if (unlikely (!topDictStr.sanitize (&sc))) { fini (); return; } in init() 432 if (((varStore != &Null (CFF2VariationStore)) && unlikely (!varStore->sanitize (&sc))) || in init() 433 (charStrings == &Null (CFF2CharStrings)) || unlikely (!charStrings->sanitize (&sc)) || in init() [all …]
|
D | hb-aat-layout-trak-table.hh | 56 bool sanitize (hb_sanitize_context_t *c, const void *base, in sanitize() function 61 (valuesZ.sanitize (c, base, table_size)))); in sanitize() 133 bool sanitize (hb_sanitize_context_t *c, const void *base) const in sanitize() function 137 sizeTable.sanitize (c, base, nSizes) && in sanitize() 138 trackTable.sanitize (c, nTracks, base, nSizes))); in sanitize() 201 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 207 horizData.sanitize (c, this, this) && in sanitize() 208 vertData.sanitize (c, this, this))); in sanitize()
|
D | hb-ot-cff1-table.hh | 64 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 67 return_trace (codes.sanitize (c)); in sanitize() 91 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 104 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 107 return_trace (ranges.sanitize (c)); in sanitize() 135 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 148 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 151 return_trace (supps.sanitize (c)); in sanitize() 276 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 284 case 0: if (unlikely (!u.format0.sanitize (c))) { return_trace (false); } break; in sanitize() [all …]
|
D | hb-aat-layout-kerx-table.hh | 78 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 134 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 137 return_trace (likely (pairs.sanitize (c))); in sanitize() 358 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 363 machine.sanitize (c))); in sanitize() 391 if (unlikely (!v->sanitize (&c->sanitizer))) return 0; in get_kerning() 426 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 430 leftClassTable.sanitize (c, this) && in sanitize() 431 rightClassTable.sanitize (c, this) && in sanitize() 602 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function [all …]
|
D | hb-ot-layout-common.hh | 416 bool sanitize (hb_sanitize_context_t *c, const void *base) const in sanitize() function 420 return_trace (c->check_struct (this) && offset.sanitize (c, base, &closure)); in sanitize() 478 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 481 return_trace (RecordArrayOf<Type>::sanitize (c, this)); in sanitize() 535 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 693 bool sanitize (hb_sanitize_context_t *c, in sanitize() function 697 return_trace (c->check_struct (this) && featureIndex.sanitize (c)); in sanitize() 818 bool sanitize (hb_sanitize_context_t *c, in sanitize() function 822 return_trace (defaultLangSys.sanitize (c, this) && langSys.sanitize (c, this)); in sanitize() 842 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function [all …]
|
D | hb-aat-layout-morx-table.hh | 177 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 180 return_trace (machine.sanitize (c)); in sanitize() 262 if (!replacement->sanitize (&c->sanitizer) || !*replacement) in transition() 290 if (!replacement->sanitize (&c->sanitizer) || !*replacement) in transition() 333 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 338 if (unlikely (!machine.sanitize (c, &num_entries))) return_trace (false); in sanitize() 341 return_trace (substitutionTables.sanitize (c, this, 0)); in sanitize() 356 return_trace (substitutionTables.sanitize (c, this, num_lookups)); in sanitize() 515 if (unlikely (!actionData->sanitize (&c->sanitizer))) break; in transition() 525 if (unlikely (!componentData.sanitize (&c->sanitizer))) break; in transition() [all …]
|
D | hb-aat-ltag-table.hh | 46 bool sanitize (hb_sanitize_context_t *c, const void *base) const in sanitize() function 49 return_trace (c->check_struct (this) && (base+tag).sanitize (c, length)); in sanitize() 72 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 77 tagRanges.sanitize (c, this))); in sanitize()
|
D | hb-ot-color-cpal-table.hh | 114 bool sanitize (hb_sanitize_context_t *c, in sanitize() function 121 (!paletteFlagsZ || (base+paletteFlagsZ).sanitize (c, palette_count)) && in sanitize() 122 (!paletteLabelsZ || (base+paletteLabelsZ).sanitize (c, palette_count)) && in sanitize() 123 (!colorLabelsZ || (base+colorLabelsZ).sanitize (c, color_count))); in sanitize() 277 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 281 (this+colorRecordsZ).sanitize (c, numColorRecords) && in sanitize() 282 colorRecordIndicesZ.sanitize (c, numPalettes) && in sanitize() 283 (version == 0 || v1 ().sanitize (c, this, numPalettes, numColors))); in sanitize()
|
D | hb-ot-os2-table.hh | 47 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 66 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 101 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 250 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 254 if (unlikely (version >= 1 && !v1X.sanitize (c))) return_trace (false); in sanitize() 255 if (unlikely (version >= 2 && !v2X.sanitize (c))) return_trace (false); in sanitize() 256 if (unlikely (version >= 5 && !v5X.sanitize (c))) return_trace (false); in sanitize()
|
D | hb-ot-color-cbdt-table.hh | 77 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 111 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 140 bool sanitize (hb_sanitize_context_t *c) const in sanitize() function 156 bool sanitize (hb_sanitize_context_t *c, unsigned int glyph_count) const in sanitize() function 160 offsetArrayZ.sanitize (c, glyph_count + 1)); in sanitize() 199 bool sanitize (hb_sanitize_context_t *c, unsigned int glyph_count) const in sanitize() function 202 if (!u.header.sanitize (c)) return_trace (false); in sanitize() 205 case 1: return_trace (u.format1.sanitize (c, glyph_count)); in sanitize() 206 case 3: return_trace (u.format3.sanitize (c, glyph_count)); in sanitize() 363 bool sanitize (hb_sanitize_context_t *c, const void *base) const in sanitize() function [all …]
|
/third_party/musl/ndk-test/ |
D | README.md | 29 ├── sanitize 30 │ ├── CMakeLists.txt # sanitize通过cmake构建的起点 32 │ ├── build.py # 编译sanitize的脚本 41 │ ├── runtest-sanitize.sh 64 # 子目录sanitize 77 4. 若以上步骤执行成功,脚本会产生一个REPORT和REPORT-SANITIZE文件,来分别记录ndk-test和sanitize测试案例运行的结果
|
D | README.en.md | 29 ├── sanitize 30 │ ├── CMakeLists.txt # Starting point for sanitize build via cmake 32 │ ├── build.py # Script to compile sanitize 41 │ ├── runtest-sanitize.sh 64 # subdirectory sanitize 77 …REPORT-SANITIZE files to record the results of running the ndk-test and sanitize test cases respec…
|