/bionic/libc/unistd/ |
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/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 = *(__u16 *) RTA_DATA(tb[TCA_TCINDEX_HASH]); 140 if (tb[TCA_TCINDEX_MASK]) { 143 if (RTA_PAYLOAD(tb[TCA_TCINDEX_MASK]) < sizeof(mask)) 145 mask = *(__u16 *) RTA_DATA(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 *(__u8 *) RTA_DATA(tb[TCA_DSMARK_MASK])); 145 if (tb[TCA_DSMARK_VALUE]) { 146 if (!RTA_PAYLOAD(tb[TCA_DSMARK_VALUE])) 149 *(__u8 *) RTA_DATA(tb[TCA_DSMARK_VALUE])) [all...] |
f_cgroup.c | 87 struct rtattr *tb[TCA_CGROUP_MAX+1]; local 92 parse_rtattr_nested(tb, TCA_CGROUP_MAX, opt); 97 if (tb[TCA_CGROUP_EMATCHES]) 98 print_ematch(f, tb[TCA_CGROUP_EMATCHES]); 100 if (tb[TCA_CGROUP_POLICE]) { 102 tc_print_police(f, tb[TCA_CGROUP_POLICE]); 105 if (tb[TCA_CGROUP_ACT]) 106 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(*(__u32*)RTA_DATA(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 = *(__u32*)RTA_DATA(tb[TCA_FW_MASK])) != 0xFFFFFFFF) 139 if (tb[TCA_FW_CLASSID]) { 141 fprintf(f, "classid %s ", sprint_tc_classid(*(__u32*)RTA_DATA(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 | 271 struct rtattr *tb[TCA_FLOW_MAX+1]; local 279 parse_rtattr_nested(tb, TCA_FLOW_MAX, opt); 283 if (tb[TCA_FLOW_MODE]) { 284 __u32 mode = *(__u32 *)RTA_DATA(tb[TCA_FLOW_MODE]); 296 if (tb[TCA_FLOW_KEYS]) { 297 __u32 keymask = *(__u32 *)RTA_DATA(tb[TCA_FLOW_KEYS]); 310 if (tb[TCA_FLOW_MASK]) 311 mask = *(__u32 *)RTA_DATA(tb[TCA_FLOW_MASK]); 312 if (tb[TCA_FLOW_XOR]) 313 val = *(__u32 *)RTA_DATA(tb[TCA_FLOW_XOR]) [all...] |
f_route.c | 136 struct rtattr *tb[TCA_ROUTE4_MAX+1]; local 142 parse_rtattr_nested(tb, TCA_ROUTE4_MAX, opt); 149 if (tb[TCA_ROUTE4_CLASSID]) { 151 fprintf(f, "flowid %s ", sprint_tc_classid(*(__u32*)RTA_DATA(tb[TCA_ROUTE4_CLASSID]), b1)); 153 if (tb[TCA_ROUTE4_TO]) 154 fprintf(f, "to %s ", rtnl_rtrealm_n2a(*(__u32*)RTA_DATA(tb[TCA_ROUTE4_TO]), b1, sizeof(b1))); 155 if (tb[TCA_ROUTE4_FROM]) 156 fprintf(f, "from %s ", rtnl_rtrealm_n2a(*(__u32*)RTA_DATA(tb[TCA_ROUTE4_FROM]), b1, sizeof(b1))); 157 if (tb[TCA_ROUTE4_IIF]) 158 fprintf(f, "fromif %s", ll_index_to_name(*(int*)RTA_DATA(tb[TCA_ROUTE4_IIF]))) [all...] |
m_skbedit.c | 164 struct rtattr *tb[TCA_SKBEDIT_MAX + 1]; local 173 parse_rtattr_nested(tb, TCA_SKBEDIT_MAX, arg); 175 if (tb[TCA_SKBEDIT_PARMS] == NULL) { 180 sel = RTA_DATA(tb[TCA_SKBEDIT_PARMS]); 184 if (tb[TCA_SKBEDIT_QUEUE_MAPPING] != NULL) { 185 queue_mapping = RTA_DATA(tb[TCA_SKBEDIT_QUEUE_MAPPING]); 188 if (tb[TCA_SKBEDIT_PRIORITY] != NULL) { 189 priority = RTA_DATA(tb[TCA_SKBEDIT_PRIORITY]); 192 if (tb[TCA_SKBEDIT_MARK] != NULL) { 193 mark = RTA_DATA(tb[TCA_SKBEDIT_MARK]) [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/base/tests/RenderScriptTests/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());
|
LaunchTest.java | 36 Type.Builder tb = new Type.Builder(rs, Element.U8(rs)); local 37 tb.setX(dim); 38 tb.setY(dim); 39 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 = *(__u16 *) RTA_DATA(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...] |
/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 = *(__u32 *)RTA_DATA(tb[IFLA_GRE_REMOTE]); 290 if (tb[IFLA_GRE_LOCAL]) { 291 unsigned addr = *(__u32 *)RTA_DATA(tb[IFLA_GRE_LOCAL]) [all...] |
iplink_macvlan.c | 69 static void macvlan_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) 73 if (!tb) 76 if (!tb[IFLA_MACVLAN_MODE] || 77 RTA_PAYLOAD(tb[IFLA_MACVLAN_MODE]) < sizeof(__u32)) 80 mode = *(__u32 *)RTA_DATA(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 ", *(__u16 *)RTA_DATA(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...] |
ipprefix.c | 41 struct rtattr * tb[RTA_MAX+1]; local 70 parse_rtattr(tb, RTA_MAX, RTM_RTA(prefix), len); 74 if (tb[PREFIX_ADDRESS]) { 78 pfx = (struct in6_addr *)RTA_DATA(tb[PREFIX_ADDRESS]); 93 if (tb[PREFIX_CACHEINFO]) { 95 pc = (struct prefix_cacheinfo *)tb[PREFIX_CACHEINFO];
|
iplink_can.c | 196 static void can_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) 198 if (!tb) 201 if (tb[IFLA_CAN_CTRLMODE]) { 202 struct can_ctrlmode *cm = RTA_DATA(tb[IFLA_CAN_CTRLMODE]); 208 if (tb[IFLA_CAN_STATE]) { 209 int *state = RTA_DATA(tb[IFLA_CAN_STATE]); 215 if (tb[IFLA_CAN_BERR_COUNTER]) { 217 RTA_DATA(tb[IFLA_CAN_BERR_COUNTER]); 222 if (tb[IFLA_CAN_RESTART_MS]) { 223 __u32 *restart_ms = RTA_DATA(tb[IFLA_CAN_RESTART_MS]) [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/light/ |
TestTangentGen.java | 123 FloatBuffer tb = BufferUtils.createFloatBuffer(3*3*2); local 124 tb.rewind(); 125 tb.put(new float[]{0,0}); tb.put(new float[]{0.5f,0}); tb.put(new float[]{1,0}); 126 tb.put(new float[]{0,0.5f}); tb.put(new float[]{0.5f,0.5f}); tb.put(new float[]{1,0.5f}); 127 tb.put(new float[]{0,1}); tb.put(new float[]{0.5f,1}); tb.put(new float[]{1,1}) [all...] |
/frameworks/base/tests/RenderScriptTests/SurfaceTexture/src/com/example/android/rs/sto/ |
SurfaceTextureOpaqueRS.java | 44 Type.Builder tb = new Type.Builder(mRS, Element.RGBA_8888(mRS)); local 45 tb.setX(640); 46 tb.setY(480); 47 mSto = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_GRAPHICS_TEXTURE | 49 mRto = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_GRAPHICS_RENDER_TARGET | 51 mSto2 = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_GRAPHICS_TEXTURE |
|