Home
last modified time | relevance | path

Searched refs:ext (Results 1 – 25 of 502) sorted by relevance

12345678910>>...21

/external/ipsec-tools/src/libipsec/
Dkey_debug.c82 static void kdebug_sadb_x_policy __P((struct sadb_ext *ext));
86 static void kdebug_sadb_x_nat_t_type __P((struct sadb_ext *ext));
87 static void kdebug_sadb_x_nat_t_port __P((struct sadb_ext *ext));
110 struct sadb_ext *ext; local
125 ext = (void *)((caddr_t)(void *)base + sizeof(struct sadb_msg));
129 ext->sadb_ext_len, ext->sadb_ext_type);
131 if (ext->sadb_ext_len == 0) {
135 if (ext->sadb_ext_len > tlen) {
140 switch (ext->sadb_ext_type) {
142 kdebug_sadb_sa(ext);
[all …]
/external/bison/src/
Dfiles.c143 compute_exts_from_gf (const char *ext) in compute_exts_from_gf() argument
145 if (strcmp (ext, ".y") == 0) in compute_exts_from_gf()
152 src_extension = xstrdup (ext); in compute_exts_from_gf()
153 header_extension = xstrdup (ext); in compute_exts_from_gf()
163 compute_exts_from_src (const char *ext) in compute_exts_from_src() argument
168 src_extension = xstrdup (ext); in compute_exts_from_src()
169 header_extension = xstrdup (ext); in compute_exts_from_src()
205 const char **base, const char **tab, const char **ext) in file_name_split() argument
210 *ext = mbsrchr (*base, '.'); in file_name_split()
215 if (*ext) in file_name_split()
[all …]
/external/openssl/crypto/x509v3/
Dv3_lib.c71 static void ext_list_free(X509V3_EXT_METHOD *ext);
73 int X509V3_EXT_add(X509V3_EXT_METHOD *ext) in X509V3_EXT_add() argument
79 if(!sk_X509V3_EXT_METHOD_push(ext_list, ext)) { in X509V3_EXT_add()
93 ext);
95 const X509V3_EXT_METHOD *, ext);
112 const X509V3_EXT_METHOD *X509V3_EXT_get(X509_EXTENSION *ext) in X509V3_EXT_get() argument
115 if((nid = OBJ_obj2nid(ext->object)) == NID_undef) return NULL; in X509V3_EXT_get()
129 const X509V3_EXT_METHOD *ext; in X509V3_EXT_add_alias() local
132 if(!(ext = X509V3_EXT_get_nid(nid_from))) { in X509V3_EXT_add_alias()
140 *tmpext = *ext; in X509V3_EXT_add_alias()
[all …]
Dv3_prn.c67 static int unknown_ext_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent, int sup…
108 int X509V3_EXT_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent) in X509V3_EXT_print() argument
117 if(!(method = X509V3_EXT_get(ext))) in X509V3_EXT_print()
118 return unknown_ext_print(out, ext, flag, indent, 0); in X509V3_EXT_print()
119 p = ext->value->data; in X509V3_EXT_print()
120 if(method->it) ext_str = ASN1_item_d2i(NULL, &p, ext->value->length, ASN1_ITEM_ptr(method->it)); in X509V3_EXT_print()
121 else ext_str = method->d2i(NULL, &p, ext->value->length); in X509V3_EXT_print()
123 if(!ext_str) return unknown_ext_print(out, ext, flag, indent, 1); in X509V3_EXT_print()
198 static int unknown_ext_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent, int sup… in unknown_ext_print() argument
214 ext->value->data, ext->value->length, indent, -1); in unknown_ext_print()
[all …]
Dv3conf.c77 X509_EXTENSION *ext; in main() local
117 ext = X509_get_ext(cert, i); in main()
118 printf("%s", OBJ_nid2ln(OBJ_obj2nid(ext->object))); in main()
119 if(ext->critical) printf(",critical:\n"); in main()
121 X509V3_EXT_print_fp(stdout, ext, 0, 0); in main()
/external/tcpdump/
Dprint-isakmp.c418 isakmp_sa_print(const struct isakmp_gen *ext, in isakmp_sa_print() argument
432 p = (struct isakmp_pl_sa *)ext; in isakmp_sa_print()
434 safememcpy(&sa, ext, sizeof(sa)); in isakmp_sa_print()
458 np = (u_char *)ext + sizeof(sa); in isakmp_sa_print()
460 TCHECK2(*(ext + 1), sizeof(ident)); in isakmp_sa_print()
461 safememcpy(&ident, ext + 1, sizeof(ident)); in isakmp_sa_print()
466 ext = (struct isakmp_gen *)np; in isakmp_sa_print()
467 TCHECK(*ext); in isakmp_sa_print()
469 cp = isakmp_sub_print(ISAKMP_NPTYPE_P, ext, ep, phase, doi, proto0, in isakmp_sa_print()
479 isakmp_p_print(const struct isakmp_gen *ext, u_int item_len _U_, in isakmp_p_print() argument
[all …]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
DUVProjectionGenerator.java33 float[] ext = new float[] { bb.getXExtent() * 2.0f, bb.getYExtent() * 2.0f }; in flatProjection() local
37 uvCoordinates[j] = (positions.get(i) - min.x) / ext[0]; in flatProjection()
38 uvCoordinates[j + 1] = (positions.get(i + 1) - min.y) / ext[1]; in flatProjection()
59 …float[] ext = new float[] { bb.getXExtent() * 2.0f, bb.getYExtent() * 2.0f, bb.getZExtent() * 2.0f… in cubeProjection() local
71 uvCoordinates[pointIndex++] = (triangle.get1().y - min.y) / ext[1]; in cubeProjection()
72 uvCoordinates[pointIndex++] = (triangle.get1().z - min.z) / ext[2]; in cubeProjection()
73 uvCoordinates[pointIndex++] = (triangle.get2().y - min.y) / ext[1]; in cubeProjection()
74 uvCoordinates[pointIndex++] = (triangle.get2().z - min.z) / ext[2]; in cubeProjection()
75 uvCoordinates[pointIndex++] = (triangle.get3().y - min.y) / ext[1]; in cubeProjection()
76 uvCoordinates[pointIndex++] = (triangle.get3().z - min.z) / ext[2]; in cubeProjection()
[all …]
/external/skia/src/gpu/gl/
DGrGLInterface.cpp134 const char* ext; in validate() local
136 ext = (const char*)fGetString(GR_GL_EXTENSIONS); in validate()
164 GrGLHasExtensionFromString("GL_ARB_draw_buffers", ext)) { in validate()
171 GrGLHasExtensionFromString("GL_ARB_occlusion_query", ext)) { in validate()
183 GrGLHasExtensionFromString("GL_ARB_timer_query", ext) || in validate()
184 GrGLHasExtensionFromString("GL_EXT_timer_query", ext)) { in validate()
191 GrGLHasExtensionFromString("GL_ARB_timer_query", ext)) { in validate()
205 if (false && GrGLHasExtensionFromString("GL_NV_path_rendering", ext)) { in validate()
263 GrGLHasExtensionFromString("GL_ARB_texture_compression", ext))) { in validate()
282 GrGLHasExtensionFromString("GL_ARB_texture_storage", ext) || in validate()
[all …]
/external/chromium/net/base/
Dplatform_mime_util_win.cc15 const FilePath::StringType& ext, std::string* result) const { in GetPlatformMimeTypeFromExtension() argument
18 std::wstring value, key = L"." + ext; in GetPlatformMimeTypeFromExtension()
29 const std::string& mime_type, FilePath::StringType* ext) const { in GetPreferredExtensionForMimeType()
32 L"Extension", ext) != ERROR_SUCCESS) { in GetPreferredExtensionForMimeType()
36 if (!ext->empty() && ext->at(0) == L'.') in GetPreferredExtensionForMimeType()
37 ext->erase(ext->begin()); in GetPreferredExtensionForMimeType()
Dplatform_mime_util_linux.cc14 const FilePath::StringType& ext, std::string* result) const { in GetPlatformMimeTypeFromExtension() argument
19 if (ext == "pl") in GetPlatformMimeTypeFromExtension()
22 FilePath dummy_path("foo." + ext); in GetPlatformMimeTypeFromExtension()
44 const char* ext; member
62 const std::string& mime_type, FilePath::StringType* ext) const { in GetPreferredExtensionForMimeType()
68 *ext = mime_type_ext_map[x].ext; in GetPreferredExtensionForMimeType()
Dplatform_mime_util_android.cc14 const FilePath::StringType& ext, std::string* result) const { in GetPlatformMimeTypeFromExtension() argument
15 return MimeUtils::GuessMimeTypeFromExtension(ext, result); in GetPlatformMimeTypeFromExtension()
19 const std::string& mime_type, FilePath::StringType* ext) const { in GetPreferredExtensionForMimeType()
20 return MimeUtils::GuessExtensionFromMimeType(mime_type, ext); in GetPreferredExtensionForMimeType()
/external/webkit/Source/WebCore/platform/chromium/
DMIMETypeRegistryChromium.cpp46 String MIMETypeRegistry::getMIMETypeForExtensionThreadSafe(const String &ext) in getMIMETypeForExtensionThreadSafe() argument
48 return PlatformBridge::mimeTypeForExtension(ext); in getMIMETypeForExtensionThreadSafe()
56 String MIMETypeRegistry::getMIMETypeForExtension(const String &ext) in getMIMETypeForExtension() argument
58 return PlatformBridge::mimeTypeForExtension(ext); in getMIMETypeForExtension()
69 String ext = PlatformBridge::preferredExtensionForMIMEType(type); in getPreferredExtensionForMIMEType() local
70 if (!ext.isEmpty() && ext[0] == '.') in getPreferredExtensionForMIMEType()
71 ext = ext.substring(1); in getPreferredExtensionForMIMEType()
73 return ext; in getPreferredExtensionForMIMEType()
/external/oprofile/libabi/
Dopimport.cpp114 extractor ext(abi, src, len); in import_from_abi() local
119 ext.extract(head->version, src, "sizeof_u32", "offsetof_header_version"); in import_from_abi()
120 ext.extract(head->cpu_type, src, "sizeof_u32", "offsetof_header_cpu_type"); in import_from_abi()
121 ext.extract(head->ctr_event, src, "sizeof_u32", "offsetof_header_ctr_event"); in import_from_abi()
122 ext.extract(head->ctr_um, src, "sizeof_u32", "offsetof_header_ctr_um"); in import_from_abi()
123 ext.extract(head->ctr_count, src, "sizeof_u32", "offsetof_header_ctr_count"); in import_from_abi()
124 ext.extract(head->is_kernel, src, "sizeof_u32", "offsetof_header_is_kernel"); in import_from_abi()
127 ext.extract(head->mtime, src, "sizeof_time_t", "offsetof_header_mtime"); in import_from_abi()
128 ext.extract(head->cg_to_is_kernel, src, "sizeof_u32", in import_from_abi()
130 ext.extract(head->anon_start, src, "sizeof_u32", in import_from_abi()
[all …]
/external/openssl/crypto/bn/
Dbn_mpi.c67 int ext=0; in BN_bn2mpi() local
74 ext=((bits & 0x07) == 0); in BN_bn2mpi()
77 return(num+4+ext); in BN_bn2mpi()
79 l=num+ext; in BN_bn2mpi()
84 if (ext) d[4]=0; in BN_bn2mpi()
85 num=BN_bn2bin(a,&(d[4+ext])); in BN_bn2mpi()
88 return(num+4+ext); in BN_bn2mpi()
/external/expat/conftools/
DPrintPath57 ext=".exe"
66 ext="" # No default extensions
95 if [ $test_exec_flag $path/${program}${ext} ] && \
96 [ ! -d $path/${program}${ext} ]; then
98 echo $path/${program}${ext}
104 if [ "x$ext" != "x" ]; then
/external/oprofile/events/x86-64/family10/
Devents177 event:0xf000 ext:ibs_fetch um:zero minimum:50000 name:IBS_FETCH_ALL : All IBS fetch samples
178 event:0xf001 ext:ibs_fetch um:zero minimum:50000 name:IBS_FETCH_KILLED : IBS fetch killed
179 event:0xf002 ext:ibs_fetch um:zero minimum:50000 name:IBS_FETCH_ATTEMPTED : IBS fetch attempted
180 event:0xf003 ext:ibs_fetch um:zero minimum:50000 name:IBS_FETCH_COMPLETED : IBS fetch completed
181 event:0xf004 ext:ibs_fetch um:zero minimum:50000 name:IBS_FETCH_ABORTED : IBS fetch aborted
182 event:0xf005 ext:ibs_fetch um:zero minimum:50000 name:IBS_FETCH_ITLB_HITS : IBS ITLB hit
183 event:0xf006 ext:ibs_fetch um:zero minimum:50000 name:IBS_FETCH_L1_ITLB_MISSES_L2_ITLB_HITS : IBS L…
184 event:0xf007 ext:ibs_fetch um:zero minimum:50000 name:IBS_FETCH_L1_ITLB_MISSES_L2_ITLB_MISSES : IBS…
185 event:0xf008 ext:ibs_fetch um:zero minimum:50000 name:IBS_FETCH_ICACHE_MISSES : IBS Instruction cac…
186 event:0xf009 ext:ibs_fetch um:zero minimum:50000 name:IBS_FETCH_ICACHE_HITS : IBS Instruction cache…
[all …]
/external/opencv/otherlibs/highgui/
Dgrfmt_imageio.cpp246 const char* ext = filename; in FilenameToUTI() local
249 const char* temp = strchr( ext + 1, '.' ); in FilenameToUTI()
251 ext = temp; in FilenameToUTI()
256 if( !strcmp(ext, ".bmp") || !strcmp(ext, ".dib") ) in FilenameToUTI()
258 else if( !strcmp(ext, ".exr") ) in FilenameToUTI()
260 else if( !strcmp(ext, ".jpeg") || !strcmp(ext, ".jpg") || !strcmp(ext, ".jpe") ) in FilenameToUTI()
262 else if( !strcmp(ext, ".jp2") ) in FilenameToUTI()
264 else if( !strcmp(ext, ".pdf") ) in FilenameToUTI()
266 else if( !strcmp(ext, ".png") ) in FilenameToUTI()
268 else if( !strcmp(ext, ".tiff") || !strcmp(ext, ".tif") ) in FilenameToUTI()
/external/ipsec-tools/src/include-glibc/net/
Dpfkeyv2.h60 #define PFKEY_ADDR_PREFIX(ext) \ argument
61 (((struct sadb_address *)(ext))->sadb_address_prefixlen)
62 #define PFKEY_ADDR_PROTO(ext) \ argument
63 (((struct sadb_address *)(ext))->sadb_address_proto)
64 #define PFKEY_ADDR_SADDR(ext) \ argument
65 ((struct sockaddr *)((caddr_t)(ext) + sizeof(struct sadb_address)))
/external/webkit/Tools/wx/build/
Dwxpresets.py75 ext = ''
88 ext += 'u'
92 ext += 'h'
95 ext += 'd'
98 configdir = os.path.join(libdir, 'msw' + ext)
111 return 'wxbase%s%s' % (version_str_nodot, ext)
113 return "wxmsw%s%s_%s" % (version_str_nodot, ext, name)
117 libs.extend(["wxmsw%s%s" % (version_str_nodot, ext)])
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DX509CRLEntryObject.java92 Extension ext = getExtension(Extension.certificateIssuer); in loadCertificateIssuer() local
93 if (ext == null) in loadCertificateIssuer()
100 GeneralName[] names = GeneralNames.getInstance(ext.getParsedValue()).getNames(); in loadCertificateIssuer()
144 Extension ext = extensions.getExtension(oid); in getExtensionOIDs() local
146 if (critical == ext.isCritical()) in getExtensionOIDs()
182 Extension ext = getExtension(new ASN1ObjectIdentifier(oid)); in getExtensionValue() local
184 if (ext != null) in getExtensionValue()
188 return ext.getExtnValue().getEncoded(); in getExtensionValue()
263 Extension ext = extensions.getExtension(oid); in toString() local
264 if (ext.getExtnValue() != null) in toString()
[all …]
/external/webkit/Source/WebCore/platform/win/
DMIMETypeRegistryWin.cpp39 String ext = "." + extension; in mimeTypeForExtension() local
44 …HRESULT result = SHGetValue(HKEY_CLASSES_ROOT, ext.charactersWithNullTermination(), L"Content Type… in mimeTypeForExtension()
67 String MIMETypeRegistry::getMIMETypeForExtension(const String &ext) in getMIMETypeForExtension() argument
71 if (ext.isEmpty()) in getMIMETypeForExtension()
101 String result = mimetypeMap.get(ext); in getMIMETypeForExtension()
103 result = mimeTypeForExtension(ext); in getMIMETypeForExtension()
105 mimetypeMap.add(ext, result); in getMIMETypeForExtension()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DExtensions.java99 Extension ext = extensions[i]; in Extensions() local
101 this.ordering.addElement(ext.getExtnId()); in Extensions()
102 this.extensions.put(ext.getExtnId(), ext); in Extensions() local
134 Extension ext = this.getExtension(oid); in getExtensionParsedValue() local
136 if (ext != null) in getExtensionParsedValue()
138 return ext.getParsedValue(); in getExtensionParsedValue()
162 Extension ext = (Extension)extensions.get(oid); in toASN1Primitive() local
167 if (ext.isCritical()) in toASN1Primitive()
172 v.add(ext.getExtnValue()); in toASN1Primitive()
/external/webkit/Source/WebCore/platform/wince/
DMIMETypeRegistryWinCE.cpp40 String ext = "." + extension; in mimeTypeForExtension() local
47 …if (ERROR_SUCCESS != RegOpenKeyEx(HKEY_CLASSES_ROOT, ext.charactersWithNullTermination(), 0, 0, &k… in mimeTypeForExtension()
122 String MIMETypeRegistry::getMIMETypeForExtension(const String &ext) in getMIMETypeForExtension() argument
126 if (ext.isEmpty()) in getMIMETypeForExtension()
131 String result = mimetypeMap.get(ext.lower()); in getMIMETypeForExtension()
133 result = mimeTypeForExtension(ext); in getMIMETypeForExtension()
135 mimetypeMap.add(ext, result); in getMIMETypeForExtension()
/external/icu4c/tools/toolutil/
Ducm.c272 ucm_moveMappings(UCMTable *base, UCMTable *ext) { in ucm_moveMappings() argument
285 if(ext!=NULL && (flag&UCM_MOVE_TO_EXT)) { in ucm_moveMappings()
287 ucm_addMapping(ext, mb, UCM_GET_CODE_POINTS(base, mb), UCM_GET_BYTES(base, mb)); in ucm_moveMappings()
309 checkBaseExtUnicode(UCMStates *baseStates, UCMTable *base, UCMTable *ext, in checkBaseExtUnicode() argument
318 me=ext->mappings; in checkBaseExtUnicode()
319 meLimit=me+ext->mappingsLength; in checkBaseExtUnicode()
350 cmp=compareUnicode(base, mb, ext, me); in checkBaseExtUnicode()
364 … 0==uprv_memcmp(UCM_GET_CODE_POINTS(base, mb), UCM_GET_CODE_POINTS(ext, me), 4*mb->uLen) in checkBaseExtUnicode()
375 ucm_printMapping(ext, me, stderr); in checkBaseExtUnicode()
387 0==uprv_memcmp(UCM_GET_BYTES(base, mb), UCM_GET_BYTES(ext, me), mb->bLen) in checkBaseExtUnicode()
[all …]
/external/smack/src/org/jivesoftware/smackx/pubsub/
DPubSubManager.java273 private Packet sendPubsubPacket(Type type, PacketExtension ext, PubSubNamespace ns) in sendPubsubPacket() argument
276 return sendPubsubPacket(con, to, type, ext, ns); in sendPubsubPacket()
279 private Packet sendPubsubPacket(Type type, PacketExtension ext) in sendPubsubPacket() argument
282 return sendPubsubPacket(type, ext, null); in sendPubsubPacket()
285 static PubSub createPubsubPacket(String to, Type type, PacketExtension ext) in createPubsubPacket() argument
287 return createPubsubPacket(to, type, ext, null); in createPubsubPacket()
290 static PubSub createPubsubPacket(String to, Type type, PacketExtension ext, PubSubNamespace ns) in createPubsubPacket() argument
300 request.addExtension(ext); in createPubsubPacket()
305 static Packet sendPubsubPacket(Connection con, String to, Type type, PacketExtension ext) in sendPubsubPacket() argument
308 return sendPubsubPacket(con, to, type, ext, null); in sendPubsubPacket()
[all …]

12345678910>>...21