/external/chromium/chrome/browser/chromeos/status/ |
input_method_menu_unittest.cc | 17 InputMethodDescriptor desc("m17n:fa:isiri", // input method engine id 21 EXPECT_EQ(L"FA", InputMethodMenu::GetTextForIndicator(desc)); 24 InputMethodDescriptor desc("hangul", "Korean", "us", "ko"); 26 InputMethodMenu::GetTextForIndicator(desc)); 29 InputMethodDescriptor desc("invalid-id", "unregistered string", "us", "xx"); 31 EXPECT_EQ(L"XX", InputMethodMenu::GetTextForIndicator(desc)); 36 InputMethodDescriptor desc("xkb:us:dvorak:eng", "Dvorak", "us", "eng"); 37 EXPECT_EQ(L"DV", InputMethodMenu::GetTextForIndicator(desc)); 40 InputMethodDescriptor desc("xkb:us:colemak:eng", "Colemak", "us", "eng"); 41 EXPECT_EQ(L"CO", InputMethodMenu::GetTextForIndicator(desc)); [all...] |
/system/core/toolbox/ |
lsusb.c | 44 struct usb_device_descriptor *desc) 47 printf("\tbcdUSB: %04x\n", letoh16(desc->bcdUSB)); 48 printf("\tbDeviceClass: %02x\n", desc->bDeviceClass); 49 printf("\tbDeviceSubClass: %02x\n", desc->bDeviceSubClass); 50 printf("\tbDeviceProtocol: %02x\n", desc->bDeviceProtocol); 51 printf("\tbMaxPacketSize0: %02x\n", desc->bMaxPacketSize0); 52 printf("\tidVendor: %04x\n", letoh16(desc->idVendor)); 53 printf("\tidProduct: %04x\n", letoh16(desc->idProduct)); 54 printf("\tbcdDevice: %04x\n", letoh16(desc->bcdDevice)); 55 printf("\tiManufacturer: %s\n", get_str(dev, desc->iManufacturer)) 159 struct usb_descriptor_header *desc; local [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
WebFontDescription.cpp | 40 WebFontDescription::WebFontDescription(const FontDescription& desc, 43 family = desc.family().family(); 44 genericFamily = static_cast<GenericFamily>(desc.genericFamily()); 45 size = desc.specifiedSize(); 46 italic = desc.italic(); 47 smallCaps = desc.smallCaps(); 48 weight = static_cast<Weight>(desc.weight()); 49 smoothing = static_cast<Smoothing>(desc.fontSmoothing()); 59 FontDescription desc; local 60 desc.setFamily(fontFamily) [all...] |
/hardware/ti/wlan/wl1271/TWD/FirmwareApi/ |
public_host_int.h | 111 #define RX_DESC_GET_MEM_BLK(desc) ( (desc & 0x000000FF) >> 0 ) /* The first mem-block of the Rx packet */ 112 #define RX_DESC_GET_LENGTH(desc) ( (desc & 0x000FFF00) >> 8 ) /* The length of the packet in words */ 113 #define RX_DESC_GET_UNALIGNED(desc) ( (desc & 0x00100000) >> 20 ) /* If set, the payload is not 4 bytes aligned */ 114 #define RX_DESC_GET_PACKET_CLASS_TAG(desc) ( (desc & 0xFF000000) >> 24 ) /* Get the RX packet class tag */ 118 #define RX_DESC_SET_MEM_BLK(desc, value) ( desc = (desc & ~0x000000FF) | (value << 0 ) [all...] |
/external/chromium/chrome/common/ |
nacl_types.h | 19 inline HANDLE ToNativeHandle(const FileDescriptor& desc) { 20 return reinterpret_cast<HANDLE>(desc); 24 inline int ToNativeHandle(const FileDescriptor& desc) { 25 return desc.fd;
|
/external/llvm/test/MC/AsmParser/ |
directive_desc.s | 4 # CHECK: .desc foo,16 5 # CHECK: .desc bar,4 7 .desc foo,0x10 8 .desc bar, 1 +3
|
/external/libvpx/vpx_mem/memory_manager/ |
hmm_largest.c | 18 U(size_aau) U(largest_available)(U(descriptor) *desc) 22 if (!(desc->avl_tree_root)) 28 AUDIT_BLOCK(PTR_REC_TO_HEAD(desc->avl_tree_root)) 35 (U(avl_avl) *) & (desc->avl_tree_root), 39 if (desc->last_freed) 45 AUDIT_BLOCK(desc->last_freed) 48 lf_size = BLOCK_BAUS(desc->last_freed);
|
hmm_alloc.c | 18 void *U(alloc)(U(descriptor) *desc, U(size_aau) n) 22 if (desc->avl_tree_root) 23 AUDIT_BLOCK(PTR_REC_TO_HEAD(desc->avl_tree_root)) 26 if (desc->last_freed) 29 AUDIT_BLOCK(desc->last_freed) 32 U(into_free_collection)(desc, (head_record *)(desc->last_freed)); 34 desc->last_freed = 0; 52 (U(avl_avl) *) & (desc->avl_tree_root), (U(size_bau)) n, 58 U(alloc_from_bin)(desc, ptr_rec_ptr, (U(size_bau)) n) : 0) [all...] |
hmm_resize.c | 18 int U(resize)(U(descriptor) *desc, void *mem, U(size_aau) n) 41 if (desc->avl_tree_root) 42 AUDIT_BLOCK(PTR_REC_TO_HEAD(desc->avl_tree_root)) 52 (next_head_ptr == desc->last_freed) || 69 if (next_head_ptr == desc->last_freed) 70 desc->last_freed = 0; 72 U(out_of_free_collection)(desc, next_head_ptr); 101 if (desc->last_freed) 104 AUDIT_BLOCK(desc->last_freed) 107 U(into_free_collection)(desc, (head_record *)(desc->last_freed)) [all...] |
hmm_base.c | 18 void U(init)(U(descriptor) *desc) 20 desc->avl_tree_root = 0; 21 desc->last_freed = 0; 41 U(descriptor) *desc, 48 U(avl_insert)((U(avl_avl) *) & (desc->avl_tree_root), ptr_rec_ptr); 78 U(descriptor) *desc, 113 (U(avl_avl) *) &(desc->avl_tree_root), BLOCK_BAUS(head_ptr)); 140 desc->last_freed = rem_head_ptr; 150 U(descriptor) *desc, 168 U(avl_subst)((U(avl_avl) *) &(desc->avl_tree_root), next) [all...] |
/external/bluetooth/bluez/src/ |
log.c | 74 static gboolean is_enabled(struct btd_debug_desc *desc) 82 if (desc->file != NULL && g_pattern_match_simple(enabled[i], 83 desc->file) == TRUE) 91 struct btd_debug_desc *desc; local 93 for (desc = __start___debug; desc < __stop___debug; desc++) 94 desc->flags |= BTD_DEBUG_FLAG_PRINT; 100 struct btd_debug_desc *desc; local 105 for (desc = __start___debug; desc < __stop___debug; desc++ [all...] |
/bionic/libc/bionic/ |
malloc_debug_qemu.c | 162 MallocDesc* desc; member in struct:MallocDescQuery 232 const MallocDesc* desc); 320 * desc - MallocDesc instance to dump. 323 #define log_mdesc(type, desc, frmt, ...) \ 333 (desc)); \ 367 * desc - Allocation descriptor. 372 mallocdesc_user_ptr(const MallocDesc* desc) 374 return (char*)desc->ptr + desc->prefix_size; 380 * desc - Allocation descriptor 711 MallocDesc desc; local 748 MallocDesc desc; local 793 MallocDesc desc; local 976 MallocDesc desc; local [all...] |
/external/qemu/android/protocol/ |
core-connection.h | 55 * desc Descriptor to free. Note that this routine will simply free the memory 58 void core_connection_free(CoreConnection* desc); 62 * desc Console client descriptor. Note that if the descriptor has been already 68 int core_connection_open(CoreConnection* desc); 72 * desc Console client descriptor opened with core_connection_open. 74 void core_connection_close(CoreConnection* desc); 79 * desc Console client descriptor opened with core_connection_open. 87 int core_connection_write(CoreConnection* desc, 95 * desc Console client descriptor opened with core_connection_open. 103 int core_connection_read(CoreConnection* desc, [all...] |
core-connection.c | 145 CoreConnection* desc; local 146 ANEW0(desc); 147 desc->console_address = console_address[0]; 148 desc->ssocket = NULL; 149 desc->stream_name = NULL; 151 return desc; 155 core_connection_free(CoreConnection* desc) 157 if (desc == NULL) { 160 if (desc->ssocket != NULL) { 161 syncsocket_free(desc->ssocket) [all...] |
/external/linux-tools-perf/bench/ |
mem-memcpy-arch.h | 4 #define MEMCPY_FN(fn, name, desc) \
|
/external/skia/src/gpu/gl/ |
GrGLRenderTarget.cpp | 18 void GrGLRenderTarget::init(const Desc& desc, 21 fRTFBOID = desc.fRTFBOID; 22 fTexFBOID = desc.fTexFBOID; 23 fMSColorRenderbufferID = desc.fMSColorRenderbufferID; 25 fOwnIDs = desc.fOwnIDs; 31 const Desc& desc, 39 desc.fConfig, 40 desc.fSampleCnt) [all...] |
/external/skia/tests/ |
Test.h | 45 void assertTrue(bool cond, const char desc[]) { 47 this->report(desc, kFailed); 50 void assertFalse(bool cond, const char desc[]) { 52 this->report(desc, kFailed); 55 void reportFailed(const char desc[]) { 56 this->report(desc, kFailed); 58 void reportFailed(const SkString& desc) { 59 this->report(desc.c_str(), kFailed); 68 virtual void onReport(const char desc[], Result) {} 117 SkString desc; \ [all...] |
/external/regex-re2/util/ |
flags.h | 13 #define DEFINE_flag(type, name, deflt, desc) \ 19 #define DEFINE_bool(name, deflt, desc) DEFINE_flag(bool, name, deflt, desc) 20 #define DEFINE_int32(name, deflt, desc) DEFINE_flag(int32, name, deflt, desc) 21 #define DEFINE_string(name, deflt, desc) DEFINE_flag(string, name, deflt, desc)
|
/external/qemu/ |
qerror.c | 26 * The 'desc' parameter is a printf-like string, the format of the format 49 .desc = "Device '%(device)' can't go on a %(bad_bus_type) bus", 53 .desc = "Bus '%(bus)' not found", 57 .desc = "Bus '%(bus)' does not support hotplugging", 61 .desc = "The command %(name) has not been found", 65 .desc = "Device '%(device)' is encrypted", 69 .desc = "Device '%(device)' could not be initialized", 73 .desc = "Device '%(device)' is in use", 77 .desc = "Device '%(device)' is locked", 81 .desc = "Device '%(device)' has multiple child busses" [all...] |
/external/javassist/src/main/javassist/runtime/ |
Desc.java | 24 public class Desc { 57 + "' (Desc.useContextClassLoader: " 66 public static Class[] getParams(String desc) { 67 if (desc.charAt(0) != '(') 70 return getType(desc, desc.length(), 1, 0); 77 public static Class getType(String desc) { 78 Class[] result = getType(desc, desc.length(), 0, 0); 85 private static Class[] getType(String desc, int descLen [all...] |
/external/javassist/src/main/javassist/bytecode/ |
Descriptor.java | 151 * @param desc descriptor string 157 public static String rename(String desc, String oldname, String newname) { 158 if (desc.indexOf(oldname) < 0) 159 return desc; 165 int j = desc.indexOf('L', i); 168 else if (desc.startsWith(oldname, j + 1) 169 && desc.charAt(j + oldname.length() + 1) == ';') { 170 newdesc.append(desc.substring(head, j)); 177 i = desc.indexOf(';', j) + 1; 184 return desc; 292 StringBuffer desc = new StringBuffer(); local 796 private String desc; field in class:Descriptor.Iterator [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/modes/ |
ast-builder.rb | 28 def subtree_stream( desc, element = nil ) 29 AST::RewriteRuleSubtreeStream.new( @adaptor, desc, element ) 32 def token_stream( desc, element = nil ) 33 AST::RewriteRuleTokenStream.new( @adaptor, desc, element ) 36 def node_stream( desc, element = nil ) 37 AST::RewriteRuleNodeStream.new( @adaptor, desc, element )
|
/libcore/luni/src/main/java/java/util/regex/ |
PatternSyntaxException.java | 38 private String desc; field in class:PatternSyntaxException 67 this.desc = description; 92 if (desc != null) { 93 sb.append(desc); 97 if (desc != null) { 128 return desc;
|
/development/host/windows/usb/api/ |
adb_interface.cpp | 68 bool AdbInterfaceObject::GetUsbDeviceDescriptor(USB_DEVICE_DESCRIPTOR* desc) {
74 if (NULL == desc) {
79 CopyMemory(desc, usb_device_descriptor(), sizeof(USB_DEVICE_DESCRIPTOR));
85 USB_CONFIGURATION_DESCRIPTOR* desc) {
91 if (NULL == desc) {
96 CopyMemory(desc, usb_config_descriptor(),
103 USB_INTERFACE_DESCRIPTOR* desc) {
109 if (NULL == desc) {
114 CopyMemory(desc, usb_interface_descriptor(), sizeof(USB_INTERFACE_DESCRIPTOR));
|
/external/qemu/memcheck/ |
memcheck.c | 79 * desc - Allocation descriptor for the violation. 91 MallocDescEx* desc, 102 desc->malloc_desc.av_count++; 165 addr < (target_ulong)mallocdesc_get_user_ptr(&desc->malloc_desc) ? 168 memcheck_dump_malloc_desc(desc, 1, 0); 193 MallocDescEx* desc; local 204 desc = procdesc_find_malloc_for_range(proc, addr, data_size); 205 *desc_ptr = desc; 206 if (desc == NULL) { 212 if (addr < mallocdesc_get_user_ptr(&desc->malloc_desc)) 399 MallocDescEx desc; local 480 MallocFree desc; local 580 MallocDescEx* desc; local 615 MallocDescEx* desc; local [all...] |