/bionic/libc/bionic/ |
ftime.c | 30 int ftime(struct timeb *tb) 38 tb->time = tv.tv_sec; 39 tb->millitm = (tv.tv_usec + 500) / 1000; 41 if (tb->millitm == 1000) { 42 ++tb->time; 43 tb->millitm = 0; 45 tb->timezone = tz.tz_minuteswest; 46 tb->dstflag = tz.tz_dsttime;
|
/external/javassist/src/main/javassist/bytecode/stackmap/ |
Liveness.java | 61 private void computeLiveness1(TypedBlock tb) { 62 if (tb.updating) { 64 computeLiveness1u(tb); 68 if (tb.inputs != null) 71 tb.updating = true; 72 byte[] usage = tb.localsUsage; 78 BasicBlock.Catch handlers = tb.toCatch; 89 if (tb.exit != null) { 90 for (int i = 0; i < tb.exit.length; i++) { 91 TypedBlock e = (TypedBlock)tb.exit[i] 196 TypedBlock tb = blocks[i]; local 213 TypedBlock tb = blocks[i]; local [all...] |
/external/qemu/ |
translate-all.c | 54 * Memchecker code in this module copies TB PC <-> Guest PC map to the TB 99 int cpu_gen_code(CPUState *env, TranslationBlock *tb, int *gen_code_size_ptr) 115 gen_intermediate_code(env, tb); 118 gen_code_buf = tb->tc_ptr; 119 tb->tb_next_offset[0] = 0xffff; 120 tb->tb_next_offset[1] = 0xffff; 121 s->tb_next_offset = tb->tb_next_offset; 123 s->tb_jmp_offset = tb->tb_jmp_offset; 127 tb->tb_jmp_offset[2] = 0xffff [all...] |
exec-all.h | 70 void gen_intermediate_code(CPUState *env, struct TranslationBlock *tb); 71 void gen_intermediate_code_pc(CPUState *env, struct TranslationBlock *tb); 72 void restore_state_to_opc(CPUState *env, struct TranslationBlock *tb, int pc_pos); 76 int cpu_gen_code(CPUState *env, struct TranslationBlock *tb, 78 int cpu_restore_state(struct TranslationBlock *tb, 112 /* estimated block size for TB allocation */ 136 /* next matching tb for physical address. */ 143 /* the following data are used to directly call another TB from 203 tb_get_tb_pc(const TranslationBlock* tb, unsigned int pair) 205 return (tb->tpc2gpc != NULL && pair < tb->tpc2gpc_pairs) [all...] |
/external/chromium_org/third_party/jinja2/ |
debug.py | 38 def __init__(self, tb): 39 self.tb = tb 49 tb_set_next(self.tb, next and next.tb or None) 59 return '__jinja_template__' in self.tb.tb_frame.f_globals 62 return getattr(self.tb, name) 90 for tb in self.frames: 92 prev_tb.set_next(tb) 93 prev_tb = tb [all...] |
/external/iproute2/tc/ |
f_tcindex.c | 124 struct rtattr *tb[TCA_TCINDEX_MAX+1]; local 129 parse_rtattr_nested(tb, TCA_TCINDEX_MAX, opt); 132 if (tb[TCA_TCINDEX_HASH]) { 135 if (RTA_PAYLOAD(tb[TCA_TCINDEX_HASH]) < sizeof(hash)) 137 hash = rta_getattr_u16(tb[TCA_TCINDEX_HASH]); 140 if (tb[TCA_TCINDEX_MASK]) { 143 if (RTA_PAYLOAD(tb[TCA_TCINDEX_MASK]) < sizeof(mask)) 145 mask = rta_getattr_u16(tb[TCA_TCINDEX_MASK]); 148 if (tb[TCA_TCINDEX_SHIFT]) { 151 if (RTA_PAYLOAD(tb[TCA_TCINDEX_SHIFT]) < sizeof(shift) [all...] |
q_dsmark.c | 134 struct rtattr *tb[TCA_DSMARK_MAX+1]; local 137 memset(tb, 0, sizeof(tb)); 138 parse_rtattr(tb, TCA_DSMARK_MAX, RTA_DATA(opt), RTA_PAYLOAD(opt)); 139 if (tb[TCA_DSMARK_MASK]) { 140 if (!RTA_PAYLOAD(tb[TCA_DSMARK_MASK])) 143 rta_getattr_u8(tb[TCA_DSMARK_MASK])); 145 if (tb[TCA_DSMARK_VALUE]) { 146 if (!RTA_PAYLOAD(tb[TCA_DSMARK_VALUE])) 149 rta_getattr_u8(tb[TCA_DSMARK_VALUE])) [all...] |
f_cgroup.c | 86 struct rtattr *tb[TCA_CGROUP_MAX+1]; local 91 parse_rtattr_nested(tb, TCA_CGROUP_MAX, opt); 96 if (tb[TCA_CGROUP_EMATCHES]) 97 print_ematch(f, tb[TCA_CGROUP_EMATCHES]); 99 if (tb[TCA_CGROUP_POLICE]) { 101 tc_print_police(f, tb[TCA_CGROUP_POLICE]); 104 if (tb[TCA_CGROUP_ACT]) 105 tc_print_action(f, tb[TCA_CGROUP_ACT]);
|
f_basic.c | 112 struct rtattr *tb[TCA_BASIC_MAX+1]; local 117 parse_rtattr_nested(tb, TCA_BASIC_MAX, opt); 122 if (tb[TCA_BASIC_CLASSID]) { 125 sprint_tc_classid(rta_getattr_u32(tb[TCA_BASIC_CLASSID]), b1)); 128 if (tb[TCA_BASIC_EMATCHES]) 129 print_ematch(f, tb[TCA_BASIC_EMATCHES]); 131 if (tb[TCA_BASIC_POLICE]) { 133 tc_print_police(f, tb[TCA_BASIC_POLICE]); 136 if (tb[TCA_BASIC_ACT]) { 137 tc_print_action(f, tb[TCA_BASIC_ACT]) [all...] |
f_fw.c | 121 struct rtattr *tb[TCA_FW_MAX+1]; local 126 parse_rtattr_nested(tb, TCA_FW_MAX, opt); 128 if (handle || tb[TCA_FW_MASK]) { 132 if(tb[TCA_FW_MASK] && 133 (mask = rta_getattr_u32(tb[TCA_FW_MASK])) != 0xFFFFFFFF) 139 if (tb[TCA_FW_CLASSID]) { 141 fprintf(f, "classid %s ", sprint_tc_classid(rta_getattr_u32(tb[TCA_FW_CLASSID]), b1)); 144 if (tb[TCA_FW_POLICE]) 145 tc_print_police(f, tb[TCA_FW_POLICE]); 146 if (tb[TCA_FW_INDEV]) [all...] |
f_flow.c | 272 struct rtattr *tb[TCA_FLOW_MAX+1]; local 280 parse_rtattr_nested(tb, TCA_FLOW_MAX, opt); 284 if (tb[TCA_FLOW_MODE]) { 285 __u32 mode = rta_getattr_u32(tb[TCA_FLOW_MODE]); 297 if (tb[TCA_FLOW_KEYS]) { 298 __u32 keymask = rta_getattr_u32(tb[TCA_FLOW_KEYS]); 311 if (tb[TCA_FLOW_MASK]) 312 mask = rta_getattr_u32(tb[TCA_FLOW_MASK]); 313 if (tb[TCA_FLOW_XOR]) 314 val = rta_getattr_u32(tb[TCA_FLOW_XOR]) [all...] |
/external/chromium_org/media/webm/ |
webm_tracks_parser_unittest.cc | 52 TracksBuilder tb; local 53 tb.AddTrack(1, kWebMTrackTypeSubtitlesOrCaptions, 56 const std::vector<uint8> buf = tb.Finish(); 63 TracksBuilder tb; local 64 tb.AddTrack(1, kWebMTrackTypeSubtitlesOrCaptions, 67 const std::vector<uint8> buf = tb.Finish(); 74 TracksBuilder tb; local 75 tb.AddTrack(1, kWebMTrackTypeSubtitlesOrCaptions, 78 const std::vector<uint8> buf = tb.Finish(); 85 TracksBuilder tb; local 96 TracksBuilder tb; local [all...] |
/external/qemu/target-arm/ |
helper-android.c | 40 void HELPER(traceBB32)(uint64_t bb_num, uint32_t tb) 42 trace_bb_helper(bb_num, (void*)tb); 47 void HELPER(traceBB64)(uint64_t bb_num, uint64_t tb) 49 trace_bb_helper(bb_num, (void*)tb);
|
exec.h | 59 static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb) 61 env->regs[15] = tb->pc;
|
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/ |
Mandelbrot.java | 31 Type.Builder tb = new Type.Builder(rs, Element.U8_4(rs)); local 32 tb.setX(mScript.get_gDimX()); 33 tb.setY(mScript.get_gDimY()); 34 mAllocationXY = Allocation.createTyped(rs, tb.create());
|
/external/iproute2/genl/ |
ctrl.c | 76 struct rtattr *tb[CTRL_ATTR_MAX + 1]; local 100 parse_rtattr(tb, CTRL_ATTR_MAX, attrs, len); 102 if (tb[CTRL_ATTR_FAMILY_ID] == NULL) { 107 ret = rta_getattr_u16(tb[CTRL_ATTR_FAMILY_ID]); 138 struct rtattr *tb[CTRL_ATTR_OP_MAX + 1]; local 143 parse_rtattr_nested(tb, CTRL_ATTR_OP_MAX, arg); 144 if (tb[CTRL_ATTR_OP_ID]) { 145 __u32 *id = RTA_DATA(tb[CTRL_ATTR_OP_ID]); 149 if (tb[CTRL_ATTR_OP_FLAGS] && ctrl_ver >= 0x2) { 150 __u32 *fl = RTA_DATA(tb[CTRL_ATTR_OP_FLAGS]) 159 struct rtattr *tb[CTRL_ATTR_MCAST_GRP_MAX + 1]; local 183 struct rtattr *tb[CTRL_ATTR_MAX + 1]; local [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
TypeThunker.java | 66 android.renderscript.Type.Builder tb = local 68 if (dx > 0) tb.setX(dx); 69 if (dy > 0) tb.setY(dy); 70 if (dz > 0) tb.setZ(dz); 71 if (dmip) tb.setMipmaps(dmip); 72 if (dfaces) tb.setFaces(dfaces); 73 if (yuv > 0) tb.setYuvFormat(yuv); 74 android.renderscript.Type nt = tb.create();
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
YuvTest.java | 61 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS)); local 62 tb.setX(w); 63 tb.setY(h); 64 ay = Allocation.createTyped(mRS, tb.create()); 66 tb = new Type.Builder(mRS, Element.U8(mRS)); 67 tb.setX(w >> 1); 68 tb.setY(h >> 1); 69 au = Allocation.createTyped(mRS, tb.create()); 70 av = Allocation.createTyped(mRS, tb.create()); 78 Type.Builder tb = new Type.Builder(mRS, Element.RGBA_8888(mRS)) local 134 Type.Builder tb = new Type.Builder(mRS, Element.YUV(mRS)); local 177 Type.Builder tb = new Type.Builder(mRS, Element.YUV(mRS)); local [all...] |
/external/iproute2/ip/ |
link_gre.c | 51 struct rtattr *tb[IFLA_MAX + 1]; local 87 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(&req.i), len); 89 if (!tb[IFLA_LINKINFO]) 92 parse_rtattr_nested(linkinfo, IFLA_INFO_MAX, tb[IFLA_LINKINFO]); 269 static void gre_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) 278 if (!tb) 281 if (tb[IFLA_GRE_REMOTE]) { 282 unsigned addr = rta_getattr_u32(tb[IFLA_GRE_REMOTE]); 290 if (tb[IFLA_GRE_LOCAL]) { 291 unsigned addr = rta_getattr_u32(tb[IFLA_GRE_LOCAL]) [all...] |
iplink_macvlan.c | 71 static void macvlan_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) 75 if (!tb) 78 if (!tb[IFLA_MACVLAN_MODE] || 79 RTA_PAYLOAD(tb[IFLA_MACVLAN_MODE]) < sizeof(__u32)) 82 mode = rta_getattr_u32(tb[IFLA_VLAN_ID]);
|
iplink_macvtap.c | 68 static void macvtap_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) 72 if (!tb) 75 if (!tb[IFLA_MACVLAN_MODE] || 76 RTA_PAYLOAD(tb[IFLA_MACVLAN_MODE]) < sizeof(__u32)) 79 mode = rta_getattr_u32(tb[IFLA_VLAN_ID]);
|
iprule.c | 53 struct rtattr * tb[FRA_MAX+1]; local 64 parse_rtattr(tb, FRA_MAX, RTM_RTA(r), len); 78 if (tb[FRA_PRIORITY]) 79 fprintf(fp, "%u:\t", *(unsigned*)RTA_DATA(tb[FRA_PRIORITY])); 86 if (tb[FRA_SRC]) { 89 RTA_PAYLOAD(tb[FRA_SRC]), 90 RTA_DATA(tb[FRA_SRC]), 96 RTA_PAYLOAD(tb[FRA_SRC]), 97 RTA_DATA(tb[FRA_SRC]), 107 if (tb[FRA_DST]) 370 struct rtattr * tb[FRA_MAX+1]; local [all...] |
iplink_vlan.c | 176 static void vlan_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) 179 if (!tb) 182 if (!tb[IFLA_VLAN_ID] || 183 RTA_PAYLOAD(tb[IFLA_VLAN_ID]) < sizeof(__u16)) 186 fprintf(f, "id %u ", rta_getattr_u16(tb[IFLA_VLAN_ID])); 188 if (tb[IFLA_VLAN_FLAGS]) { 189 if (RTA_PAYLOAD(tb[IFLA_VLAN_FLAGS]) < sizeof(*flags)) 191 flags = RTA_DATA(tb[IFLA_VLAN_FLAGS]); 194 if (tb[IFLA_VLAN_INGRESS_QOS]) 195 vlan_print_map(f, "ingress-qos-map", tb[IFLA_VLAN_INGRESS_QOS]) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
traceback.py | 46 def print_tb(tb, limit=None, file=None): 47 """Print up to 'limit' stack trace entries from the traceback 'tb'. 60 while tb is not None and (limit is None or n < limit): 61 f = tb.tb_frame 62 lineno = tb.tb_lineno 71 tb = tb.tb_next 74 def format_tb(tb, limit = None): 76 return format_list(extract_tb(tb, limit)) 78 def extract_tb(tb, limit = None) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
traceback.py | 46 def print_tb(tb, limit=None, file=None): 47 """Print up to 'limit' stack trace entries from the traceback 'tb'. 60 while tb is not None and (limit is None or n < limit): 61 f = tb.tb_frame 62 lineno = tb.tb_lineno 71 tb = tb.tb_next 74 def format_tb(tb, limit = None): 76 return format_list(extract_tb(tb, limit)) 78 def extract_tb(tb, limit = None) [all...] |