/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/ |
D | LocationOffsetsTest.java | 15 JsonLocation loc; in testSimpleInitialOffsets() local 23 loc = p.getTokenLocation(); in testSimpleInitialOffsets() 24 assertEquals(-1L, loc.getByteOffset()); in testSimpleInitialOffsets() 25 assertEquals(0L, loc.getCharOffset()); in testSimpleInitialOffsets() 26 assertEquals(1, loc.getLineNr()); in testSimpleInitialOffsets() 27 assertEquals(1, loc.getColumnNr()); in testSimpleInitialOffsets() 29 loc = p.getCurrentLocation(); in testSimpleInitialOffsets() 30 assertEquals(-1L, loc.getByteOffset()); in testSimpleInitialOffsets() 31 assertEquals(1L, loc.getCharOffset()); in testSimpleInitialOffsets() 32 assertEquals(1, loc.getLineNr()); in testSimpleInitialOffsets() [all …]
|
/external/llvm-project/lld/ELF/Arch/ |
D | AVR.cpp | 47 const uint8_t *loc) const override; 48 void relocate(uint8_t *loc, const Relocation &rel, 56 const uint8_t *loc) const { in getRelExpr() 66 static void writeLDI(uint8_t *loc, uint64_t val) { in writeLDI() argument 67 write16le(loc, (read16le(loc) & 0xf0f0) | (val & 0xf0) << 4 | (val & 0x0f)); in writeLDI() 70 void AVR::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const { in relocate() argument 73 checkUInt(loc, val, 8, rel); in relocate() 74 *loc = val; in relocate() 80 write16le(loc, val & 0xffff); in relocate() 83 checkAlignment(loc, val, 2, rel); in relocate() [all …]
|
D | SPARCV9.cpp | 27 const uint8_t *loc) const override; 30 void relocate(uint8_t *loc, const Relocation &rel, 51 const uint8_t *loc) const { in getRelExpr() 83 error(getErrorLocation(loc) + "unknown relocation (" + Twine(type) + in getRelExpr() 89 void SPARCV9::relocate(uint8_t *loc, const Relocation &rel, in relocate() argument 95 checkUInt(loc, val, 32, rel); in relocate() 96 write32be(loc, val); in relocate() 100 checkInt(loc, val, 32, rel); in relocate() 101 write32be(loc, val); in relocate() 106 checkInt(loc, val, 32, rel); in relocate() [all …]
|
D | X86_64.cpp | 31 const uint8_t *loc) const override; 38 void relocate(uint8_t *loc, const Relocation &rel, 40 void applyJumpInstrMod(uint8_t *loc, JumpModType type, 44 const uint8_t *loc) const override; 45 void relaxGot(uint8_t *loc, const Relocation &rel, 47 void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, 49 void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, 51 void relaxTlsIeToLe(uint8_t *loc, const Relocation &rel, 53 void relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, 55 bool adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end, [all …]
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | glslang.m4 | 99 glslang::TSourceLoc loc; 112 glslang::TSourceLoc loc; 372 $$ = parseContext.handleVariable($1.loc, $1.symbol, $1.string); 386 $$ = parseContext.intermediate.addConstantUnion($1.d, EbtFloat, $1.loc, true); 389 $$ = parseContext.intermediate.addConstantUnion($1.i, $1.loc, true); 392 parseContext.fullIntegerCheck($1.loc, "unsigned literal"); 393 $$ = parseContext.intermediate.addConstantUnion($1.u, $1.loc, true); 396 $$ = parseContext.intermediate.addConstantUnion($1.b, $1.loc, true); 400 $$ = parseContext.intermediate.addConstantUnion($1.string, $1.loc, true); 403 parseContext.explicitInt32Check($1.loc, "32-bit signed literal"); [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/ |
D | chlo_legalize_to_hlo.cc | 66 auto loc = op.getLoc(); in matchAndRewrite() local 68 Value constant = rewriter.create<mhlo::ConstOp>(loc, op.value()); in matchAndRewrite() 70 loc, extent_tensor_type, transformed.operand()); in matchAndRewrite() 74 rewriter.create<tensor::CastOp>(loc, shape_ty, uncasted_shape); in matchAndRewrite() 83 Location loc, Value x, in MaterializePolynomialApproximation() argument 85 Value poly = chlo::getConstantLike(rewriter, loc, 0.0, x); in MaterializePolynomialApproximation() 87 poly = rewriter.create<mhlo::MulOp>(loc, x.getType(), poly, x); in MaterializePolynomialApproximation() 89 loc, x.getType(), poly, chlo::getConstantLike(rewriter, loc, c, x)); in MaterializePolynomialApproximation() 100 ConversionPatternRewriter &rewriter, Location loc, ValueRange args) { in MaterializeErfcApproximationF64ForMagnituteGEOne() argument 128 Value x_sq = rewriter.create<mhlo::MulOp>(loc, x, x); in MaterializeErfcApproximationF64ForMagnituteGEOne() [all …]
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/ |
D | glslang.m4 | 99 glslang::TSourceLoc loc; 112 glslang::TSourceLoc loc; 393 $$ = parseContext.handleVariable($1.loc, $1.symbol, $1.string); 407 $$ = parseContext.intermediate.addConstantUnion($1.d, EbtFloat, $1.loc, true); 410 $$ = parseContext.intermediate.addConstantUnion($1.i, $1.loc, true); 413 parseContext.fullIntegerCheck($1.loc, "unsigned literal"); 414 $$ = parseContext.intermediate.addConstantUnion($1.u, $1.loc, true); 417 $$ = parseContext.intermediate.addConstantUnion($1.b, $1.loc, true); 421 $$ = parseContext.intermediate.addConstantUnion($1.string, $1.loc, true); 424 parseContext.explicitInt32Check($1.loc, "32-bit signed literal"); [all …]
|
/external/libnl/src/ |
D | nl-pktloc-lookup.c | 55 static void dump_u32_style(struct rtnl_pktloc *loc, uint32_t value) in dump_u32_style() argument 57 if (loc->align > 4) in dump_u32_style() 60 if (loc->layer == TCF_LAYER_LINK) in dump_u32_style() 64 if (loc->shift > 0) in dump_u32_style() 68 align_txt[loc->align], in dump_u32_style() 69 value, loc->mask ? loc->mask : align_mask[loc->align], in dump_u32_style() 70 loc->layer == TCF_LAYER_TRANSPORT ? "nexthdr+" : "", in dump_u32_style() 71 loc->offset); in dump_u32_style() 74 static char *get_align_txt(struct rtnl_pktloc *loc) in get_align_txt() argument 78 if (loc->align <= 4) in get_align_txt() [all …]
|
/external/libnl/lib/route/ |
D | pktloc.c | 63 struct rtnl_pktloc *loc; in __pktloc_lookup() local 67 nl_list_for_each_entry(loc, &pktloc_name_ht[hash], list) { in __pktloc_lookup() 68 if (!strcasecmp(loc->name, name)) { in __pktloc_lookup() 69 loc->refcnt++; in __pktloc_lookup() 70 *result = loc; in __pktloc_lookup() 80 static void rtnl_pktloc_free(struct rtnl_pktloc *loc) in rtnl_pktloc_free() argument 82 if (!loc) in rtnl_pktloc_free() 85 free(loc->name); in rtnl_pktloc_free() 86 free(loc); in rtnl_pktloc_free() 119 struct rtnl_pktloc *loc, *n; in read_pktlocs() local [all …]
|
/external/llvm-project/libcxx/test/std/localization/locales/locale/locale.statics/ |
D | classic.pass.cpp | 32 void check(const std::locale& loc) in check() argument 34 assert(std::has_facet<std::collate<char> >(loc)); in check() 35 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 37 assert(std::has_facet<std::ctype<char> >(loc)); in check() 38 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 39 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 40 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 41 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 43 assert((std::has_facet<std::codecvt<char16_t, char8_t, std::mbstate_t> >(loc))); in check() 44 assert((std::has_facet<std::codecvt<char32_t, char8_t, std::mbstate_t> >(loc))); in check() [all …]
|
D | global.pass.cpp | 35 void check(const std::locale& loc) in check() argument 37 assert(std::has_facet<std::collate<char> >(loc)); in check() 38 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 40 assert(std::has_facet<std::ctype<char> >(loc)); in check() 41 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 42 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 43 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 44 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 46 assert((std::has_facet<std::codecvt<char16_t, char8_t, std::mbstate_t> >(loc))); in check() 47 assert((std::has_facet<std::codecvt<char32_t, char8_t, std::mbstate_t> >(loc))); in check() [all …]
|
/external/llvm-project/libcxx/test/std/localization/locales/locale/locale.cons/ |
D | assign.pass.cpp | 39 void check(const std::locale& loc) in check() argument 41 assert(std::has_facet<std::collate<char> >(loc)); in check() 42 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 44 assert(std::has_facet<std::ctype<char> >(loc)); in check() 45 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 46 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 47 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 48 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 50 assert((std::has_facet<std::codecvt<char16_t, char8_t, std::mbstate_t> >(loc))); in check() 51 assert((std::has_facet<std::codecvt<char32_t, char8_t, std::mbstate_t> >(loc))); in check() [all …]
|
D | copy.pass.cpp | 37 void check(const std::locale& loc) in check() argument 39 assert(std::has_facet<std::collate<char> >(loc)); in check() 40 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 42 assert(std::has_facet<std::ctype<char> >(loc)); in check() 43 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 44 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 45 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 46 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 48 assert((std::has_facet<std::codecvt<char16_t, char8_t, std::mbstate_t> >(loc))); in check() 49 assert((std::has_facet<std::codecvt<char32_t, char8_t, std::mbstate_t> >(loc))); in check() [all …]
|
D | string.pass.cpp | 38 void check(const std::locale& loc) in check() argument 40 assert(std::has_facet<std::collate<char> >(loc)); in check() 41 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 43 assert(std::has_facet<std::ctype<char> >(loc)); in check() 44 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 45 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 46 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 47 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 49 assert((std::has_facet<std::codecvt<char16_t, char8_t, std::mbstate_t> >(loc))); in check() 50 assert((std::has_facet<std::codecvt<char32_t, char8_t, std::mbstate_t> >(loc))); in check() [all …]
|
D | locale_facetptr.pass.cpp | 38 void check(const std::locale& loc) in check() argument 40 assert(std::has_facet<std::collate<char> >(loc)); in check() 41 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 43 assert(std::has_facet<std::ctype<char> >(loc)); in check() 44 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 45 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 46 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 47 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 49 assert((std::has_facet<std::codecvt<char16_t, char8_t, std::mbstate_t> >(loc))); in check() 50 assert((std::has_facet<std::codecvt<char32_t, char8_t, std::mbstate_t> >(loc))); in check() [all …]
|
D | locale_string_cat.pass.cpp | 40 void check(const std::locale& loc) in check() argument 42 assert(std::has_facet<std::collate<char> >(loc)); in check() 43 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 45 assert(std::has_facet<std::ctype<char> >(loc)); in check() 46 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 47 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 48 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 49 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 51 assert((std::has_facet<std::codecvt<char16_t, char8_t, std::mbstate_t> >(loc))); in check() 52 assert((std::has_facet<std::codecvt<char32_t, char8_t, std::mbstate_t> >(loc))); in check() [all …]
|
D | locale_char_pointer_cat.pass.cpp | 39 void check(const std::locale& loc) in check() argument 41 assert(std::has_facet<std::collate<char> >(loc)); in check() 42 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 44 assert(std::has_facet<std::ctype<char> >(loc)); in check() 45 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 46 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 47 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 48 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 50 assert((std::has_facet<std::codecvt<char16_t, char8_t, std::mbstate_t> >(loc))); in check() 51 assert((std::has_facet<std::codecvt<char32_t, char8_t, std::mbstate_t> >(loc))); in check() [all …]
|
D | locale_locale_cat.pass.cpp | 39 void check(const std::locale& loc) in check() argument 41 assert(std::has_facet<std::collate<char> >(loc)); in check() 42 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 44 assert(std::has_facet<std::ctype<char> >(loc)); in check() 45 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 46 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 47 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 48 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 50 assert((std::has_facet<std::codecvt<char16_t, char8_t, std::mbstate_t> >(loc))); in check() 51 assert((std::has_facet<std::codecvt<char32_t, char8_t, std::mbstate_t> >(loc))); in check() [all …]
|
/external/libcxx/test/std/localization/locales/locale/locale.cons/ |
D | copy.pass.cpp | 23 void check(const std::locale& loc) in check() argument 25 assert(std::has_facet<std::collate<char> >(loc)); in check() 26 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 28 assert(std::has_facet<std::ctype<char> >(loc)); in check() 29 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 30 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 31 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 32 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 33 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check() 35 assert((std::has_facet<std::moneypunct<char> >(loc))); in check() [all …]
|
D | assign.pass.cpp | 25 void check(const std::locale& loc) in check() argument 27 assert(std::has_facet<std::collate<char> >(loc)); in check() 28 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 30 assert(std::has_facet<std::ctype<char> >(loc)); in check() 31 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 32 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 33 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 34 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 35 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check() 37 assert((std::has_facet<std::moneypunct<char> >(loc))); in check() [all …]
|
D | string.pass.cpp | 24 void check(const std::locale& loc) in check() argument 26 assert(std::has_facet<std::collate<char> >(loc)); in check() 27 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 29 assert(std::has_facet<std::ctype<char> >(loc)); in check() 30 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 31 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 32 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 33 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 34 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check() 36 assert((std::has_facet<std::moneypunct<char> >(loc))); in check() [all …]
|
D | char_pointer.pass.cpp | 30 void check(const std::locale& loc) in check() argument 32 assert(std::has_facet<std::collate<char> >(loc)); in check() 33 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 35 assert(std::has_facet<std::ctype<char> >(loc)); in check() 36 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 37 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 38 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 39 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 40 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check() 42 assert((std::has_facet<std::moneypunct<char> >(loc))); in check() [all …]
|
D | locale_facetptr.pass.cpp | 24 void check(const std::locale& loc) in check() argument 26 assert(std::has_facet<std::collate<char> >(loc)); in check() 27 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 29 assert(std::has_facet<std::ctype<char> >(loc)); in check() 30 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 31 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 32 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 33 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 34 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check() 36 assert((std::has_facet<std::moneypunct<char> >(loc))); in check() [all …]
|
/external/libcxx/test/std/localization/locales/locale/locale.statics/ |
D | global.pass.cpp | 21 void check(const std::locale& loc) in check() argument 23 assert(std::has_facet<std::collate<char> >(loc)); in check() 24 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 26 assert(std::has_facet<std::ctype<char> >(loc)); in check() 27 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 28 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 29 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 30 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 31 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check() 33 assert((std::has_facet<std::moneypunct<char> >(loc))); in check() [all …]
|
D | classic.pass.cpp | 17 void check(const std::locale& loc) in check() argument 19 assert(std::has_facet<std::collate<char> >(loc)); in check() 20 assert(std::has_facet<std::collate<wchar_t> >(loc)); in check() 22 assert(std::has_facet<std::ctype<char> >(loc)); in check() 23 assert(std::has_facet<std::ctype<wchar_t> >(loc)); in check() 24 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check() 25 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check() 26 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check() 27 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check() 29 assert((std::has_facet<std::moneypunct<char> >(loc))); in check() [all …]
|