Home
last modified time | relevance | path

Searched refs:typ (Results 1 – 25 of 117) sorted by relevance

12345

/external/libvpx/libvpx/vpx_ports/
Dmem.h19 #define DECLARE_ALIGNED(n,typ,val) typ val __attribute__ ((aligned (n))) argument
21 #define DECLARE_ALIGNED(n,typ,val) __declspec(align(n)) typ val argument
24 #define DECLARE_ALIGNED(n,typ,val) typ val argument
34 #define DECLARE_ALIGNED_ARRAY(a,typ,val,n)\ argument
35 typ val##_[(n)+(a)/sizeof(typ)+1];\
36 typ *val = (typ*)((((intptr_t)val##_)+(a)-1)&((intptr_t)-(a)))
Dmem_ops.h52 #define mem_ops_wrap_symbol2(fn,typ) mem_ops_wrap_symbol3(fn,typ) argument
54 #define mem_ops_wrap_symbol3(fn,typ) fn##_as_##typ argument
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_ports/
Dmem.h19 #define DECLARE_ALIGNED(n,typ,val) typ val __attribute__ ((aligned (n))) argument
21 #define DECLARE_ALIGNED(n,typ,val) __declspec(align(n)) typ val argument
24 #define DECLARE_ALIGNED(n,typ,val) typ val argument
33 #define DECLARE_ALIGNED_ARRAY(a,typ,val,n)\ argument
34 typ val##_[(n)+(a)/sizeof(typ)+1];\
35 typ *val = (typ*)((((intptr_t)val##_)+(a)-1)&((intptr_t)-(a)))
/external/compiler-rt/lib/tsan/rtl/
Dtsan_suppressions.cc95 SuppressionType conv(ReportType typ) { in conv() argument
96 if (typ == ReportTypeRace) in conv()
98 else if (typ == ReportTypeVptrRace) in conv()
100 else if (typ == ReportTypeUseAfterFree) in conv()
102 else if (typ == ReportTypeThreadLeak) in conv()
104 else if (typ == ReportTypeMutexDestroyLocked) in conv()
106 else if (typ == ReportTypeMutexDoubleLock) in conv()
108 else if (typ == ReportTypeMutexBadUnlock) in conv()
110 else if (typ == ReportTypeMutexBadReadLock) in conv()
112 else if (typ == ReportTypeMutexBadReadUnlock) in conv()
[all …]
Dtsan_report.cc66 static const char *ReportTypeString(ReportType typ) { in ReportTypeString() argument
67 if (typ == ReportTypeRace) in ReportTypeString()
69 if (typ == ReportTypeVptrRace) in ReportTypeString()
71 if (typ == ReportTypeUseAfterFree) in ReportTypeString()
73 if (typ == ReportTypeThreadLeak) in ReportTypeString()
75 if (typ == ReportTypeMutexDestroyLocked) in ReportTypeString()
77 if (typ == ReportTypeMutexDoubleLock) in ReportTypeString()
79 if (typ == ReportTypeMutexBadUnlock) in ReportTypeString()
81 if (typ == ReportTypeMutexBadReadLock) in ReportTypeString()
83 if (typ == ReportTypeMutexBadReadUnlock) in ReportTypeString()
[all …]
Dtsan_rtl_report.cc150 ScopedReport::ScopedReport(ReportType typ) { in ScopedReport() argument
154 rep_->typ = typ; in ScopedReport()
425 EventType typ = (EventType)(ev >> 61); in RestoreStack() local
427 DPrintf2(" %zu typ=%d pc=%zx\n", i, typ, pc); in RestoreStack()
428 if (typ == EventTypeMop) { in RestoreStack()
430 } else if (typ == EventTypeFuncEnter) { in RestoreStack()
432 } else if (typ == EventTypeFuncExit) { in RestoreStack()
437 if (typ == EventTypeLock) { in RestoreStack()
439 } else if (typ == EventTypeUnlock) { in RestoreStack()
441 } else if (typ == EventTypeRLock) { in RestoreStack()
[all …]
Dtsan_suppressions.h23 uptr IsSuppressed(ReportType typ, const ReportStack *stack, Suppression **sp);
24 uptr IsSuppressed(ReportType typ, const ReportLocation *loc, Suppression **sp);
/external/chromium_org/tools/usb_gadget/
Dhid_descriptors.py18 def _PackItem(tag, typ, value=0, force_length=0): argument
34 return struct.pack('<B', tag << 4 | typ << 2 | 0)
36 return struct.pack('<BB', tag << 4 | typ << 2 | 1, value)
38 return struct.pack('<BH', tag << 4 | typ << 2 | 2, value)
40 return struct.pack('<BI', tag << 4 | typ << 2 | 3, value)
45 def _DefineItem(name, tag, typ): argument
57 assert typ >= 0 and typ <= 3
60 return _PackItem(tag, typ, value, force_length)
122 def Collection(typ, *items): argument
123 start = struct.pack('<BB', 0xA1, typ)
Dgadget.py111 typ = request_type & usb_constants.Type.MASK
113 if typ == usb_constants.Type.STANDARD:
116 elif typ == usb_constants.Type.CLASS:
119 elif typ == usb_constants.Type.VENDOR:
137 typ = request_type & usb_constants.Type.MASK
139 if typ == usb_constants.Type.STANDARD:
142 elif typ == usb_constants.Type.CLASS:
145 elif typ == usb_constants.Type.VENDOR:
211 def GetDescriptor(self, recipient, typ, index, lang, length): argument
227 if typ == usb_constants.DescriptorType.STRING:
/external/chromium_org/third_party/libvpx/source/libvpx/vpx/
Dvpx_codec.h393 # define VPX_CTRL_USE_TYPE(id, typ) argument
394 # define VPX_CTRL_USE_TYPE_DEPRECATED(id, typ) argument
395 # define VPX_CTRL_VOID(id, typ) argument
422 # define VPX_CTRL_USE_TYPE(id, typ) \ argument
424 vpx_codec_control_##id(vpx_codec_ctx_t*, int, typ) UNUSED;\
427 vpx_codec_control_##id(vpx_codec_ctx_t *ctx, int ctrl_id, typ data) {\
442 # define VPX_CTRL_USE_TYPE_DEPRECATED(id, typ) \ argument
444 vpx_codec_control_##id(vpx_codec_ctx_t*, int, typ) DEPRECATED UNUSED;\
447 vpx_codec_control_##id(vpx_codec_ctx_t *ctx, int ctrl_id, typ data) {\
/external/libvpx/libvpx/vpx/
Dvpx_codec.h384 # define VPX_CTRL_USE_TYPE(id, typ) argument
385 # define VPX_CTRL_USE_TYPE_DEPRECATED(id, typ) argument
386 # define VPX_CTRL_VOID(id, typ) argument
413 # define VPX_CTRL_USE_TYPE(id, typ) \ argument
415 vpx_codec_control_##id(vpx_codec_ctx_t*, int, typ) UNUSED;\
418 vpx_codec_control_##id(vpx_codec_ctx_t *ctx, int ctrl_id, typ data) {\
433 # define VPX_CTRL_USE_TYPE_DEPRECATED(id, typ) \ argument
435 vpx_codec_control_##id(vpx_codec_ctx_t*, int, typ) DEPRECATED UNUSED;\
438 vpx_codec_control_##id(vpx_codec_ctx_t *ctx, int ctrl_id, typ data) {\
/external/libvpx/libvpx/vpx/internal/
Dvpx_codec_internal.h404 #define VPX_CTRL_USE_TYPE(id, typ) \ argument
405 static typ id##__value(va_list args) {return va_arg(args, typ);} \
406 static typ id##__convert(void *x)\
411 typ d;\
419 #define VPX_CTRL_USE_TYPE_DEPRECATED(id, typ) \ argument
420 static typ id##__value(va_list args) {return va_arg(args, typ);} \
421 static typ id##__convert(void *x)\
426 typ d;\
/external/srec/srec/include/
Dduk_args.h79 int typ; member
87 #define SET_ARG_ENTRY(A,W,X,Y,Z) ((A)->typ=(W), (A)->flag=(X), (A)->name.a_string=(Y), (A)->max_arg…
88 #define SET_ARRAY_ARG_ENTRY(A,W,X,Y,N,Z) ((A)->typ=((W)|A_ARRAY), (A)->flag=(X), (A)->name.a_string…
93 unsigned long *valueLen, int typ);
94 …ent(arg_info *avlist, int avc, char *key, char *value, int valueLen, int *bytes_required, int typ);
/external/mdnsresponder/Clients/
Ddns-sd.c984 …const char *nam, const char *typ, const char *dom, const char *host, const char *port, int argc, c… in RegisterService() argument
995 printf("Registering Service %s.%s%s%s", nam[0] ? nam : "<<Default>>", typ, dom[0] ? "." : "", dom); in RegisterService()
1021 …return(DNSServiceRegister(sdref, flags, opinterface, nam, typ, dom, host, registerPort.NotAnIntege… in RegisterService()
1025 static char *gettype(char *buffer, char *typ) in gettype() argument
1027 if (!typ || !*typ || (typ[0] == '.' && typ[1] == 0)) typ = "_http._tcp"; in gettype()
1028 if (!strchr(typ, '.')) { snprintf(buffer, TypeBufferSize, "%s._tcp", typ); typ = buffer; } in gettype()
1029 return(typ); in gettype()
1035 char buffer[TypeBufferSize], *typ, *dom; in main() local
1120 case 'B': typ = (argc < opi+1) ? "" : argv[opi+0]; in main()
1122 typ = gettype(buffer, typ); in main()
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/vpx/internal/
Dvpx_codec_internal.h365 #define VPX_CTRL_USE_TYPE(id, typ) \ argument
366 static VPX_INLINE typ id##__value(va_list args) {return va_arg(args, typ);}
369 #define VPX_CTRL_USE_TYPE_DEPRECATED(id, typ) \ argument
370 static VPX_INLINE typ id##__value(va_list args) {return va_arg(args, typ);}
/external/chromium_org/third_party/usrsctp/usrsctplib/
Duser_ip6_var.h107 #define IP6_EXTHDR_GET(val, typ, m, off, len) \ argument
112 (val) = (typ)(mtod((m), caddr_t) + (off)); \
118 (val) = (typ)(mtod(t, caddr_t) + tmp); \
120 (val) = (typ)NULL; \
/external/openfst/src/include/fst/
Dfloat-weight.h286 DivideType typ = DIVIDE_ANY) {
300 DivideType typ = DIVIDE_ANY) {
301 return Divide<float>(w1, w2, typ);
306 DivideType typ = DIVIDE_ANY) {
307 return Divide<double>(w1, w2, typ);
421 DivideType typ = DIVIDE_ANY) {
435 DivideType typ = DIVIDE_ANY) {
436 return Divide<float>(w1, w2, typ);
441 DivideType typ = DIVIDE_ANY) {
442 return Divide<double>(w1, w2, typ);
[all …]
/external/chromium_org/third_party/boringssl/src/ssl/test/runner/
Ddtls.go67 typ := recordType(b.data[0])
95 return typ, b, nil
98 func (c *Conn) dtlsWriteRecord(typ recordType, data []byte) (n int, err error) {
108 if typ == recordTypeHandshake {
135 if typ == recordTypeHandshake {
174 b.data[0] = byte(typ)
215 if typ == recordTypeHandshake {
219 if typ == recordTypeChangeCipherSpec {
Dconn.go592 typ := recordType(b.data[0])
598 if want == recordTypeHandshake && typ == 0x80 {
622 if (typ != recordTypeAlert && typ != want) || vers >= 0x1000 || n >= 0x3000 {
644 return typ, b, nil
671 typ, b, err := c.doReadRecord(want)
682 switch typ {
707 if typ != want || len(data) != 1 || data[0] != 1 {
717 if typ != want {
726 if typ != want {
776 func (c *Conn) writeRecord(typ recordType, data []byte) (n int, err error) {
[all …]
/external/qemu/audio/
Dcoreaudio.c138 const char *typ, in coreaudio_logerr2() argument
145 AUD_log (AUDIO_CAP, "Could not initialize %s\n", typ); in coreaudio_logerr2()
294 const char* typ = input ? "input" : "playback"; in coreaudio_voice_init() local
322 coreaudio_logerr2 (status, typ, in coreaudio_voice_init()
323 "Could not get default %s device\n", typ); in coreaudio_voice_init()
327 dolog ("Could not initialize %s - Unknown Audiodevice\n", typ); in coreaudio_voice_init()
341 coreaudio_logerr2 (status, typ, in coreaudio_voice_init()
369 coreaudio_logerr2 (status, typ, in coreaudio_voice_init()
385 coreaudio_logerr2 (status, typ, in coreaudio_voice_init()
401 coreaudio_logerr2 (status, typ, in coreaudio_voice_init()
[all …]
Dossaudio.c105 const char *typ, in oss_logerr2() argument
112 AUD_log (AUDIO_CAP, "Could not initialize %s\n", typ); in oss_logerr2()
244 static int oss_get_version (int fd, int *version, const char *typ) in oss_get_version() argument
261 oss_logerr2 (errno, typ, "Failed to get OSS version\n"); in oss_get_version()
277 const char *typ = in ? "ADC" : "DAC"; in oss_open() local
284 oss_logerr2 (errno, typ, "Failed to open `%s'\n", dspname); in oss_open()
293 oss_logerr2 (errno, typ, "Failed to set sample size %d\n", req->fmt); in oss_open()
298 oss_logerr2 (errno, typ, "Failed to set number of channels %d\n", in oss_open()
304 oss_logerr2 (errno, typ, "Failed to set frequency %d\n", req->freq); in oss_open()
309 oss_logerr2 (errno, typ, "Failed to set non-blocking mode\n"); in oss_open()
[all …]
Dalsaaudio.c186 const char *typ, in alsa_logerr2() argument
193 AUD_log (AUDIO_CAP, "Could not initialize %s\n", typ); in alsa_logerr2()
540 const char *typ = in ? "ADC" : "DAC"; in alsa_open() local
556 alsa_logerr2 (err, typ, "Failed to open `%s':\n", pcm_name); in alsa_open()
562 alsa_logerr2 (err, typ, "Failed to initialize hardware parameters\n"); in alsa_open()
572 alsa_logerr2 (err, typ, "Failed to set access type\n"); in alsa_open()
578 alsa_logerr2 (err, typ, "Failed to set format %d\n", req->fmt); in alsa_open()
584 alsa_logerr2 (err, typ, "Failed to set frequency %d\n", req->freq); in alsa_open()
594 alsa_logerr2 (err, typ, "Failed to set number of channels %d\n", in alsa_open()
600 alsa_logerr2 (err, typ, in alsa_open()
[all …]
Ddsound_template.h188 const char *typ = "ADC"; in dsound_init_in() local
193 const char *typ = "DAC"; in dsound_init_in() local
232 dsound_logerr2 (hr, typ, "Could not create " NAME "\n"); in dsound_init_in()
238 dsound_logerr2 (hr, typ, "Could not get " NAME " format\n"); in dsound_init_in()
252 dsound_logerr2 (hr, typ, "Could not get " NAME " format\n"); in dsound_init_in()
/external/openssl/crypto/asn1/
Dtasn_new.c327 ASN1_TYPE *typ; in ASN1_primitive_new() local
357 typ = OPENSSL_malloc(sizeof(ASN1_TYPE)); in ASN1_primitive_new()
358 if (!typ) in ASN1_primitive_new()
360 typ->value.ptr = NULL; in ASN1_primitive_new()
361 typ->type = -1; in ASN1_primitive_new()
362 *pval = (ASN1_VALUE *)typ; in ASN1_primitive_new()
/external/chromium_org/third_party/boringssl/src/crypto/asn1/
Dtasn_new.c325 ASN1_TYPE *typ; in ASN1_primitive_new() local
355 typ = OPENSSL_malloc(sizeof(ASN1_TYPE)); in ASN1_primitive_new()
356 if (!typ) in ASN1_primitive_new()
358 typ->value.ptr = NULL; in ASN1_primitive_new()
359 typ->type = -1; in ASN1_primitive_new()
360 *pval = (ASN1_VALUE *)typ; in ASN1_primitive_new()

12345