Home
last modified time | relevance | path

Searched refs:cip (Results 1 – 25 of 49) sorted by relevance

12

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dmisc-misplaced-const.c5 typedef const int *cip; typedef
13 const cip i2 = 0; // const applies to both pointer and pointee. in func()
27 const cip i2, in func2()
36 const cip i2;
/external/puffin/src/
Dhuffman_table.cc95 CodeIndexPair cip; in InitHuffmanCodes() local
96 cip.code = 0; in InitHuffmanCodes()
99 cip.code <<= 1; in InitHuffmanCodes()
100 cip.code |= tmp_code & 1U; in InitHuffmanCodes()
103 cip.index = idx; in InitHuffmanCodes()
104 codeindexpairs_.push_back(cip); in InitHuffmanCodes()
122 for (const auto& cip : codeindexpairs_) { in BuildHuffmanCodes() local
125 (*hcodes)[cip.code] = cip.index | 0x8000; in BuildHuffmanCodes()
126 auto fill_bits = *max_bits - lens[cip.index]; in BuildHuffmanCodes()
128 auto location = (idx << lens[cip.index]) | cip.code; in BuildHuffmanCodes()
[all …]
/external/llvm-project/clang/test/SemaCXX/
Doverloaded-builtin-operators.cpp143 void test_with_ptrs(VolatileIntPtr vip, ConstIntPtr cip, ShortRef sr, in test_with_ptrs() argument
145 const int& cir1 = cip[sr]; in test_with_ptrs()
146 const int& cir2 = sr[cip]; in test_with_ptrs()
149 bool b1 = (vip == cip); in test_with_ptrs()
150 long p1 = vip - cip; in test_with_ptrs()
168 int const &icr2 = 17[cip]; in test_with_ptrs()
Daddress-space-conversion.cpp27 const int *cip, in test_const_cast() argument
46 (void)const_cast<int_ptr>(cip); in test_const_cast()
/external/clang/test/SemaCXX/
Doverloaded-builtin-operators.cpp129 void test_with_ptrs(VolatileIntPtr vip, ConstIntPtr cip, ShortRef sr, in test_with_ptrs() argument
131 const int& cir1 = cip[sr]; in test_with_ptrs()
132 const int& cir2 = sr[cip]; in test_with_ptrs()
135 bool b1 = (vip == cip); in test_with_ptrs()
136 long p1 = vip - cip; in test_with_ptrs()
154 int const &icr2 = 17[cip]; in test_with_ptrs()
Daddress-space-conversion.cpp27 const int *cip, in test_const_cast() argument
46 (void)const_cast<int_ptr>(cip); in test_const_cast()
/external/llvm-project/clang/test/CodeGen/
Dconditional.c23 const int* cip; in test5() local
25 cip = 0 ? vp : cip; in test5()
/external/clang/test/CodeGen/
Dconditional.c23 const int* cip; in test5() local
25 cip = 0 ? vp : cip; in test5()
/external/llvm-project/clang/test/Sema/
Dconditional-expr.c22 const int *cip; in foo() local
23 vp = (0 ? vp : cip); // expected-warning {{discards qualifiers}} in foo()
24 vp = (0 ? cip : vp); // expected-warning {{discards qualifiers}} in foo()
Dformat-strings-scanf.c175 void test_qualifiers(const int *cip, volatile int* vip, in test_qualifiers() argument
178 …scanf("%d", cip); // expected-warning{{format specifies type 'int *' but the argument has type 'co… in test_qualifiers()
179 …scanf("%n", cip); // expected-warning{{format specifies type 'int *' but the argument has type 'co… in test_qualifiers()
Dformat-strings.c647 void test_qualifiers(volatile int *vip, const int *cip, in test_qualifiers() argument
649 …printf("%n", cip); // expected-warning{{format specifies type 'int *' but the argument has type 'c… in test_qualifiers()
653 printf("%p", cip); // No warning. in test_qualifiers()
/external/clang/test/Sema/
Dconditional-expr.c22 const int *cip; in foo() local
23 vp = (0 ? vp : cip); // expected-warning {{discards qualifiers}} in foo()
24 vp = (0 ? cip : vp); // expected-warning {{discards qualifiers}} in foo()
Dformat-strings-scanf.c157 void test_qualifiers(const int *cip, volatile int* vip, in test_qualifiers() argument
160 …scanf("%d", cip); // expected-warning{{format specifies type 'int *' but the argument has type 'co… in test_qualifiers()
161 …scanf("%n", cip); // expected-warning{{format specifies type 'int *' but the argument has type 'co… in test_qualifiers()
Dformat-strings.c629 void test_qualifiers(volatile int *vip, const int *cip, in test_qualifiers() argument
631 …printf("%n", cip); // expected-warning{{format specifies type 'int *' but the argument has type 'c… in test_qualifiers()
635 printf("%p", cip); // No warning. in test_qualifiers()
/external/clang/test/SemaTemplate/
Dinstantiate-method.cpp71 void test_converts_to(ConvertsTo<int> ci, ConvertsTo<int *> cip) { in test_converts_to() argument
73 int *ip = cip; in test_converts_to()
/external/llvm-project/clang/test/SemaTemplate/
Dinstantiate-method.cpp71 void test_converts_to(ConvertsTo<int> ci, ConvertsTo<int *> cip) { in test_converts_to() argument
73 int *ip = cip; in test_converts_to()
/external/libpng/contrib/libtests/
Dmakepng.c1463 chunk_insert *cip; in make_insert() local
1465 cip = malloc(offsetof(chunk_insert,parameters) + in make_insert()
1468 if (cip == NULL) in make_insert()
1475 cip->next = NULL; in make_insert()
1476 cip->insert = insert; in make_insert()
1477 cip->nparams = nparams; in make_insert()
1479 cip->parameters[i] = list[i]; in make_insert()
1481 return cip; in make_insert()
/external/angle/third_party/vulkan-deps/glslang/src/Test/
Ddecls.frag27 const int cin8[4] = int[](21, 22, 23, 24), cip;
/external/deqp-deps/glslang/Test/
Ddecls.frag27 const int cin8[4] = int[](21, 22, 23, 24), cip;
/external/ImageMagick/coders/
DMake.com32 $call Make cip.c
154 $library/create libCoders.olb aai,art,avs,bgr,bmp,braille,clip,clipboard,cip, -
/external/ppp/pppd/
Dipv6cp.c905 u_char *cip, *next; /* Pointer to current and next CIs */ local
926 cip = p = next; /* Remember begining of CI */
1045 if (ucp != cip)
1046 BCOPY(cip, ucp, cilen); /* Move it */
Dipxcp.c996 u_char *cip, *next; /* Pointer to current and next CIs */ local
1017 cip = p = next; /* Remember begining of CI */
1249 if (ucp != cip)
1250 BCOPY(cip, ucp, cilen); /* Move it */
/external/tcpdump/win32/prj/
DGNUmakefile62 ../../print-cip.o \
/external/openscreen/third_party/abseil/src/absl/types/
Dspan_test.cc423 const int* cip = ca; in TEST() local
430 CheckType<absl::Span<const int>>(absl::MakeSpan(cip, cip + 1)); in TEST()
431 CheckType<absl::Span<const int>>(absl::MakeSpan(cip, 1)); in TEST()
/external/webrtc/third_party/abseil-cpp/absl/types/
Dspan_test.cc410 const int* cip = ca; in TEST() local
417 CheckType<absl::Span<const int>>(absl::MakeSpan(cip, cip + 1)); in TEST()
418 CheckType<absl::Span<const int>>(absl::MakeSpan(cip, 1)); in TEST()

12