/prebuilts/ndk/6/platforms/android-9/arch-x86/usr/include/asm/ |
msr.h | 30 #define rdmsrl(msr,val) do { unsigned long a__,b__; __asm__ __volatile__("rdmsr" : "=a" (a__), "=d" (b__) : "c" (msr)); val = a__ | (b__<<32); } while(0) 34 #define wrmsrl(msr,val) wrmsr(msr,(__u32)((__u64)(val)),((__u64)(val))>>32) 42 #define rdtscll(val) do { unsigned int __a,__d; __asm__ __volatile__("rdtsc" : "=a" (__a), "=d" (__d)); (val) = ((unsigned long)__a) | (((unsigned long)__d)<<32); } while(0) 44 #define rdtscpll(val, aux) do { unsigned long __a, __d; __asm__ __volatile__ (".byte 0x0f,0x01,0xf9" : "=a" (__a), "=d" (__d), "=c" (aux)); (val) = (__d << 32) | __a; } while (0) 48 #define write_rdtscp_aux(val) wrmsr(0xc0000103, val, 0 [all...] |
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/asm/ |
msr.h | 30 #define rdmsrl(msr,val) do { unsigned long a__,b__; __asm__ __volatile__("rdmsr" : "=a" (a__), "=d" (b__) : "c" (msr)); val = a__ | (b__<<32); } while(0) 34 #define wrmsrl(msr,val) wrmsr(msr,(__u32)((__u64)(val)),((__u64)(val))>>32) 42 #define rdtscll(val) do { unsigned int __a,__d; __asm__ __volatile__("rdtsc" : "=a" (__a), "=d" (__d)); (val) = ((unsigned long)__a) | (((unsigned long)__d)<<32); } while(0) 44 #define rdtscpll(val, aux) do { unsigned long __a, __d; __asm__ __volatile__ (".byte 0x0f,0x01,0xf9" : "=a" (__a), "=d" (__d), "=c" (aux)); (val) = (__d << 32) | __a; } while (0) 48 #define write_rdtscp_aux(val) wrmsr(0xc0000103, val, 0 [all...] |
/prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/asm/ |
msr.h | 30 #define rdmsrl(msr,val) do { unsigned long a__,b__; __asm__ __volatile__("rdmsr" : "=a" (a__), "=d" (b__) : "c" (msr)); val = a__ | (b__<<32); } while(0) 34 #define wrmsrl(msr,val) wrmsr(msr,(__u32)((__u64)(val)),((__u64)(val))>>32) 42 #define rdtscll(val) do { unsigned int __a,__d; __asm__ __volatile__("rdtsc" : "=a" (__a), "=d" (__d)); (val) = ((unsigned long)__a) | (((unsigned long)__d)<<32); } while(0) 44 #define rdtscpll(val, aux) do { unsigned long __a, __d; __asm__ __volatile__ (".byte 0x0f,0x01,0xf9" : "=a" (__a), "=d" (__d), "=c" (aux)); (val) = (__d << 32) | __a; } while (0) 48 #define write_rdtscp_aux(val) wrmsr(0xc0000103, val, 0 [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
bytebuffer.h | 64 bool ReadUInt8(uint8* val); 65 bool ReadUInt16(uint16* val); 66 bool ReadUInt24(uint32* val); 67 bool ReadUInt32(uint32* val); 68 bool ReadUInt64(uint64* val); 69 bool ReadBytes(char* val, size_t len); 71 // Appends next |len| bytes from the buffer to |val|. Returns false 73 bool ReadString(std::string* val, size_t len); 77 void WriteUInt8(uint8 val); 78 void WriteUInt16(uint16 val); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/server/ |
radeon_macros.h | 48 # define MMIO_OUT8(base, offset, val) \ 49 *(volatile unsigned char *)(((unsigned char*)(base)) + (offset)) = (val) 50 # define MMIO_OUT32(base, offset, val) \ 51 *(volatile unsigned int *)(void *)(((unsigned char*)(base)) + (offset)) = CPU_TO_LE32(val) 57 #define OUTREG8(addr, val) MMIO_OUT8(RADEONMMIO, addr, val) 58 #define OUTREG(addr, val) MMIO_OUT32(RADEONMMIO, addr, val) 63 #define OUTREGP(addr, val, mask) \ 67 tmp |= (val); \ [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/server/ |
radeon_macros.h | 48 # define MMIO_OUT8(base, offset, val) \ 49 *(volatile unsigned char *)(((unsigned char*)(base)) + (offset)) = (val) 50 # define MMIO_OUT32(base, offset, val) \ 51 *(volatile unsigned int *)(void *)(((unsigned char*)(base)) + (offset)) = CPU_TO_LE32(val) 57 #define OUTREG8(addr, val) MMIO_OUT8(RADEONMMIO, addr, val) 58 #define OUTREG(addr, val) MMIO_OUT32(RADEONMMIO, addr, val) 63 #define OUTREGP(addr, val, mask) \ 67 tmp |= (val); \ [all...] |
/external/kernel-headers/original/asm-mips/ |
mipsregs.h | 575 #define write_r10k_perf_cntr(counter,val) \ 580 : "r" (val), "i" (counter)); \ 594 #define write_r10k_perf_cntl(counter,val) \ 599 : "r" (val), "i" (counter)); \ 678 #define __write_ulong_c0_register(reg, sel, val) \ 681 __write_32bit_c0_register(reg, sel, val); \ 683 __write_64bit_c0_register(reg, sel, val); \ 737 #define __write_64bit_c0_split(source, sel, val) \ 751 : : "r" (val)); \ 761 : : "r" (val)); \ [all...] |
/external/chromium_org/content/renderer/ |
v8_value_converter_impl.cc | 95 void V8ValueConverterImpl::SetDateAllowed(bool val) { 96 date_allowed_ = val; 99 void V8ValueConverterImpl::SetRegExpAllowed(bool val) { 100 reg_exp_allowed_ = val; 103 void V8ValueConverterImpl::SetFunctionAllowed(bool val) { 104 function_allowed_ = val; 107 void V8ValueConverterImpl::SetStripNullFromObjects(bool val) { 108 strip_null_from_objects_ = val; 123 v8::Handle<v8::Value> val, 128 return FromV8ValueImpl(val, &state, context->GetIsolate()) 140 bool val = false; local 146 int val = 0; local 152 double val = 0.0; local 158 std::string val; local [all...] |
/bionic/libc/kernel/arch-mips/asm/ |
mipsregs.h | 475 #define write_r10k_perf_cntr(counter,val) do { __asm__ __volatile__( "mtpc\t%0, %1" : : "r" (val), "i" (counter)); } while (0) 477 #define write_r10k_perf_cntl(counter,val) do { __asm__ __volatile__( "mtps\t%0, %1" : : "r" (val), "i" (counter)); } while (0) 485 #define __write_ulong_c0_register(reg, sel, val) do { if (sizeof(unsigned long) == 4) __write_32bit_c0_register(reg, sel, val); else __write_64bit_c0_register(reg, sel, val); } while (0) 490 #define __write_64bit_c0_split(source, sel, val) do { unsigned long __flags; local_irq_save(__flags); if (sel == 0) __asm__ __volatile__( ".set\tmips64\n\t" "dsll\t%L0, %L0, 32\n\t" "dsrl\t%L0, %L0, 32\n\t" "dsll\t%M0, %M0, 32\n\t" "or\t%L0, %L0, %M0\n\t" "dmtc0\t%L0, " #source "\n\t" ".set\tmips0" : : "r" (val)); else __asm__ __volatile__( ".set\tmips64\n\t" "dsll\t%L0, %L0, 32\n\t" "dsrl\t%L0, %L0, 32\n\t" "dsll\t%M0, %M0, 32\n\t" "or\t%L0, %L0, %M0\n\t" "dmtc0\t%L0, " #source ", " #sel "\n\t" ".set\tmips0" : : "r" (val)); local_irq_restore(__flags); } while (0 [all...] |
/development/ndk/platforms/android-9/arch-mips/include/asm/ |
mipsregs.h | 475 #define write_r10k_perf_cntr(counter,val) do { __asm__ __volatile__( "mtpc\t%0, %1" : : "r" (val), "i" (counter)); } while (0) 477 #define write_r10k_perf_cntl(counter,val) do { __asm__ __volatile__( "mtps\t%0, %1" : : "r" (val), "i" (counter)); } while (0) 485 #define __write_ulong_c0_register(reg, sel, val) do { if (sizeof(unsigned long) == 4) __write_32bit_c0_register(reg, sel, val); else __write_64bit_c0_register(reg, sel, val); } while (0) 490 #define __write_64bit_c0_split(source, sel, val) do { unsigned long __flags; local_irq_save(__flags); if (sel == 0) __asm__ __volatile__( ".set\tmips64\n\t" "dsll\t%L0, %L0, 32\n\t" "dsrl\t%L0, %L0, 32\n\t" "dsll\t%M0, %M0, 32\n\t" "or\t%L0, %L0, %M0\n\t" "dmtc0\t%L0, " #source "\n\t" ".set\tmips0" : : "r" (val)); else __asm__ __volatile__( ".set\tmips64\n\t" "dsll\t%L0, %L0, 32\n\t" "dsrl\t%L0, %L0, 32\n\t" "dsll\t%M0, %M0, 32\n\t" "or\t%L0, %L0, %M0\n\t" "dmtc0\t%L0, " #source ", " #sel "\n\t" ".set\tmips0" : : "r" (val)); local_irq_restore(__flags); } while (0 [all...] |
/prebuilts/ndk/8/platforms/android-14/arch-mips/usr/include/asm/ |
mipsregs.h | 475 #define write_r10k_perf_cntr(counter,val) do { __asm__ __volatile__( "mtpc\t%0, %1" : : "r" (val), "i" (counter)); } while (0) 477 #define write_r10k_perf_cntl(counter,val) do { __asm__ __volatile__( "mtps\t%0, %1" : : "r" (val), "i" (counter)); } while (0) 485 #define __write_ulong_c0_register(reg, sel, val) do { if (sizeof(unsigned long) == 4) __write_32bit_c0_register(reg, sel, val); else __write_64bit_c0_register(reg, sel, val); } while (0) 490 #define __write_64bit_c0_split(source, sel, val) do { unsigned long __flags; local_irq_save(__flags); if (sel == 0) __asm__ __volatile__( ".set\tmips64\n\t" "dsll\t%L0, %L0, 32\n\t" "dsrl\t%L0, %L0, 32\n\t" "dsll\t%M0, %M0, 32\n\t" "or\t%L0, %L0, %M0\n\t" "dmtc0\t%L0, " #source "\n\t" ".set\tmips0" : : "r" (val)); else __asm__ __volatile__( ".set\tmips64\n\t" "dsll\t%L0, %L0, 32\n\t" "dsrl\t%L0, %L0, 32\n\t" "dsll\t%M0, %M0, 32\n\t" "or\t%L0, %L0, %M0\n\t" "dmtc0\t%L0, " #source ", " #sel "\n\t" ".set\tmips0" : : "r" (val)); local_irq_restore(__flags); } while (0 [all...] |
/prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/asm/ |
mipsregs.h | 475 #define write_r10k_perf_cntr(counter,val) do { __asm__ __volatile__( "mtpc\t%0, %1" : : "r" (val), "i" (counter)); } while (0) 477 #define write_r10k_perf_cntl(counter,val) do { __asm__ __volatile__( "mtps\t%0, %1" : : "r" (val), "i" (counter)); } while (0) 485 #define __write_ulong_c0_register(reg, sel, val) do { if (sizeof(unsigned long) == 4) __write_32bit_c0_register(reg, sel, val); else __write_64bit_c0_register(reg, sel, val); } while (0) 490 #define __write_64bit_c0_split(source, sel, val) do { unsigned long __flags; local_irq_save(__flags); if (sel == 0) __asm__ __volatile__( ".set\tmips64\n\t" "dsll\t%L0, %L0, 32\n\t" "dsrl\t%L0, %L0, 32\n\t" "dsll\t%M0, %M0, 32\n\t" "or\t%L0, %L0, %M0\n\t" "dmtc0\t%L0, " #source "\n\t" ".set\tmips0" : : "r" (val)); else __asm__ __volatile__( ".set\tmips64\n\t" "dsll\t%L0, %L0, 32\n\t" "dsrl\t%L0, %L0, 32\n\t" "dsll\t%M0, %M0, 32\n\t" "or\t%L0, %L0, %M0\n\t" "dmtc0\t%L0, " #source ", " #sel "\n\t" ".set\tmips0" : : "r" (val)); local_irq_restore(__flags); } while (0 [all...] |
/prebuilts/ndk/9/platforms/android-14/arch-mips/usr/include/asm/ |
mipsregs.h | 475 #define write_r10k_perf_cntr(counter,val) do { __asm__ __volatile__( "mtpc\t%0, %1" : : "r" (val), "i" (counter)); } while (0) 477 #define write_r10k_perf_cntl(counter,val) do { __asm__ __volatile__( "mtps\t%0, %1" : : "r" (val), "i" (counter)); } while (0) 485 #define __write_ulong_c0_register(reg, sel, val) do { if (sizeof(unsigned long) == 4) __write_32bit_c0_register(reg, sel, val); else __write_64bit_c0_register(reg, sel, val); } while (0) 490 #define __write_64bit_c0_split(source, sel, val) do { unsigned long __flags; local_irq_save(__flags); if (sel == 0) __asm__ __volatile__( ".set\tmips64\n\t" "dsll\t%L0, %L0, 32\n\t" "dsrl\t%L0, %L0, 32\n\t" "dsll\t%M0, %M0, 32\n\t" "or\t%L0, %L0, %M0\n\t" "dmtc0\t%L0, " #source "\n\t" ".set\tmips0" : : "r" (val)); else __asm__ __volatile__( ".set\tmips64\n\t" "dsll\t%L0, %L0, 32\n\t" "dsrl\t%L0, %L0, 32\n\t" "dsll\t%M0, %M0, 32\n\t" "or\t%L0, %L0, %M0\n\t" "dmtc0\t%L0, " #source ", " #sel "\n\t" ".set\tmips0" : : "r" (val)); local_irq_restore(__flags); } while (0 [all...] |
/prebuilts/ndk/9/platforms/android-18/arch-mips/usr/include/asm/ |
mipsregs.h | 475 #define write_r10k_perf_cntr(counter,val) do { __asm__ __volatile__( "mtpc\t%0, %1" : : "r" (val), "i" (counter)); } while (0) 477 #define write_r10k_perf_cntl(counter,val) do { __asm__ __volatile__( "mtps\t%0, %1" : : "r" (val), "i" (counter)); } while (0) 485 #define __write_ulong_c0_register(reg, sel, val) do { if (sizeof(unsigned long) == 4) __write_32bit_c0_register(reg, sel, val); else __write_64bit_c0_register(reg, sel, val); } while (0) 490 #define __write_64bit_c0_split(source, sel, val) do { unsigned long __flags; local_irq_save(__flags); if (sel == 0) __asm__ __volatile__( ".set\tmips64\n\t" "dsll\t%L0, %L0, 32\n\t" "dsrl\t%L0, %L0, 32\n\t" "dsll\t%M0, %M0, 32\n\t" "or\t%L0, %L0, %M0\n\t" "dmtc0\t%L0, " #source "\n\t" ".set\tmips0" : : "r" (val)); else __asm__ __volatile__( ".set\tmips64\n\t" "dsll\t%L0, %L0, 32\n\t" "dsrl\t%L0, %L0, 32\n\t" "dsll\t%M0, %M0, 32\n\t" "or\t%L0, %L0, %M0\n\t" "dmtc0\t%L0, " #source ", " #sel "\n\t" ".set\tmips0" : : "r" (val)); local_irq_restore(__flags); } while (0 [all...] |
/prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/asm/ |
mipsregs.h | 475 #define write_r10k_perf_cntr(counter,val) do { __asm__ __volatile__( "mtpc\t%0, %1" : : "r" (val), "i" (counter)); } while (0) 477 #define write_r10k_perf_cntl(counter,val) do { __asm__ __volatile__( "mtps\t%0, %1" : : "r" (val), "i" (counter)); } while (0) 485 #define __write_ulong_c0_register(reg, sel, val) do { if (sizeof(unsigned long) == 4) __write_32bit_c0_register(reg, sel, val); else __write_64bit_c0_register(reg, sel, val); } while (0) 490 #define __write_64bit_c0_split(source, sel, val) do { unsigned long __flags; local_irq_save(__flags); if (sel == 0) __asm__ __volatile__( ".set\tmips64\n\t" "dsll\t%L0, %L0, 32\n\t" "dsrl\t%L0, %L0, 32\n\t" "dsll\t%M0, %M0, 32\n\t" "or\t%L0, %L0, %M0\n\t" "dmtc0\t%L0, " #source "\n\t" ".set\tmips0" : : "r" (val)); else __asm__ __volatile__( ".set\tmips64\n\t" "dsll\t%L0, %L0, 32\n\t" "dsrl\t%L0, %L0, 32\n\t" "dsll\t%M0, %M0, 32\n\t" "or\t%L0, %L0, %M0\n\t" "dmtc0\t%L0, " #source ", " #sel "\n\t" ".set\tmips0" : : "r" (val)); local_irq_restore(__flags); } while (0 [all...] |
/external/chromium_org/third_party/mesa/src/src/egl/main/ |
eglimage.c | 58 EGLint val = attrib_list[i]; local 63 attrs->ImagePreserved = val; 68 attrs->GLTextureLevel = val; 71 attrs->GLTextureZOffset = val; 76 attrs->Width = val; 79 attrs->Height = val; 82 attrs->DRMBufferFormatMESA = val; 85 attrs->DRMBufferUseMESA = val; 88 attrs->DRMBufferStrideMESA = val; 93 attrs->PlaneWL = val; [all...] |
/external/mesa3d/src/egl/main/ |
eglimage.c | 58 EGLint val = attrib_list[i]; local 63 attrs->ImagePreserved = val; 68 attrs->GLTextureLevel = val; 71 attrs->GLTextureZOffset = val; 76 attrs->Width = val; 79 attrs->Height = val; 82 attrs->DRMBufferFormatMESA = val; 85 attrs->DRMBufferUseMESA = val; 88 attrs->DRMBufferStrideMESA = val; 93 attrs->PlaneWL = val; [all...] |
/hardware/ti/wlan/mac80211/ti-utils/ |
ini.c | 120 #define COMPARE_N_ADD(temp, str, val, ptr, size) \ 125 *p = strtol(val, NULL, 16); \ 127 val += 3; p++; \ 133 #define DBG_COMPARE_N_ADD(temp, str, val, ptr, size) \ 138 *p = strtol(val, NULL, 16); \ 140 val += 3; p++; \ 153 #define COMPARE_N_ADD2(temp, str, val, ptr, size) \ 158 *p = strtol(val, NULL, 16); \ 160 val += 5; p++; \ 166 #define DBG_COMPARE_N_ADD2(temp, str, val, ptr, size) 189 char *name, *val; local 243 char *name, *val; local 310 char *name, *val; local 335 char *name, *val; local 355 char *name, *val; local 380 char *name, *val; local 400 char *name, *val; local 461 char *name, *val; local 530 char *name, *val; local 591 char *name, *val; local 660 char *name, *val; local 717 char *name, *val; local 782 char *name, *val; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/sqlite3/ |
dbapi2.py | 56 def adapt_date(val): 57 return val.isoformat() 59 def adapt_datetime(val): 60 return val.isoformat(" ") 62 def convert_date(val): 63 return datetime.date(*map(int, val.split("-"))) 65 def convert_timestamp(val): 66 datepart, timepart = val.split(" ") 75 val = datetime.datetime(year, month, day, hours, minutes, seconds, microseconds) 76 return val [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/ |
dbapi2.py | 56 def adapt_date(val): 57 return val.isoformat() 59 def adapt_datetime(val): 60 return val.isoformat(" ") 62 def convert_date(val): 63 return datetime.date(*map(int, val.split("-"))) 65 def convert_timestamp(val): 66 datepart, timepart = val.split(" ") 75 val = datetime.datetime(year, month, day, hours, minutes, seconds, microseconds) 76 return val [all...] |
/bionic/libc/kernel/arch-x86/asm/ |
pda.h | 59 #define pda_to_op(op,field,val) do { typedef typeof(_proxy_pda.field) T__; if (0) { T__ tmp__; tmp__ = (val); } switch (sizeof(_proxy_pda.field)) { case 2: asm(op "w %1,%%gs:%c2" : "+m" (_proxy_pda.field) : "ri" ((T__)val), "i"(pda_offset(field))); break; case 4: asm(op "l %1,%%gs:%c2" : "+m" (_proxy_pda.field) : "ri" ((T__)val), "i" (pda_offset(field))); break; case 8: asm(op "q %1,%%gs:%c2": "+m" (_proxy_pda.field) : "ri" ((T__)val), "i"(pda_offset(field))); break; default: __bad_pda_field(); } } while (0) 62 #define write_pda(field,val) pda_to_op("mov",field,val) 64 #define add_pda(field,val) pda_to_op("add",field,val) 65 #define sub_pda(field,val) pda_to_op("sub",field,val [all...] |
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
pda.h | 59 #define pda_to_op(op,field,val) do { typedef typeof(_proxy_pda.field) T__; if (0) { T__ tmp__; tmp__ = (val); } switch (sizeof(_proxy_pda.field)) { case 2: asm(op "w %1,%%gs:%c2" : "+m" (_proxy_pda.field) : "ri" ((T__)val), "i"(pda_offset(field))); break; case 4: asm(op "l %1,%%gs:%c2" : "+m" (_proxy_pda.field) : "ri" ((T__)val), "i" (pda_offset(field))); break; case 8: asm(op "q %1,%%gs:%c2": "+m" (_proxy_pda.field) : "ri" ((T__)val), "i"(pda_offset(field))); break; default: __bad_pda_field(); } } while (0) 62 #define write_pda(field,val) pda_to_op("mov",field,val) 64 #define add_pda(field,val) pda_to_op("add",field,val) 65 #define sub_pda(field,val) pda_to_op("sub",field,val [all...] |
/external/flac/libFLAC/include/private/ |
bitwriter.h | 82 FLAC__bool FLAC__bitwriter_write_raw_uint32(FLAC__BitWriter *bw, FLAC__uint32 val, unsigned bits); 83 FLAC__bool FLAC__bitwriter_write_raw_int32(FLAC__BitWriter *bw, FLAC__int32 val, unsigned bits); 84 FLAC__bool FLAC__bitwriter_write_raw_uint64(FLAC__BitWriter *bw, FLAC__uint64 val, unsigned bits); 85 FLAC__bool FLAC__bitwriter_write_raw_uint32_little_endian(FLAC__BitWriter *bw, FLAC__uint32 val); /*only for bits=32*/ 87 FLAC__bool FLAC__bitwriter_write_unary_unsigned(FLAC__BitWriter *bw, unsigned val); 88 unsigned FLAC__bitwriter_rice_bits(FLAC__int32 val, unsigned parameter); 90 unsigned FLAC__bitwriter_golomb_bits_signed(int val, unsigned parameter); 91 unsigned FLAC__bitwriter_golomb_bits_unsigned(unsigned val, unsigned parameter); 93 FLAC__bool FLAC__bitwriter_write_rice_signed(FLAC__BitWriter *bw, FLAC__int32 val, unsigned parameter); 96 FLAC__bool FLAC__bitwriter_write_golomb_signed(FLAC__BitWriter *bw, int val, unsigned parameter) [all...] |
/external/kernel-headers/original/asm-x86/ |
pda.h | 60 #define pda_to_op(op,field,val) do { \ 62 if (0) { T__ tmp__; tmp__ = (val); } /* type checking */ \ 67 "ri" ((T__)val), \ 73 "ri" ((T__)val), \ 79 "ri" ((T__)val), \ 114 #define write_pda(field,val) pda_to_op("mov",field,val) 115 #define add_pda(field,val) pda_to_op("add",field,val) 116 #define sub_pda(field,val) pda_to_op("sub",field,val [all...] |
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/asm/ |
pda.h | 49 #define pda_to_op(op,field,val) do { typedef typeof(_proxy_pda.field) T__; if (0) { T__ tmp__; tmp__ = (val); } switch (sizeof(_proxy_pda.field)) { case 2: asm(op "w %1,%%gs:%c2" : "+m" (_proxy_pda.field) : "ri" ((T__)val), "i"(pda_offset(field))); break; case 4: asm(op "l %1,%%gs:%c2" : "+m" (_proxy_pda.field) : "ri" ((T__)val), "i" (pda_offset(field))); break; case 8: asm(op "q %1,%%gs:%c2": "+m" (_proxy_pda.field) : "ri" ((T__)val), "i"(pda_offset(field))); break; default: __bad_pda_field(); } } while (0) 54 #define write_pda(field,val) pda_to_op("mov",field,val) 55 #define add_pda(field,val) pda_to_op("add",field,val) 56 #define sub_pda(field,val) pda_to_op("sub",field,val [all...] |