/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...] |
/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/skia/tests/ |
Test.h | 35 void assertTrue(bool cond, const char desc[]) { 37 this->report(desc, kFailed); 40 void assertFalse(bool cond, const char desc[]) { 42 this->report(desc, kFailed); 45 void reportFailed(const char desc[]) { 46 this->report(desc, kFailed); 48 void reportFailed(const SkString& desc) { 49 this->report(desc.c_str(), kFailed); 58 virtual void onReport(const char desc[], Result) {} 96 SkString desc; \ [all...] |
/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...] |
/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...] |
memcheck_mmrange_map.c | 27 MMRangeDesc desc; member in struct:MMRangeMapEntry 47 const target_ulong start1 = d1->desc.map_start; 48 const target_ulong start2 = d2->desc.map_start; 51 return (d1->desc.map_end - 1) < start2 ? -1 : 0; 53 return (d2->desc.map_end - 1) < start1 ? 1 : 0; 84 memcpy(replaced, &existing->desc, sizeof(MMRangeDesc)); 106 rdesc.desc.map_start = start; 107 rdesc.desc.map_end = end; 123 const MMRangeDesc* desc, 134 memcpy(&rdesc->desc, desc, sizeof(MMRangeDesc)) [all...] |
/ndk/sources/host-tools/sed-4.2.1/lib/ |
set-mode-acl.c | 30 /* If DESC is a valid file descriptor use fchmod to change the 32 that don't have fchown and if DESC is invalid, use chown on 37 chmod_or_fchmod (const char *name, int desc, mode_t mode) 39 if (HAVE_FCHMOD && desc != -1) 40 return fchmod (desc, mode); 45 /* Set the access control lists of a file. If DESC is a valid file 54 qset_acl (char const *name, int desc, mode_t mode) 112 if (HAVE_ACL_SET_FD && desc != -1) 113 ret = acl_set_fd (desc, acl); 122 return chmod_or_fchmod (name, desc, mode) [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/ |
CheckerRegistry.h | 86 StringRef Desc; 88 CheckerInfo(InitializationFunction fn, StringRef name, StringRef desc) 89 : Initialize(fn), FullName(name), Desc(desc) {} 104 StringRef desc); 109 void addChecker(StringRef fullName, StringRef desc) { 110 addChecker(&initializeManager<T>, fullName, desc);
|
/external/libvpx/vpx_mem/memory_manager/include/ |
heapmm.h | 113 void HMM_UNIQUE(init)(HMM_UNIQUE(descriptor) *desc); 116 HMM_UNIQUE(descriptor) *desc, HMM_UNIQUE(size_aau) num_addr_align_units); 120 HMM_UNIQUE(descriptor) *desc, HMM_UNIQUE(size_aau) needed_addr_align_units, 124 HMM_UNIQUE(descriptor) *desc, void *mem, 129 HMM_UNIQUE(descriptor) *desc, void *mem, 133 void HMM_UNIQUE(free)(HMM_UNIQUE(descriptor) *desc, void *mem); 138 HMM_UNIQUE(descriptor) *desc); 141 HMM_UNIQUE(descriptor) *desc, void *start_of_chunk, 145 HMM_UNIQUE(descriptor) *desc, void *end_of_chunk, 150 HMM_UNIQUE(descriptor) *desc, [all...] |
/external/llvm/tools/llvm-ld/ |
Optimize.cpp | 31 OptimizationList(cl::desc("Optimizations available:")); 37 cl::desc("Do not run the inliner pass")); 41 cl::desc("Do not run any optimization passes")); 44 cl::desc("Do not mark all symbols as internal")); 47 cl::desc("Verify intermediate results of all passes")); 51 cl::desc("Alias for -disable-internalize")); 54 cl::desc("Strip all symbol info from executable")); 56 static cl::alias A0("s", cl::desc("Alias for --strip-all"), 60 cl::desc("Strip debugger symbol info from executable")); 62 static cl::alias A1("S", cl::desc("Alias for --strip-debug") [all...] |