/external/rust/crates/chrono/src/naive/ |
D | internals.rs | 127 let YearFlags(flags) = *self; in ndays() 128 366 - u32::from(flags >> 3) in ndays() 133 let YearFlags(flags) = *self; in isoweek_delta() 134 let mut delta = u32::from(flags) & 0b0111; in isoweek_delta() 143 let YearFlags(flags) = *self; in nisoweeks() 144 52 + ((0b0000_0100_0000_0110 >> flags as usize) & 1) in nisoweeks() 150 let YearFlags(flags) = *self; in fmt() 151 match flags { in fmt() 168 _ => write!(f, "YearFlags({})", flags), in fmt() 281 pub fn new(ordinal: u32, YearFlags(flags): YearFlags) -> Of { in new() [all …]
|
/external/llvm-project/llvm/test/tools/llvm-objcopy/COFF/ |
D | set-section-flags.test | 3 ## Single flag on a section with no flags: 4 # RUN: llvm-objcopy --set-section-flags=.foo=alloc %t %t.alloc 5 # RUN: llvm-readobj --sections %t.alloc | FileCheck %s --check-prefixes=CHECK,UNINITDATA,READ,WRITE 6 # RUN: llvm-objcopy --set-section-flags=.foo=load %t %t.load 7 # RUN: llvm-readobj --sections %t.load | FileCheck %s --check-prefixes=CHECK,READ,WRITE 8 # RUN: llvm-objcopy --set-section-flags=.foo=noload %t %t.noload 9 # RUN: llvm-readobj --sections %t.noload | FileCheck %s --check-prefixes=CHECK,READ,WRITE,REMOVE 10 # RUN: llvm-objcopy --set-section-flags=.foo=readonly %t %t.readonly 11 # RUN: llvm-readobj --sections %t.readonly | FileCheck %s --check-prefixes=CHECK,READ 12 # RUN: llvm-objcopy --set-section-flags=.foo=exclude %t %t.exclude [all …]
|
/external/llvm-project/llvm/test/tools/llvm-objcopy/ELF/ |
D | set-section-flags.test | 3 # Single flags on a section with no flags: 4 # RUN: llvm-objcopy --set-section-flags=.foo=alloc \ 5 # RUN: --set-section-flags=.baz=alloc --set-section-flags=.rela.baz=alloc %t %t.alloc 6 # RUN: llvm-readobj --sections %t.alloc | FileCheck %s --check-prefixes=CHECK,NOBITS,ALLOC,WRITE 7 # RUN: llvm-objcopy --set-section-flags=.foo=load \ 8 # RUN: --set-section-flags=.baz=load --set-section-flags=.rela.baz=load %t %t.load 9 # RUN: llvm-readobj --sections %t.load | FileCheck %s --check-prefixes=CHECK,PROGBITS,WRITE 10 # RUN: llvm-objcopy --set-section-flags=.foo=noload \ 11 # RUN: --set-section-flags=.baz=noload --set-section-flags=.rela.baz=noload %t %t.noload 12 # RUN: llvm-readobj --sections %t.noload | FileCheck %s --check-prefixes=CHECK,PROGBITS,WRITE [all …]
|
D | rename-section-flag.test | 3 # Single flags on a section with no flags: 6 # RUN: llvm-readobj --sections %t.alloc | FileCheck %s --check-prefixes=CHECK,NOBITS,ALLOC,WRITE 9 # RUN: llvm-readobj --sections %t.load | FileCheck %s --check-prefixes=CHECK,PROGBITS,WRITE 12 # RUN: llvm-readobj --sections %t.noload | FileCheck %s --check-prefixes=CHECK,PROGBITS,WRITE 15 # RUN: llvm-readobj --sections %t.readonly | FileCheck %s --check-prefixes=CHECK,PROGBITS 18 # RUN: llvm-readobj --sections %t.exclude | FileCheck %s --check-prefixes=CHECK,PROGBITS,EXCLUDE,WR… 21 # RUN: llvm-readobj --sections %t.debug | FileCheck %s --check-prefixes=CHECK,PROGBITS,WRITE 24 # RUN: llvm-readobj --sections %t.code | FileCheck %s --check-prefixes=CHECK,PROGBITS,EXEC,WRITE 27 # RUN: llvm-readobj --sections %t.data | FileCheck %s --check-prefixes=CHECK,PROGBITS,WRITE 30 # RUN: llvm-readobj --sections %t.rom | FileCheck %s --check-prefixes=CHECK,PROGBITS,WRITE [all …]
|
/external/mdnsresponder/mDNSWindows/DLL.NET/ |
D | dnssd_NET.cpp | 80 check( m_impl != NULL ); in StartThread() 113 check(m_impl != NULL); in Dispose() 114 check(m_bDisposed == false); in Dispose() 143 ServiceFlags flags, in EnumerateDomainsDispatch() argument 152 OnEnumerateDomainsReply(this, flags, interfaceIndex, errorCode, replyDomain); in EnumerateDomainsDispatch() 165 ServiceFlags flags, in RegisterDispatch() argument 175 OnRegisterReply(this, flags, errorCode, name, regtype, domain); in RegisterDispatch() 188 ServiceFlags flags, in BrowseDispatch() argument 199 OnBrowseReply(this, flags, interfaceIndex, errorCode, serviceName, regtype, replyDomain); in BrowseDispatch() 212 ServiceFlags flags, in ResolveDispatch() argument [all …]
|
/external/openssh/regress/unittests/hostkeys/ |
D | test_iterate.c | 41 int flags; member 53 check(struct hostkey_foreach_line *l, void *_ctx) in check() function 57 int parse_key = (ctx->flags & HKF_WANT_PARSE_KEY) != 0; in check() 58 const int matching = (ctx->flags & HKF_WANT_MATCH) != 0; in check() 853 ctx.flags = HKF_WANT_PARSE_KEY; in test_iterate() 856 check, &ctx, NULL, NULL, ctx.flags), 0); in test_iterate() 864 ctx.flags = 0; in test_iterate() 867 check, &ctx, NULL, NULL, ctx.flags), 0); in test_iterate() 875 ctx.flags = 0; in test_iterate() 879 check, &ctx, "prometheus.example.com", NULL, ctx.flags), 0); in test_iterate() [all …]
|
/external/llvm-project/llvm/test/tools/llvm-size/ |
D | darwin-m.test | 6 # RUN: | FileCheck --check-prefix=DARWIN %s --implicit-check-not={{.}} \ 9 # RUN: | FileCheck --check-prefixes=DARWIN,DARWIN2 %s --implicit-check-not={{.}} \ 12 # RUN: | FileCheck --check-prefix=DARWIN %s --implicit-check-not={{.}} \ 15 # RUN: | FileCheck --check-prefixes=DARWIN,DARWIN2 %s --implicit-check-not={{.}} \ 39 flags: 0x00000000 51 flags: 0 61 flags: 0x80000000 73 flags: 0x00000000 86 flags: 0x00000000 98 flags: 0 [all …]
|
/external/kotlinx.atomicfu/atomicfu-transformer/src/main/kotlin/kotlinx/atomicfu/transformer/ |
D | MetadataTransformer.kt | 68 override fun visitSupertype(flags: Flags): KmTypeVisitor? = in <lambda>() 69 KmType(flags).also { supertypes += it } in <lambda>() 71 …override fun visitProperty(flags: Flags, name: String, getterFlags: Flags, setterFlags: Flags): Km… in <lambda>() 72 …PropertyFilter(KmProperty(flags, name, getterFlags, setterFlags), super.visitProperty(flags, name,… in <lambda>() 73 override fun visitFunction(flags: Flags, name: String): KmFunctionVisitor = in <lambda>() 74 FunctionFilter(KmFunction(flags, name), super.visitFunction(flags, name)!!) in <lambda>() 82 type.accept(super.visitSupertype(type.flags)!!) in <lambda>() 89 …override fun visitProperty(flags: Flags, name: String, getterFlags: Flags, setterFlags: Flags): Km… in <lambda>() 90 …PropertyFilter(KmProperty(flags, name, getterFlags, setterFlags), super.visitProperty(flags, name,… in <lambda>() 91 override fun visitFunction(flags: Flags, name: String): KmFunctionVisitor = in <lambda>() [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkRefUtil.cpp | 39 return Move<VkPipeline>(check<VkPipeline>(object), Deleter<VkPipeline>(vk, device, pAllocator)); in createGraphicsPipeline() 50 return Move<VkPipeline>(check<VkPipeline>(object), Deleter<VkPipeline>(vk, device, pAllocator)); in createComputePipeline() 61 return Move<VkPipeline>(check<VkPipeline>(object), Deleter<VkPipeline>(vk, device, pAllocator)); in createRayTracingPipelineNV() 73 return Move<VkPipeline>(check<VkPipeline>(object), Deleter<VkPipeline>(vk, device, pAllocator)); in createRayTracingPipelineKHR() 81 …return Move<VkCommandBuffer>(check<VkCommandBuffer>(object), Deleter<VkCommandBuffer>(vk, device, … in allocateCommandBuffer() 89 …return Move<VkDescriptorSet>(check<VkDescriptorSet>(object), Deleter<VkDescriptorSet>(vk, device, … in allocateDescriptorSet() 94 VkSemaphoreCreateFlags flags, in createSemaphore() argument 102 flags in createSemaphore() 111 VkSemaphoreCreateFlags flags, in createSemaphoreType() argument 128 flags in createSemaphoreType() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryRequirementsTests.cpp | 54 …const VkDevice device, const VkDeviceSize size, const VkBufferCreateFlags flags, const VkBufferUsa… in makeBuffer() argument 60 flags, // VkBufferCreateFlags flags; in makeBuffer() 70 …const VkDevice device, const VkDeviceSize size, const VkBufferCreateFlags flags, const VkBufferUsa… in getBufferMemoryRequirements() argument 72 const Unique<VkBuffer> buffer(makeBuffer(vk, device, size, flags, usage)); in getBufferMemoryRequirements() 76 …const VkDevice device, const VkDeviceSize size, const VkBufferCreateFlags flags, const VkBufferUsa… in getBufferMemoryRequirements2() argument 78 const Unique<VkBuffer> buffer (makeBuffer(vk, device, size, flags, usage)); in getBufferMemoryRequirements2() 176 const VkBufferCreateFlags flags, 207 const VkBufferCreateFlags flags, 234 VkBufferCreateFlags flags; in populateTestGroup() member 248 addFunctionTestCase(bufferGroup.get(), bufferCases[ndx].name, "", bufferCases[ndx].flags); in populateTestGroup() [all …]
|
/external/llvm-project/llvm/test/tools/llvm-objcopy/MachO/ |
D | dump-section.test | 9 # RUN: od -t x1 %t.dump.text | FileCheck %s --check-prefix=TEXT-CONTENT 10 # RUN: wc -c %t.dump.text | FileCheck %s --check-prefix=TEXT-SIZE 11 # RUN: od -t x1 %t.dump.data | FileCheck %s --check-prefix=DATA-CONTENT 12 # RUN: wc -c %t.dump.data | FileCheck %s --check-prefix=DATA-SIZE 21 # RUN: | FileCheck %s -DINPUT=%t --check-prefix=NO-SUCH-SECTION 32 flags: 0x00002000 45 flags: 0 56 flags: 0x80000400 68 flags: 0x00000000 80 flags: 0x00000000
|
/external/python/pybind11/tests/ |
D | test_numpy_array.py | 18 for check in m.get_concrete_dtype_checks(): 19 print(check) 20 assert check.numpy == check.pybind11, check 21 if check.numpy.num != check.pybind11.num: 24 check, check.numpy.num, check.pybind11.num 52 a.flags.writeable = False 135 arr.flags.writeable = False 180 assert m.make_c_array().flags.c_contiguous 181 assert not m.make_c_array().flags.f_contiguous 182 assert m.make_f_array().flags.f_contiguous [all …]
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/truth/ |
D | SpannedSubject.java | 130 return check("StyleSpan (start=%s,end=%s,style=%s)", start, end, style) in hasStyleSpan() 173 return check("StyleSpan (start=%s,end=%s)", start, end).about(spanFlags()).that(allFlags); in hasBoldItalicSpanBetween() 213 return check("UnderlineSpan (start=%s,end=%s)", start, end) in hasUnderlineSpanBetween() 250 return check("StrikethroughSpan (start=%s,end=%s)", start, end) in hasStrikethroughSpanBetween() 294 return check("AlignmentSpan (start=%s,end=%s)", start, end) in hasAlignmentSpanBetween() 335 return check("ForegroundColorSpan (start=%s,end=%s)", start, end) in hasForegroundColorSpanBetween() 376 return check("BackgroundColorSpan (start=%s,end=%s)", start, end) in hasBackgroundColorSpanBetween() 415 return check("TypefaceSpan (start=%s,end=%s)", start, end) in hasTypefaceSpanBetween() 456 return check("AbsoluteSizeSpan (start=%s,end=%s)", start, end) in hasAbsoluteSizeSpanBetween() 497 return check("RelativeSizeSpan (start=%s,end=%s)", start, end) in hasRelativeSizeSpanBetween() [all …]
|
/external/llvm-project/llvm/test/Bitcode/ |
D | thinlto-type-tests.ll | 3 ; RUN: llvm-dis -o - %t.o | FileCheck %s --check-prefix=DIS 5 ; RUN: llvm-dis -o - %t.o | llvm-as -o - | llvm-dis -o - | FileCheck %s --check-prefix=DIS 7 ; RUN: llvm-bcanalyzer -dump %t2.thinlto.bc | FileCheck --check-prefix=COMBINED %s 8 ; RUN: llvm-dis -o - %t2.thinlto.bc | FileCheck %s --check-prefix=COMBINED-DIS 10 ; RUN: llvm-dis -o - %t2.thinlto.bc | llvm-as -o - | llvm-dis -o - | FileCheck %s --check-prefix=CO… 40 ; DIS: ^2 = gv: (name: "h", summaries: (function: (module: ^0, flags: (linkage: external, notEligib… 41 ; DIS: ^3 = gv: (name: "g", summaries: (function: (module: ^0, flags: (linkage: external, notEligib… 42 ; DIS: ^4 = gv: (name: "f", summaries: (function: (module: ^0, flags: (linkage: external, notEligib… 45 ; COMBINED-DIS: ^1 = gv: (guid: 8124147457056772133, summaries: (function: (module: ^0, flags: (lin… 46 ; COMBINED-DIS: ^2 = gv: (guid: 13146401226427987378, summaries: (function: (module: ^0, flags: (li… [all …]
|
/external/llvm/test/Object/ |
D | objdump-private-headers.test | 2 RUN: | FileCheck %s -check-prefix ELF-i386 4 RUN: | FileCheck %s -check-prefix ELF-x86-64 6 RUN: | FileCheck %s -check-prefix MACHO-x86_64 10 ELF-i386: filesz 0x00000134 memsz 0x00000134 flags r-x 12 ELF-i386: filesz 0x00000000 memsz 0x00000000 flags rw- 16 ELF-x86-64: filesz 0x0000000000000138 memsz 0x0000000000000138 flags r-x 18 ELF-x86-64: filesz 0x0000000000000014 memsz 0x0000000000000014 flags r-- 20 ELF-x86-64: filesz 0x0000000000000000 memsz 0x0000000000000000 flags rw-
|
/external/llvm-project/llvm/test/Object/ |
D | objdump-private-headers.test | 2 RUN: | FileCheck %s -check-prefix ELF-i386 4 RUN: | FileCheck %s -check-prefix ELF-x86-64 6 RUN: | FileCheck %s -check-prefix MACHO-x86_64 10 ELF-i386: filesz 0x00000134 memsz 0x00000134 flags r-x 12 ELF-i386: filesz 0x00000000 memsz 0x00000000 flags rw- 16 ELF-x86-64: filesz 0x0000000000000138 memsz 0x0000000000000138 flags r-x 18 ELF-x86-64: filesz 0x0000000000000014 memsz 0x0000000000000014 flags r-- 20 ELF-x86-64: filesz 0x0000000000000000 memsz 0x0000000000000000 flags rw-
|
/external/llvm-project/clang/test/Modules/ |
D | codegen-flags.test | 4 …codegen -x c++ -fmodules -emit-module -fmodule-name=foo %S/Inputs/codegen-flags/foo.modulemap -o %… 5 …buginfo -x c++ -fmodules -emit-module -fmodule-name=foo %S/Inputs/codegen-flags/foo.modulemap -o %… 7 …4-linux-gnu -emit-llvm -debug-info-kind=limited -o - %t/foo-cg.pcm | FileCheck --check-prefix=CG %s 8 …4-linux-gnu -emit-llvm -debug-info-kind=limited -o - %t/foo-di.pcm | FileCheck --check-prefix=DI %s 10 …o - -fmodules -fmodule-file=%t/foo-cg.pcm %S/Inputs/codegen-flags/use.cpp | FileCheck --check-pref… 11 …o - -fmodules -fmodule-file=%t/foo-di.pcm %S/Inputs/codegen-flags/use.cpp | FileCheck --check-pref… 25 DI-USE: = !DICompositeType(tag: DW_TAG_structure_type, name: "foo", {{.*}}, flags: DIFlagFwdDecl
|
/external/rust/crates/libz-sys/src/zlib-ng/ |
D | inflate.c | 66 state->check = ADLER32_INITIAL_VALUE; in PREFIX() 69 state->flags = -1; in PREFIX() 411 state->check = PREFIX(crc32)(0L, NULL, 0); in PREFIX() 412 CRC2(state->check, hold); in PREFIX() 443 state->flags = 0; /* indicate zlib header */ in PREFIX() 445 strm->adler = state->check = ADLER32_INITIAL_VALUE; in PREFIX() 453 state->flags = (int)(hold); in PREFIX() 454 if ((state->flags & 0xff) != Z_DEFLATED) { in PREFIX() 459 if (state->flags & 0xe000) { in PREFIX() 466 if ((state->flags & 0x0200) && (state->wrap & 4)) in PREFIX() [all …]
|
/external/llvm-project/llvm/test/tools/llvm-libtool-darwin/ |
D | cpu-subtype-matching.test | 12 # RUN: FileCheck %s --check-prefix=ARM-NAMES --implicit-check-not={{.}} -DPREFIX=%basename_t.tmp 19 # RUN: FileCheck %s --check-prefix=ARM-SYMBOLS -DPREFIX=%basename_t.tmp --match-full-lines 37 flags: 0x00002000 49 flags: 0 59 flags: 0x80000400 94 flags: 0x00002000 106 flags: 0 116 flags: 0x80000400 149 # RUN: FileCheck %s --check-prefix=X86-NAMES --implicit-check-not={{.}} -DPREFIX=%basename_t.tmp 156 # RUN: FileCheck %s --check-prefix=X86-SYMBOLS -DPREFIX=%basename_t.tmp --match-full-lines [all …]
|
/external/curl/CMake/ |
D | CurlTests.c | 67 int flags = 0; in main() local 68 if(0 != fcntl(0, F_SETFL, flags | O_NONBLOCK)) in main() 326 unsigned long flags = ioctlsocket(socket, FIONBIO, &flags); in main() local 381 long flags = 0; in main() local 382 if(0 != ioctlsocket(0, FIONBIO, &flags)) in main() 408 int flags = 0; in main() local 409 if(0 != ioctlsocket(0, FIONBIO, &flags)) in main() 439 int flags = 0; in main() local 440 if(0 != ioctl(0, FIONBIO, &flags)) in main() 515 void check(char c) {} in check() function [all …]
|
/external/llvm-project/flang/unittests/Evaluate/ |
D | real.cpp | 79 TEST(vr.flags.empty())(desc); in basicTests() 142 TEST(vr.flags.test(RealFlag::Overflow))(ldesc); in basicTests() 144 TEST(ivf.flags.test(RealFlag::Overflow))(ldesc); in basicTests() 147 TEST(vr.flags.empty())(ldesc); in basicTests() 149 TEST(ivf.flags.empty())(ldesc); in basicTests() 159 auto check{R::Read(p, rounding)}; in basicTests() local 160 auto icheck{check.value.template ToInteger<Integer8>()}; in basicTests() 162 TEST(vr.value.Compare(check.value) == Relation::Equal)(ldesc); in basicTests() 179 TEST(vr.flags.test(RealFlag::Overflow))(ldesc); in basicTests() 181 TEST(ivf.flags.test(RealFlag::Overflow))(ldesc); in basicTests() [all …]
|
/external/libwebsockets/win32port/zlib/ |
D | inflate.c | 412 # define UPDATE(check, buf, len) \ argument 413 (state->flags ? crc32(check, buf, len) : adler32(check, buf, len)) 415 # define UPDATE(check, buf, len) adler32(check, buf, len) argument 420 # define CRC2(check, word) \ argument 424 check = crc32(check, hbuf, 2); \ 427 # define CRC4(check, word) \ argument 433 check = crc32(check, hbuf, 4); \ 632 state->check = crc32(0L, Z_NULL, 0); 633 CRC2(state->check, hold); 638 state->flags = 0; /* expect zlib header */ [all …]
|
/external/llvm-project/lld/test/MachO/ |
D | headerpad.s | 3 ## NOTE: Here we check that the first non-header section -- __text -- appears 14 # RUN: llvm-objdump --macho --all-headers %t | FileCheck %s --check-prefix=PADx 16 # PADx: magic {{.+}} ncmds sizeofcmds flags 26 # RUN: llvm-objdump --macho --all-headers %t | FileCheck %s --check-prefix=PAD0 28 # RUN: llvm-objdump --macho --all-headers %t | FileCheck %s --check-prefix=PAD0 30 # PAD0: magic {{.+}} ncmds sizeofcmds flags 40 # RUN: llvm-objdump --macho --all-headers %t | FileCheck %s --check-prefix=PAD11 42 # RUN: llvm-objdump --macho --all-headers %t | FileCheck %s --check-prefix=PAD11 44 # RUN: llvm-objdump --macho --all-headers %t | FileCheck %s --check-prefix=PAD11 46 # PAD11: magic {{.+}} ncmds sizeofcmds flags [all …]
|
/external/zlib/ |
D | inflate.c | 231 state->check = 1L; /* 1L is the result of adler32() zero length data */ 451 # define UPDATE(check, buf, len) \ argument 452 (state->flags ? crc32(check, buf, len) : adler32(check, buf, len)) 454 # define UPDATE(check, buf, len) adler32(check, buf, len) argument 459 # define CRC2(check, word) \ argument 463 check = crc32(check, hbuf, 2); \ 466 # define CRC4(check, word) \ argument 472 check = crc32(check, hbuf, 4); \ 668 state->check = crc32(0L, Z_NULL, 0); 669 CRC2(state->check, hold); [all …]
|
/external/zlib/contrib/optimizations/ |
D | inflate.c | 232 state->check = 1L; /* 1L is the result of adler32() zero length data */ 462 # define UPDATE(check, buf, len) \ argument 463 (state->flags ? crc32(check, buf, len) : adler32(check, buf, len)) 465 # define UPDATE(check, buf, len) adler32(check, buf, len) argument 470 # define CRC2(check, word) \ argument 474 check = crc32(check, hbuf, 2); \ 477 # define CRC4(check, word) \ argument 483 check = crc32(check, hbuf, 4); \ 679 state->check = crc32(0L, Z_NULL, 0); 680 CRC2(state->check, hold); [all …]
|