Home
last modified time | relevance | path

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

1234567891011

/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.c113 const struct addrinfo *ai; in Curl_getaddrinfo_ex() local
129 for(ai = aihead; ai != NULL; ai = ai->ai_next) { in Curl_getaddrinfo_ex()
133 if(ai->ai_family == AF_INET) in Curl_getaddrinfo_ex()
136 else if(ai->ai_family == AF_INET6) in Curl_getaddrinfo_ex()
143 if((ai->ai_addr == NULL) || !(ai->ai_addrlen > 0)) in Curl_getaddrinfo_ex()
147 if((size_t)ai->ai_addrlen < ss_size) in Curl_getaddrinfo_ex()
158 ca->ai_flags = ai->ai_flags; in Curl_getaddrinfo_ex()
159 ca->ai_family = ai->ai_family; in Curl_getaddrinfo_ex()
160 ca->ai_socktype = ai->ai_socktype; in Curl_getaddrinfo_ex()
161 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/toybox/lib/
Dnet.c19 struct addrinfo info, *ai, *ai2; in xconnect() local
28 fd = getaddrinfo(host, port, &info, &ai); in xconnect()
29 if (fd || !ai) in xconnect()
34 for (ai2 = ai; ai; ai = ai->ai_next) { in xconnect()
35 fd = (ai->ai_next ? socket : xsocket)(ai->ai_family, ai->ai_socktype, in xconnect()
36 ai->ai_protocol); in xconnect()
37 if (!connect(fd, ai->ai_addr, ai->ai_addrlen)) break; in xconnect()
/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/boringssl/src/crypto/bn/asm/
Dco-586.pl18 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
23 &comment("mul a[$ai]*b[$bi]");
46 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
51 &comment("sqr a[$ai]*a[$bi]");
57 if ($ai == $bi)
75 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
80 &comment("sqr a[$ai]*a[$bi]");
86 if ($ai == $bi)
109 local($i,$as,$ae,$bs,$be,$ai,$bi);
140 $ai=$as;
[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/lzma/CPP/7zip/UI/Common/
DUpdatePair.cpp140 const CArcItem *ai = NULL; in GetUpdatePairInfoList() local
154 ai = &arcItems[arcIndex2]; in GetUpdatePairInfoList()
158 compareResult = CompareFileNames(dirNames[dirIndex2], ai->Name); in GetUpdatePairInfoList()
161 if (di->IsDir() != ai->IsDir) in GetUpdatePairInfoList()
162 compareResult = (ai->IsDir ? 1 : -1); in GetUpdatePairInfoList()
176 name = &ai->Name; in GetUpdatePairInfoList()
177 pair.State = ai->Censored ? in GetUpdatePairInfoList()
187 ThrowError(k_Duplicate_inArc_Message, ai->Name, arcItems[arcIndices[arcIndex + dupl]].Name); in GetUpdatePairInfoList()
190 if (!ai->Censored) in GetUpdatePairInfoList()
191 ThrowError(k_NotCensoredCollision_Message, *name, ai->Name); in GetUpdatePairInfoList()
[all …]
DLoadCodecs.h191 HRESULT CreateArchiveHandler(const CArcInfoEx &ai, void **archive, bool outHandler) const in CreateArchiveHandler() argument
193 …return Libs[ai.LibIndex].CreateObject(&ai.ClassID, outHandler ? &IID_IOutArchive : &IID_IInArchive… in CreateArchiveHandler()
253 const CArcInfoEx &ai = Formats[formatIndex]; in CreateInArchive() local
255 if (ai.LibIndex < 0) in CreateInArchive()
259 archive = ai.CreateInArchive(); in CreateInArchive()
264 return CreateArchiveHandler(ai, (void **)&archive, false); in CreateInArchive()
272 const CArcInfoEx &ai = Formats[formatIndex]; in CreateOutArchive() local
274 if (ai.LibIndex < 0) in CreateOutArchive()
278 archive = ai.CreateOutArchive(); in CreateOutArchive()
283 return CreateArchiveHandler(ai, (void **)&archive, true); in CreateOutArchive()
DOpenArchive.cpp788 const CArcInfoEx &ai = codecs->Formats[index]; in MakeCheckOrder() local
789 if (ai.SignatureOffset != 0) in MakeCheckOrder()
796 const CObjectVector<CByteBuffer> &sigs = ai.Signatures; in MakeCheckOrder()
848 static bool IsPreArcFormat(const CArcInfoEx &ai) in IsPreArcFormat() argument
850 if (ai.Flags_PreArc()) in IsPreArcFormat()
852 return IsNameFromList(ai.Name, k_PreArcFormats, ARRAY_SIZE(k_PreArcFormats)); in IsPreArcFormat()
869 static bool IsNewStyleSignature(const CArcInfoEx &ai) in IsNewStyleSignature() argument
872 if (ai.NewInterface) in IsNewStyleSignature()
874 …return IsNameFromList(ai.Name, k_Formats_with_simple_signuature, ARRAY_SIZE(k_Formats_with_simple_… in IsNewStyleSignature()
1065 const CArcInfoEx &ai = op.codecs->Formats[formatIndex]; in PrepareToOpen() local
[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/libpcap/Win32/Src/
Dgetaddrinfo.c218 #define GET_AI(ai, afd, addr) \ argument
221 (ai) = get_ai(pai, (afd), (addr)); \
222 if ((ai) == NULL) { \
228 #define GET_PORT(ai, serv) \ argument
231 error = get_port((ai), (serv), 0); \
236 #define GET_CANONNAME(ai, str) \ argument
239 error = get_canonname(pai, (ai), (str)); \
268 freeaddrinfo(ai) in freeaddrinfo() argument
269 struct addrinfo *ai; in freeaddrinfo()
274 next = ai->ai_next;
[all …]
/external/eigen/test/
Dsparse.h74 int ai(i), aj(j);
76 std::swap(ai,aj);
83 if ((flags & MakeLowerTriangular) && aj>ai)
85 else if ((flags & MakeUpperTriangular) && aj<ai)
96 nonzeroCoords->push_back(Matrix<Index,2,1> (ai,aj));
100 zeroCoords->push_back(Matrix<Index,2,1> (ai,aj));
102 refMat(ai,aj) = v;
124 int ai(i), aj(j);
126 std::swap(ai,aj);
133 if ((flags & MakeLowerTriangular) && aj>ai)
[all …]
/external/libvorbis/lib/
Dvorbisenc.c1027 struct ovectl_ratemanage_arg *ai= in vorbis_encode_ctl() local
1030 ai->management_active=hi->managed; in vorbis_encode_ctl()
1031 ai->bitrate_hard_window=ai->bitrate_av_window= in vorbis_encode_ctl()
1033 ai->bitrate_av_window_center=1.; in vorbis_encode_ctl()
1034 ai->bitrate_hard_min=hi->bitrate_min; in vorbis_encode_ctl()
1035 ai->bitrate_hard_max=hi->bitrate_max; in vorbis_encode_ctl()
1036 ai->bitrate_av_lo=hi->bitrate_av; in vorbis_encode_ctl()
1037 ai->bitrate_av_hi=hi->bitrate_av; in vorbis_encode_ctl()
1045 struct ovectl_ratemanage_arg *ai= in vorbis_encode_ctl() local
1047 if(ai==NULL){ in vorbis_encode_ctl()
[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()
171 if (ret != ai) M_ASN1_ENUMERATED_free(ret); 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) BN_set_negative(ret,1); 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.c241 int32_t ai = 0; in rleStringToUCharArray() local
269 target[ai++] = c; in rleStringToUCharArray()
275 target[ai++] = runValue; in rleStringToUCharArray()
280 target[ai++] = c; in rleStringToUCharArray()
284 if (ai != length){ in rleStringToUCharArray()
303 int32_t ai=0; in rleStringToByteArray() local
325 for (; ai<tgtLen; ) { in rleStringToByteArray()
354 target[ai++] = b; in rleStringToByteArray()
362 target[ai++] = ESCAPE_BYTE; in rleStringToByteArray()
377 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()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DCollectionUtilities.java266 Iterator ai = aa.iterator(); in containsSome() local
268 Comparable ao = (Comparable) ai.next(); // these are ok, since the sizes are != 0 in containsSome()
273 if (!ai.hasNext()) return false; in containsSome()
274 ao = (Comparable) ai.next(); in containsSome()
283 Iterator ai = aa.iterator(); in containsSome() local
285 Object ao = ai.next(); // these are ok, since the sizes are != 0 in containsSome()
290 if (!ai.hasNext()) return false; in containsSome()
291 ao = ai.next(); in containsSome()
319 Iterator ai = aa.iterator(); in containsAll() local
321 Comparable ao = (Comparable) ai.next(); // these are ok, since the sizes are != 0 in containsAll()
[all …]

1234567891011