Searched refs:target_type (Results 1 - 4 of 4) sorted by relevance

/xnu-2782.1.97/tools/lldbmacros/core/
H A Dcvalue.py400 def cast(obj, target_type):
404 target_type - str : ex 'char *'
407 dest_type = target_type
408 if type(target_type) is str:
409 dest_type = gettype(target_type)
410 elif type(target_type) is value:
411 dest_type = target_type.GetSBValue().GetType()
416 print "ERROR: You cannot cast an 'int' to %s, please use kern.GetValueFromAddress() for such purposes." % str(target_type)
417 raise TypeError("object of type %s cannot be casted to %s" % (str(type(obj)), str(target_type)))
421 def gettype(target_type)
[all...]
/xnu-2782.1.97/tools/lldbmacros/
H A Dutils.py122 def GetType(target_type):
125 target_type - str, ex. 'char', 'uint32_t' etc
131 return gettype(target_type)
134 def Cast(obj, target_type):
138 target_type - str : ex 'char *'
141 return cast(obj, target_type)
/xnu-2782.1.97/libkern/kxld/
H A Dkxld_reloc.h80 u_int target_type:3; member in struct:kxld_reloc
H A Dkxld_reloc.c326 /* Pull out the data from the relocation entries. The target_type
339 reloc->target_type = KXLD_TARGET_LOOKUP;
348 reloc->target_type = KXLD_TARGET_SECTNUM;
351 reloc->target_type = KXLD_TARGET_SYMBOLNUM;
497 switch (reloc->target_type) {
774 require_action(reloc->target_type == KXLD_TARGET_SYMBOLNUM,
852 switch(reloc->target_type) {
1054 switch (reloc->target_type) {

Completed in 35 milliseconds