Home
last modified time | relevance | path

Searched refs:constcast (Results 1 – 25 of 97) sorted by relevance

1234

/dports/security/fwbuilder/fwbuilder-5.3.7/src/cisco_lib/
H A DNamedObject.cpp235 if (Address::constcast(obj)!=NULL && Address::constcast(obj)->isAny()) in getCommandWord()
238 if (Service::constcast(obj)!=NULL && Service::constcast(obj)->isAny()) in getCommandWord()
241 if (Interface::constcast(obj)) in getCommandWord()
268 if (Interface::constcast(obj)) return ""; in createNetworkObjectCommand()
276 const AddressRange *ar = AddressRange::constcast(addr_obj); in createNetworkObjectCommand()
344 int rs = TCPUDPService::constcast(serv_obj)->getSrcRangeStart(); in createServiceObjectCommand()
345 int re = TCPUDPService::constcast(serv_obj)->getSrcRangeEnd(); in createServiceObjectCommand()
351 rs = TCPUDPService::constcast(serv_obj)->getDstRangeStart(); in createServiceObjectCommand()
352 re = TCPUDPService::constcast(serv_obj)->getDstRangeEnd(); in createServiceObjectCommand()
381 if (Address::constcast(obj)!=NULL) in getCommand()
[all …]
H A DBaseObjectGroup.cpp59 gt = BaseObjectGroup::constcast(other)->gt; in shallowDuplicate()
100 if (Address::constcast(obj)!=NULL) return NETWORK; in getObjectGroupTypeFromFWObject()
101 if (IPService::constcast(obj)!=NULL) return PROTO; in getObjectGroupTypeFromFWObject()
102 if (ICMPService::constcast(obj)!=NULL) return ICMP_TYPE; in getObjectGroupTypeFromFWObject()
103 if (TCPService::constcast(obj)!=NULL) return TCP_SERVICE; in getObjectGroupTypeFromFWObject()
104 if (UDPService::constcast(obj)!=NULL) return UDP_SERVICE; in getObjectGroupTypeFromFWObject()
/dports/security/fwbuilder/fwbuilder-5.3.7/src/libfwbuilder/src/fwcompiler/
H A DCompiler_ops.cpp200 if ( IPService::constcast(&o1)) { in operator ==()
209 if ( ICMPService::constcast(&o1)) { in operator ==()
213 if ( UDPService::constcast(&o1) ) { in operator ==()
227 if ( TCPService::constcast(&o1)) in operator ==()
373 if ((ip1=IPService::constcast(&o1))!=NULL) in checkForShadowing()
401 if ( ICMPService::constcast(&o1)) in checkForShadowing()
406 if ( TCPService::constcast(&o1) ) in checkForShadowing()
416 if ( TCPService::constcast(&o1) || UDPService::constcast(&o1) ) in checkForShadowing()
436 if ( TagService::constcast(&o1)) in checkForShadowing()
443 if ( UserService::constcast(&o1)) in checkForShadowing()
[all …]
H A DServiceRuleProcessors.cpp170 int srs = TCPUDPService::constcast(srv)->getSrcRangeStart(); in condition()
171 int sre = TCPUDPService::constcast(srv)->getSrcRangeEnd(); in condition()
184 int srs = TCPUDPService::constcast(srv)->getSrcRangeStart(); in condition()
185 int sre = TCPUDPService::constcast(srv)->getSrcRangeEnd(); in condition()
186 int drs = TCPUDPService::constcast(srv)->getDstRangeStart(); in condition()
187 int dre = TCPUDPService::constcast(srv)->getDstRangeEnd(); in condition()
219 const IPService *ip = IPService::constcast(srv); in condition()
225 const IPService *ip = IPService::constcast(srv); in condition()
231 const TCPService *s = TCPService::constcast(srv); in condition()
240 unsigned sre = TCPUDPService::constcast(srv)->getSrcRangeEnd(); in condition()
[all …]
H A DCompiler_object_match.cpp154 if ((Network::constcast(a2)!=NULL || in checkIfAddressesMatch()
155 NetworkIPv6::constcast(a2)!=NULL || in checkIfAddressesMatch()
156 Interface::constcast(a2->getParent())) && in checkIfAddressesMatch()
158 if ((Network::constcast(a1)!=NULL || in checkIfAddressesMatch()
159 NetworkIPv6::constcast(a1)!=NULL || in checkIfAddressesMatch()
160 Interface::constcast(a1->getParent())) && in checkIfAddressesMatch()
/dports/security/fwbuilder/fwbuilder-5.3.7/src/libfwbuilder/src/fwbuilder/
H A DAddress.cpp63 const Address* a_other = Address::constcast(other); in shallowDuplicate()
165 if (Address::constcast(obj)==NULL) return false; in cmp()
167 if (hasInetAddress()!=Address::constcast(obj)->hasInetAddress()) return false; in cmp()
170 return (*inet_addr_mask == *(Address::constcast(obj)->inet_addr_mask)); in cmp()
H A DManagement.cpp110 if (Management::constcast(obj)==NULL) return false; in cmp()
113 const Management *o2=Management::constcast(obj); in cmp()
247 if (PolicyInstallScript::constcast(obj)==NULL) return false; in cmp()
250 const PolicyInstallScript *o2=PolicyInstallScript::constcast(obj); in cmp()
353 if (SNMPManagement::constcast(obj)==NULL) return false; in cmp()
356 const SNMPManagement *o2=SNMPManagement::constcast(obj); in cmp()
461 if (FWBDManagement::constcast(obj)==NULL) return false; in cmp()
464 const FWBDManagement *o2=FWBDManagement::constcast(obj); in cmp()
H A DAddressRange.cpp97 if (AddressRange::constcast(obj)==NULL) return false; in cmp()
108 o2b = AddressRange::constcast(obj)->getRangeStart(); in cmp()
109 o2e = AddressRange::constcast(obj)->getRangeEnd(); in cmp()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/test/SemaCXX/cheri/
H A Ddependent-cast-crash.cpp11 int *__capability constcast(b d) { in constcast() function in b
28 (void)foo.constcast(foo); // expected-note{{requested here}} in test()
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/test/Analysis/
H A Dglobals.cpp40 int * const constcast = const_cast<int * const>((int*)sizeof(int)); variable
43 *(constcast - 1) = 0; // expected-warning{{Dereference of null pointer}} in cast1()
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/test/Analysis/
H A Dglobals.cpp40 int * const constcast = const_cast<int * const>((int*)sizeof(int)); variable
43 *(constcast - 1) = 0; // expected-warning{{Dereference of null pointer}} in cast1()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/test/Analysis/
H A Dglobals.cpp40 int * const constcast = const_cast<int * const>((int*)sizeof(int)); variable
43 *(constcast - 1) = 0; // expected-warning{{Dereference of null pointer}} in cast1()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/test/Analysis/
H A Dglobals.cpp40 int * const constcast = const_cast<int * const>((int*)sizeof(int)); variable
43 *(constcast - 1) = 0; // expected-warning{{Dereference of null pointer}} in cast1()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/Analysis/
H A Dglobals.cpp40 int * const constcast = const_cast<int * const>((int*)sizeof(int)); variable
43 *(constcast - 1) = 0; // expected-warning{{Dereference of null pointer}} in cast1()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/test/Analysis/
H A Dglobals.cpp40 int * const constcast = const_cast<int * const>((int*)sizeof(int)); variable
43 *(constcast - 1) = 0; // expected-warning{{Dereference of null pointer}} in cast1()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/Analysis/
H A Dglobals.cpp40 int * const constcast = const_cast<int * const>((int*)sizeof(int)); variable
43 *(constcast - 1) = 0; // expected-warning{{Dereference of null pointer}} in cast1()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/test/Analysis/
H A Dglobals.cpp40 int * const constcast = const_cast<int * const>((int*)sizeof(int)); variable
43 *(constcast - 1) = 0; // expected-warning{{Dereference of null pointer}} in cast1()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/test/Analysis/
H A Dglobals.cpp40 int * const constcast = const_cast<int * const>((int*)sizeof(int)); variable
43 *(constcast - 1) = 0; // expected-warning{{Dereference of null pointer}} in cast1()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/test/Analysis/
H A Dglobals.cpp40 int * const constcast = const_cast<int * const>((int*)sizeof(int)); variable
43 *(constcast - 1) = 0; // expected-warning{{Dereference of null pointer}} in cast1()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/test/Analysis/
H A Dglobals.cpp40 int * const constcast = const_cast<int * const>((int*)sizeof(int)); variable
43 *(constcast - 1) = 0; // expected-warning{{Dereference of null pointer}} in cast1()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/test/Analysis/
H A Dglobals.cpp40 int * const constcast = const_cast<int * const>((int*)sizeof(int)); variable
43 *(constcast - 1) = 0; // expected-warning{{Dereference of null pointer}} in cast1()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/test/Analysis/
H A Dglobals.cpp40 int * const constcast = const_cast<int * const>((int*)sizeof(int)); variable
43 *(constcast - 1) = 0; // expected-warning{{Dereference of null pointer}} in cast1()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/test/Analysis/
H A Dglobals.cpp40 int * const constcast = const_cast<int * const>((int*)sizeof(int)); variable
43 *(constcast - 1) = 0; // expected-warning{{Dereference of null pointer}} in cast1()
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/test/Analysis/
H A Dglobals.cpp40 int * const constcast = const_cast<int * const>((int*)sizeof(int)); variable
43 *(constcast - 1) = 0; // expected-warning{{Dereference of null pointer}} in cast1()
/dports/lang/clang-mesa/clang-13.0.1.src/test/Analysis/
H A Dglobals.cpp40 int * const constcast = const_cast<int * const>((int*)sizeof(int)); variable
43 *(constcast - 1) = 0; // expected-warning{{Dereference of null pointer}} in cast1()

1234