Home
last modified time | relevance | path

Searched refs:ai (Results 1 – 25 of 296) sorted by relevance

12345678910>>...12

/external/python/cpython2/Lib/test/
Dtest_codeop.py126 ai = self.assertIncomplete
128 ai("(a **")
129 ai("(a,b,")
130 ai("(a,b,(")
131 ai("(a,b,(")
132 ai("a = (")
133 ai("a = {")
134 ai("b + {")
136 ai("if 9==3:\n pass\nelse:")
137 ai("if 9==3:\n pass\nelse:\n")
[all …]
/external/valgrind/coregrind/
Dm_addrinfo.c89 void VG_(describe_addr) ( Addr a, /*OUT*/AddrInfo* ai ) in VG_()
94 ai->Addr.Variable.descr1 in VG_()
97 ai->Addr.Variable.descr2 in VG_()
101 (void) VG_(get_data_description)( ai->Addr.Variable.descr1, in VG_()
102 ai->Addr.Variable.descr2, a ); in VG_()
109 if (0 == VG_(strlen)( VG_(indexXA)( ai->Addr.Variable.descr1, 0 ))) { in VG_()
110 VG_(deleteXA)( ai->Addr.Variable.descr1 ); in VG_()
111 ai->Addr.Variable.descr1 = NULL; in VG_()
113 if (0 == VG_(strlen)( VG_(indexXA)( ai->Addr.Variable.descr2, 0 ))) { in VG_()
114 VG_(deleteXA)( ai->Addr.Variable.descr2 ); in VG_()
[all …]
/external/curl/lib/
Dcurl_addrinfo.c112 const struct addrinfo *ai; in Curl_getaddrinfo_ex() local
128 for(ai = aihead; ai != NULL; ai = ai->ai_next) { in Curl_getaddrinfo_ex()
132 if(ai->ai_family == AF_INET) in Curl_getaddrinfo_ex()
135 else if(ai->ai_family == AF_INET6) in Curl_getaddrinfo_ex()
142 if((ai->ai_addr == NULL) || !(ai->ai_addrlen > 0)) in Curl_getaddrinfo_ex()
146 if((size_t)ai->ai_addrlen < ss_size) in Curl_getaddrinfo_ex()
157 ca->ai_flags = ai->ai_flags; in Curl_getaddrinfo_ex()
158 ca->ai_family = ai->ai_family; in Curl_getaddrinfo_ex()
159 ca->ai_socktype = ai->ai_socktype; in Curl_getaddrinfo_ex()
160 ca->ai_protocol = ai->ai_protocol; in Curl_getaddrinfo_ex()
[all …]
Dhostip4.c96 Curl_addrinfo *ai = NULL; in Curl_getaddrinfo() local
104 ai = Curl_ipv4_resolve_r(hostname, port); in Curl_getaddrinfo()
105 if(!ai) in Curl_getaddrinfo()
108 return ai; in Curl_getaddrinfo()
128 Curl_addrinfo *ai = NULL; local
151 (void)Curl_getaddrinfo_ex(hostname, sbufptr, &hints, &ai);
299 ai = Curl_he2ai(h, port);
305 return ai;
Dhostip6.c133 static void dump_addrinfo(struct connectdata *conn, const Curl_addrinfo *ai) in dump_addrinfo() argument
136 for(; ai; ai = ai->ai_next) { in dump_addrinfo()
140 ai->ai_family, ai->ai_canonname ? ai->ai_canonname : "<none>"); in dump_addrinfo()
141 if(Curl_printable_address(ai, buf, sizeof(buf))) in dump_addrinfo()
/external/valgrind/helgrind/
Dhg_addrdescr.c48 void HG_(describe_addr) ( Addr a, /*OUT*/AddrInfo* ai ) in HG_()
50 tl_assert(ai->tag == Addr_Undescribed); in HG_()
73 ai->tag = Addr_Block; in HG_()
74 ai->Addr.Block.block_kind = Block_Mallocd; in HG_()
75 ai->Addr.Block.block_desc = "block"; in HG_()
76 ai->Addr.Block.block_szB = hszB; in HG_()
77 ai->Addr.Block.rwoffset = (Word)(a) - (Word)(haddr); in HG_()
78 ai->Addr.Block.allocated_at = hctxt; in HG_()
79 VG_(initThreadInfo) (&ai->Addr.Block.alloc_tinfo); in HG_()
80 ai->Addr.Block.alloc_tinfo.tnr = tnr; in HG_()
[all …]
/external/openssh/openbsd-compat/
Dfake-rfc2553.c110 freeaddrinfo(struct addrinfo *ai) in freeaddrinfo() argument
114 for(; ai != NULL;) { in freeaddrinfo()
115 next = ai->ai_next; in freeaddrinfo()
116 free(ai); in freeaddrinfo()
117 ai = next; in freeaddrinfo()
126 struct addrinfo *ai; in malloc_ai() local
128 ai = malloc(sizeof(*ai) + sizeof(struct sockaddr_in)); in malloc_ai()
129 if (ai == NULL) in malloc_ai()
132 memset(ai, '\0', sizeof(*ai) + sizeof(struct sockaddr_in)); in malloc_ai()
134 ai->ai_addr = (struct sockaddr *)(ai + 1); in malloc_ai()
[all …]
/external/syslinux/core/lwip/src/api/
Dnetdb.c235 lwip_freeaddrinfo(struct addrinfo *ai) in lwip_freeaddrinfo() argument
239 while (ai != NULL) { in lwip_freeaddrinfo()
240 next = ai->ai_next; in lwip_freeaddrinfo()
241 memp_free(MEMP_NETDB, ai); in lwip_freeaddrinfo()
242 ai = next; in lwip_freeaddrinfo()
271 struct addrinfo *ai; in lwip_getaddrinfo() local
314 ai = (struct addrinfo *)memp_malloc(MEMP_NETDB); in lwip_getaddrinfo()
315 if (ai == NULL) { in lwip_getaddrinfo()
318 memset(ai, 0, total_size); in lwip_getaddrinfo()
319 sa = (struct sockaddr_in*)((u8_t*)ai + sizeof(struct addrinfo)); in lwip_getaddrinfo()
[all …]
/external/javassist/src/main/javassist/bytecode/
DClassFilePrinter.java98 AttributeInfo ai = (AttributeInfo)list.get(i); in printAttributes() local
99 if (ai instanceof CodeAttribute) { in printAttributes()
100 CodeAttribute ca = (CodeAttribute)ai; in printAttributes()
101 out.println("attribute: " + ai.getName() + ": " in printAttributes()
102 + ai.getClass().getName()); in printAttributes()
111 else if (ai instanceof AnnotationsAttribute) { in printAttributes()
112 out.println("annnotation: " + ai.toString()); in printAttributes()
114 else if (ai instanceof ParameterAnnotationsAttribute) { in printAttributes()
115 out.println("parameter annnotations: " + ai.toString()); in printAttributes()
117 else if (ai instanceof StackMapTable) { in printAttributes()
[all …]
/external/bison/
DChangeLog-19987 1997-08-25 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
13 1997-06-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
23 1997-06-18 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
30 1997-06-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
35 1997-05-24 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
39 1997-05-23 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
44 1997-05-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
53 1997-05-02 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
57 1997-04-23 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
62 1997-04-22 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
[all …]
/external/toybox/lib/
Dnet.c21 struct addrinfo info, *ai, *ai2; in xconnect() local
30 fd = getaddrinfo(host, port, &info, &ai); in xconnect()
31 if (fd || !ai) in xconnect()
36 for (ai2 = ai; ai; ai = ai->ai_next) { in xconnect()
37 fd = (ai->ai_next ? socket : xsocket)(ai->ai_family, ai->ai_socktype, in xconnect()
38 ai->ai_protocol); in xconnect()
39 if (!connect(fd, ai->ai_addr, ai->ai_addrlen)) break; in xconnect()
40 else if (!ai->ai_next) perror_exit("connect"); in xconnect()
/external/python/cpython2/Modules/
Dgetaddrinfo.c157 #define GET_CANONNAME(ai, str) \ argument
159 if (((ai)->ai_canonname = (char *)malloc(strlen(str) + 1)) != NULL) {\
160 strcpy((ai)->ai_canonname, (str));\
168 #define GET_AI(ai, gai_afd, addr, port) {\ argument
170 if (((ai) = (struct addrinfo *)malloc(sizeof(struct addrinfo) +\
173 memcpy(ai, pai, sizeof(struct addrinfo));\
174 (ai)->ai_addr = (struct sockaddr *)((ai) + 1);\
175 memset((ai)->ai_addr, 0, (gai_afd)->a_socklen);\
176 (ai)->ai_addr->sa_len = (ai)->ai_addrlen = (gai_afd)->a_socklen;\
177 (ai)->ai_addr->sa_family = (ai)->ai_family = (gai_afd)->a_af;\
[all …]
/external/boringssl/src/crypto/fipsmodule/bn/asm/
Dco-586.pl23 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
28 &comment("mul a[$ai]*b[$bi]");
51 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
56 &comment("sqr a[$ai]*a[$bi]");
62 if ($ai == $bi)
80 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
85 &comment("sqr a[$ai]*a[$bi]");
91 if ($ai == $bi)
114 local($i,$as,$ae,$bs,$be,$ai,$bi);
145 $ai=$as;
[all …]
/external/lzma/CPP/7zip/UI/Common/
DUpdatePair.cpp141 const CArcItem *ai = NULL; in GetUpdatePairInfoList() local
155 ai = &arcItems[arcIndex2]; in GetUpdatePairInfoList()
159 compareResult = CompareFileNames(dirNames[dirIndex2], ai->Name); in GetUpdatePairInfoList()
162 if (di->IsDir() != ai->IsDir) in GetUpdatePairInfoList()
163 compareResult = (ai->IsDir ? 1 : -1); in GetUpdatePairInfoList()
177 name = &ai->Name; in GetUpdatePairInfoList()
178 pair.State = ai->Censored ? in GetUpdatePairInfoList()
188 ThrowError(k_Duplicate_inArc_Message, ai->Name, arcItems[arcIndices[arcIndex + dupl]].Name); in GetUpdatePairInfoList()
191 if (!ai->Censored) in GetUpdatePairInfoList()
192 ThrowError(k_NotCensoredCollision_Message, *name, ai->Name); in GetUpdatePairInfoList()
[all …]
DOpenArchive.cpp995 const CArcInfoEx &ai = codecs->Formats[index]; in MakeCheckOrder() local
996 if (ai.SignatureOffset != 0) in MakeCheckOrder()
1003 const CObjectVector<CByteBuffer> &sigs = ai.Signatures; in MakeCheckOrder()
1055 static bool IsPreArcFormat(const CArcInfoEx &ai) in IsPreArcFormat() argument
1057 if (ai.Flags_PreArc()) in IsPreArcFormat()
1059 return IsNameFromList(ai.Name, k_PreArcFormats, ARRAY_SIZE(k_PreArcFormats)); in IsPreArcFormat()
1076 static bool IsNewStyleSignature(const CArcInfoEx &ai) in IsNewStyleSignature() argument
1079 if (ai.NewInterface) in IsNewStyleSignature()
1081 …return IsNameFromList(ai.Name, k_Formats_with_simple_signuature, ARRAY_SIZE(k_Formats_with_simple_… in IsNewStyleSignature()
1283 const CArcInfoEx &ai = op.codecs->Formats[formatIndex]; in PrepareToOpen() local
[all …]
/external/valgrind/memcheck/
Dmc_errors.c119 AddrInfo ai; member
124 AddrInfo ai; member
137 AddrInfo ai; member
146 AddrInfo ai; member
155 AddrInfo ai; member
161 AddrInfo ai; member
180 AddrInfo ai; member
514 &extra->Err.MemParam.ai, False); in MC_()
526 &extra->Err.MemParam.ai, False); in MC_()
544 VG_(pp_addrinfo_mc)(VG_(get_error_address)(err), &extra->Err.User.ai, in MC_()
[all …]
/external/curl/tests/unit/
Dunit1305.c78 static Curl_addrinfo *ai; in fake_ai() local
83 if((ai = calloc(1, sizeof(Curl_addrinfo))) == NULL) in fake_ai()
86 if((ai->ai_canonname = strdup("dummy")) == NULL) { in fake_ai()
87 free(ai); in fake_ai()
91 if((ai->ai_addr = calloc(1, ss_size)) == NULL) { in fake_ai()
92 free(ai->ai_canonname); in fake_ai()
93 free(ai); in fake_ai()
97 ai->ai_family = AF_INET; in fake_ai()
98 ai->ai_addrlen = ss_size; in fake_ai()
100 return ai; in fake_ai()
/external/eigen/test/
Dsparse.h74 Index ai(i), aj(j);
76 std::swap(ai,aj);
86 if ((flags & MakeLowerTriangular) && aj>ai)
88 else if ((flags & MakeUpperTriangular) && aj<ai)
99 nonzeroCoords->push_back(Matrix<StorageIndex,2,1> (ai,aj));
103 zeroCoords->push_back(Matrix<StorageIndex,2,1> (ai,aj));
105 refMat(ai,aj) = v;
127 int ai(i), aj(j);
129 std::swap(ai,aj);
136 if ((flags & MakeLowerTriangular) && aj>ai)
[all …]
/external/boringssl/src/crypto/asn1/
Da_enum.c139 ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(BIGNUM *bn, ASN1_ENUMERATED *ai) in BN_to_ASN1_ENUMERATED() argument
144 if (ai == NULL) in BN_to_ASN1_ENUMERATED()
147 ret = ai; in BN_to_ASN1_ENUMERATED()
170 if (ret != ai) in BN_to_ASN1_ENUMERATED()
175 BIGNUM *ASN1_ENUMERATED_to_BN(ASN1_ENUMERATED *ai, BIGNUM *bn) in ASN1_ENUMERATED_to_BN() argument
179 if ((ret = BN_bin2bn(ai->data, ai->length, bn)) == NULL) in ASN1_ENUMERATED_to_BN()
181 else if (ai->type == V_ASN1_NEG_ENUMERATED) in ASN1_ENUMERATED_to_BN()
/external/toybox/toys/pending/
Dhost.c75 struct addrinfo *ai, iplit_hints = { .ai_flags = AI_NUMERICHOST }; in host_main() local
81 if (!getaddrinfo(name, 0, &iplit_hints, &ai)) { in host_main()
85 if (ai->ai_family == AF_INET) { in host_main()
86 a = (void *)&((struct sockaddr_in *)ai->ai_addr)->sin_addr; in host_main()
89 } else if (ai->ai_family == AF_INET6) { in host_main()
90 a = (void *)&((struct sockaddr_in6 *)ai->ai_addr)->sin6_addr; in host_main()
122 if ((ret = getaddrinfo(nsname, "53", &ns_hints, &ai)) < 0) in host_main()
124 int s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in host_main()
125 if (s < 0 || connect(s, ai->ai_addr, ai->ai_addrlen) < 0) in host_main()
/external/icu/icu4c/source/tools/genrb/
Drle.c243 int32_t ai = 0; in rleStringToUCharArray() local
271 target[ai++] = c; in rleStringToUCharArray()
277 target[ai++] = runValue; in rleStringToUCharArray()
282 target[ai++] = c; in rleStringToUCharArray()
286 if (ai != length){ in rleStringToUCharArray()
305 int32_t ai=0; in rleStringToByteArray() local
327 for (; ai<tgtLen; ) { in rleStringToByteArray()
356 target[ai++] = b; in rleStringToByteArray()
364 target[ai++] = ESCAPE_BYTE; in rleStringToByteArray()
379 if(ai<tgtLen){ in rleStringToByteArray()
[all …]
/external/libvncserver/webclients/novnc/include/web-socket-js/
Dswfobject.js4ai={};ai.data=o[af].expressInstall;ai.width=ae.getAttribute("width")||"0";ai.height=ae.getAttribut… argument
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/polynomials/
DPolynomialsUtils.java242 BigFraction[] ai = generator.generate(k);
248 coefficients.add(ck.multiply(ai[0]).subtract(ckm1.multiply(ai[2])));
255 … coefficients.add(ck.multiply(ai[0]).add(ckPrev.multiply(ai[1])).subtract(ckm1.multiply(ai[2])));
261 coefficients.add(ck.multiply(ai[0]).add(ckPrev.multiply(ai[1])));
264 coefficients.add(ck.multiply(ai[1]));
/external/libevent/
Devutil.c696 struct evutil_addrinfo *ai = first; in evutil_addrinfo_append() local
697 if (!ai) in evutil_addrinfo_append()
699 while (ai->ai_next) in evutil_addrinfo_append()
700 ai = ai->ai_next; in evutil_addrinfo_append()
701 ai->ai_next = append; in evutil_addrinfo_append()
994 struct evutil_addrinfo *res=NULL, *ai; in addrinfo_from_hostent() local
1024 ai = evutil_new_addrinfo(sa, socklen, hints); in addrinfo_from_hostent()
1025 if (!ai) { in addrinfo_from_hostent()
1029 res = evutil_addrinfo_append(res, ai); in addrinfo_from_hostent()
1092 struct evutil_addrinfo *ai=NULL, *ai2=NULL; in test_for_getaddrinfo_hacks() local
[all …]
/external/compiler-rt/test/msan/
Dgetaddrinfo-positive.cc14 struct addrinfo *ai; in main() local
16 int res = getaddrinfo("localhost", NULL, NULL, &ai); in main()
17 if (ai) z = 1; // OK in main()
18 res = getaddrinfo("localhost", NULL, &hint, &ai); in main()

12345678910>>...12