Searched refs:sym (Results 1 - 15 of 15) sorted by relevance

/sdk/emulator/qtools/
H A Dparse_options-inl.h28 inline bool IsValidEvent(BBEvent *event, symbol_type *sym) argument
35 if (sym == NULL || included_procedures.Find(sym->name) == 0)
39 if (sym == NULL || excluded_procedures.Find(sym->name))
56 symbol_type *sym = trace->LookupFunction(pid, addr, time); local
58 if (lump_kernel && (sym->region->flags & region_type::kIsKernelRegion)) {
60 kernel_sym = sym;
61 sym->name = ":kernel";
63 sym
79 IsIncludedProcedure(symbol_type *sym) argument
88 IsExcludedProcedure(symbol_type *sym) argument
103 symbol_type *sym = NULL; local
[all...]
H A Dprofile_trace.cpp68 symbol_type *sym; local
72 bool eof = GetNextValidEvent(trace, &event, &first_ignored_event, &sym);
86 sym->count += 1;
87 prev_sym = sym;
90 bb_time, bb_num, bb_addr, sym->name, sym->addr, sym->count);
102 symbol_type *sym = syms; local
103 for (int ii = 0; ii < nsyms; ++ii, ++sym) {
104 total += sym
[all...]
H A Dq2g.cpp53 symbol_type *sym; local
54 if (GetNextValidEvent(trace, &event, &ignored, &sym))
64 if (sym != prev_sym) {
69 if (sym->filenum == 0) {
70 sym->filenum = next_filenum;
71 sym->procnum = next_procnum;
72 gtrace->AddProcedure(sym->filenum, sym->procnum, sym->name);
90 gtrace->AddProcEntry(sym
[all...]
H A Dbb_dump.cpp36 symbol_type *sym; local
40 if (GetNextValidEvent(trace, &event, &ignored, &sym))
44 event.bb_addr, sym->name);
H A Dbb2sym.cpp15 symbol_type *sym; member in struct:MyStaticRec
70 blocks[ii].sym = NULL;
78 symbol_type *sym; local
82 if (GetNextValidEvent(trace, &event, &ignored, &sym))
86 blocks[bb_num].sym = sym;
92 || sorted[ii]->sym == NULL)
97 sorted[ii]->bb.bb_addr, sorted[ii]->sym->region->path,
98 sorted[ii]->sym->name);
H A Dread_method.cpp95 symbol_type *sym; local
99 if (trace->ReadMethodSymbol(&method_record, &sym, &proc))
105 if (sym != NULL) {
108 method_record.flags, sym->name);
127 sym == NULL ? NULL: sym->name,
H A Dread_trace.cpp63 symbol_type *sym; local
68 if (GetNextValidEvent(trace, &event, &ignored, &sym))
77 uint32_t offset = addr - sym->addr - sym->region->base_addr;
78 symbol_type *vm_sym = sym->vm_sym;
85 if (strcmp(sym->name, "(unknown)") == 0 || offset > kOffsetThreshold) {
117 sprintf(buf, "%s+%02x: %s", vm_name, offset, sym->name);
119 sprintf(buf, "%s+%02x", sym->name, offset);
H A Dread_elf.cpp65 void SwapElfSymbol(Elf32_Sym *sym) argument
67 sym->st_name = SwapWord(sym->st_name);
68 sym->st_value = SwapAddr(sym->st_value);
69 sym->st_size = SwapWord(sym->st_size);
70 sym->st_shndx = SwapSection(sym->st_shndx);
H A Dcheck_trace.cpp38 symbol_type *sym; local
42 if (GetNextValidEvent(trace, &event, &ignored, &sym))
H A Dq2dm.cpp42 void push(symbol_type *sym) { argument
45 frames[top] = sym;
110 symbol_type *sym = fstack->pop(); local
111 if (sym != NULL && sym != function) {
112 fprintf(stderr, "Error: q2dm function mismatch at time %llu pid %d sym %s\n",
113 stack->getGlobalTime(time), pid, sym->name);
H A Dcheck_stack.cpp111 symbol_type *sym; local
115 if (mtrace->ReadMethodSymbol(&method_record, &sym, &proc))
133 sym == NULL ? NULL: sym->name,
H A Dtrace_reader.cpp19 DexSym sym; member in struct:DexSymList
833 for (DexSymList *sym = head; sym; sym = next_sym) {
834 next_sym = sym->next;
835 symbols[next_index].addr = sym->sym.addr;
836 symbols[next_index].len = sym->sym.len;
837 symbols[next_index].name = sym
[all...]
H A Dtrace_reader.h1130 symbol_type *sym = FindCurrentMethod(pid, time); local
1131 if (sym != NULL) {
1132 sym->vm_sym = cached_func_;
1133 return sym;
1159 symbol_type *sym = FindCurrentMethod(pid, time); local
1160 if (sym != NULL) {
1161 sym->vm_sym = cached_func_;
1162 return sym;
1463 symbol_type *sym = FindFunction(sym_addr, region->nsymbols, local
1466 pstate->current_method_sym = sym;
[all...]
/sdk/emulator/opengl/tests/emulator_test_renderer/
H A Dmain.cpp24 static int convert_keysym(int sym); // forward
143 if (ev.key.keysym.sym == SDLK_q &&
148 injector->sendKeyDown(convert_keysym(ev.key.keysym.sym));
150 if (ev.key.keysym.sym == SDLK_KP_MINUS) {
163 else if (ev.key.keysym.sym == SDLK_KP_PLUS) {
176 else if (ev.key.keysym.sym == SDLK_KP_MULTIPLY) {
180 else if (ev.key.keysym.sym == SDLK_KP_ENTER) {
185 injector->sendKeyUp(convert_keysym(ev.key.keysym.sym));
202 static int convert_keysym(int sym) argument
218 if (keymap[nn] == sym)
[all...]
/sdk/emulator/qtools/tests/
H A Dmacros.h83 #define TRACE_DYN_SYM(addr,sym)\
86 DEV_WRITE_WORD(TRACE_DEV_REG_DYN_SYM, (unsigned long)(sym));\

Completed in 107 milliseconds