/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
H A D | radeon_program_pair.c | 58 if (alpha && pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Used 59 && index != pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) { 77 if (pair->Alpha.Src[i].Used) { 78 if (pair->Alpha.Src[i].File != file || 79 pair->Alpha.Src[i].Index != index) { 115 pair->Alpha.Src[candidate].Used = 1; 116 pair->Alpha.Src[candidate].File = file; 117 pair->Alpha.Src[candidate].Index = index; 123 pair->Alpha.Src[i].Used = 1; 147 pair->Alpha [all...] |
H A D | radeon_pair_translate.c | 170 pair->Alpha.Opcode = inst->Opcode; 172 pair->Alpha.Saturate = 1; 203 pair->Alpha.Src[i].File = 205 pair->Alpha.Src[i].Index = 207 pair->Alpha.Src[i].Used = 1; 268 pair->Alpha.Arg[i].Source = source; 269 pair->Alpha.Arg[i].Swizzle = rc_init_swizzle(swz, 1); 270 pair->Alpha.Arg[i].Abs = inst->SrcReg[i].Abs; 273 pair->Alpha.Arg[i].Negate = 277 pair->Alpha [all...] |
H A D | radeon_pair_dead_sources.c | 32 inst->U.P.Alpha.Src[sub->Arg[i].Source].Used = 1; 54 inst->U.P.Alpha.Src[i].Used = 0; 57 mark_used(inst, &inst->U.P.Alpha); 60 mark_used_presub(&inst->U.P.Alpha);
|
H A D | radeon_pair_schedule.c | 67 /** If the scheduler has paired an RGB and an Alpha instruction together, 255 else if (sinst->Instruction->U.P.Alpha.Opcode == RC_OPCODE_NOP) 307 !sinst->Instruction->U.P.Alpha.OutputWriteMask) { 312 Alpha.OutputWriteMask) { 342 sinst->Instruction->U.P.Alpha.Src[src_idx].Used; 511 assert(dst_full->Alpha.Opcode == RC_OPCODE_NOP); 522 dst_sub = &dst_full->Alpha; 597 /* This function assumes that rgb.Alpha and alpha.RGB are unused */ 604 assert(rgb->Alpha.Opcode == RC_OPCODE_NOP); 618 if (alpha->Alpha [all...] |
H A D | r300_fragprog_emit.c | 165 code->alu.inst[ip].alpha_inst = translate_alpha_opcode(c, inst->Alpha.Opcode); 176 /* Set the Alpha address */ 177 src = use_source(code, inst->Alpha.Src[j]); 178 if (inst->Alpha.Src[j].Index >= R300_PFS_NUM_TEMP_REGS) 188 arg = r300FPTranslateAlphaSwizzle(inst->Alpha.Arg[j].Source, inst->Alpha.Arg[j].Swizzle); 189 arg |= inst->Alpha.Arg[j].Abs << 6; 190 arg |= inst->Alpha.Arg[j].Negate << 5; 218 if (inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Used) { 219 switch(inst->Alpha [all...] |
H A D | radeon_program_print.c | 346 inst->RGB.Opcode : inst->Alpha.Opcode, branch_depth); 359 if (inst->Alpha.Src[src].Used) { 363 rc_print_register(f, inst->Alpha.Src[src].File, inst->Alpha.Src[src].Index, 0); 372 if(inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Used) { 375 inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Index)); 421 if (inst->Alpha.Opcode != RC_OPCODE_NOP) { 422 const struct rc_opcode_info * opcode = rc_get_opcode_info(inst->Alpha.Opcode); 427 fprintf(f, " %s%s", opcode->Name, inst->Alpha.Saturate ? "_SAT" : ""); 428 if (inst->Alpha [all...] |
H A D | r500_fragprog_emit.c | 174 unsigned int t = inst->Alpha.Arg[i].Source; 175 t |= fix_hw_swizzle(GET_SWZ(inst->Alpha.Arg[i].Swizzle, 0)) << 2; 176 t |= inst->Alpha.Arg[i].Negate << 5; 177 t |= inst->Alpha.Arg[i].Abs << 6; 248 if (inst->RGB.Opcode == RC_OPCODE_DDX || inst->Alpha.Opcode == RC_OPCODE_DDX || 249 inst->RGB.Opcode == RC_OPCODE_DDY || inst->Alpha.Opcode == RC_OPCODE_DDY) { 256 code->inst[ip].inst4 = translate_alpha_op(c, inst->Alpha.Opcode); 258 if (inst->RGB.OutputWriteMask || inst->Alpha.OutputWriteMask || inst->Alpha.DepthWriteMask) { 270 code->inst[ip].inst0 |= inst->Alpha [all...] |
H A D | radeon_dataflow.c | 90 inst->Alpha.Src[src].Index); 114 GET_SWZ(inst->Alpha.Arg[arg].Swizzle, chan); 118 inst->Alpha.Arg[arg].Source); 127 if (inst->Alpha.Src[src].Used && (refmasks[src] & RC_MASK_W)) 128 cb(userdata, fullinst, inst->Alpha.Src[src].File, inst->Alpha.Src[src].Index, RC_MASK_W); 161 U.P.Alpha.Src[RC_PAIR_PRESUB_SRC].Index; 162 src_array = fullinst->U.P.Alpha.Src; 231 pair_sub_for_all_args(inst, &inst->U.P.Alpha, cb, userdata); 275 if (inst->Alpha [all...] |
H A D | radeon_program_pair.h | 54 * {RGB,Alpha}.Src[RC_PAIR_PRESUB_SRC].File will be set to RC_FILE_PRESUB. 87 struct rc_pair_sub_instruction Alpha; member in struct:rc_pair_instruction
|
H A D | radeon_variable.c | 62 sub = &var_ptr->Inst->U.P.Alpha; 111 pair_inst->Alpha.Src[src_index] 113 pair_inst->Alpha.Src[src_index] 115 pair_inst->Alpha.Src[src_index] 379 &inst->U.P.Alpha);
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_program_pair.c | 58 if (alpha && pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Used 59 && index != pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) { 77 if (pair->Alpha.Src[i].Used) { 78 if (pair->Alpha.Src[i].File != file || 79 pair->Alpha.Src[i].Index != index) { 115 pair->Alpha.Src[candidate].Used = 1; 116 pair->Alpha.Src[candidate].File = file; 117 pair->Alpha.Src[candidate].Index = index; 123 pair->Alpha.Src[i].Used = 1; 147 pair->Alpha [all...] |
H A D | radeon_pair_translate.c | 170 pair->Alpha.Opcode = inst->Opcode; 172 pair->Alpha.Saturate = 1; 203 pair->Alpha.Src[i].File = 205 pair->Alpha.Src[i].Index = 207 pair->Alpha.Src[i].Used = 1; 268 pair->Alpha.Arg[i].Source = source; 269 pair->Alpha.Arg[i].Swizzle = rc_init_swizzle(swz, 1); 270 pair->Alpha.Arg[i].Abs = inst->SrcReg[i].Abs; 273 pair->Alpha.Arg[i].Negate = 277 pair->Alpha [all...] |
H A D | radeon_pair_dead_sources.c | 32 inst->U.P.Alpha.Src[sub->Arg[i].Source].Used = 1; 54 inst->U.P.Alpha.Src[i].Used = 0; 57 mark_used(inst, &inst->U.P.Alpha); 60 mark_used_presub(&inst->U.P.Alpha);
|
H A D | radeon_pair_schedule.c | 67 /** If the scheduler has paired an RGB and an Alpha instruction together, 255 else if (sinst->Instruction->U.P.Alpha.Opcode == RC_OPCODE_NOP) 307 !sinst->Instruction->U.P.Alpha.OutputWriteMask) { 312 Alpha.OutputWriteMask) { 342 sinst->Instruction->U.P.Alpha.Src[src_idx].Used; 511 assert(dst_full->Alpha.Opcode == RC_OPCODE_NOP); 522 dst_sub = &dst_full->Alpha; 597 /* This function assumes that rgb.Alpha and alpha.RGB are unused */ 604 assert(rgb->Alpha.Opcode == RC_OPCODE_NOP); 618 if (alpha->Alpha [all...] |
H A D | r300_fragprog_emit.c | 165 code->alu.inst[ip].alpha_inst = translate_alpha_opcode(c, inst->Alpha.Opcode); 176 /* Set the Alpha address */ 177 src = use_source(code, inst->Alpha.Src[j]); 178 if (inst->Alpha.Src[j].Index >= R300_PFS_NUM_TEMP_REGS) 188 arg = r300FPTranslateAlphaSwizzle(inst->Alpha.Arg[j].Source, inst->Alpha.Arg[j].Swizzle); 189 arg |= inst->Alpha.Arg[j].Abs << 6; 190 arg |= inst->Alpha.Arg[j].Negate << 5; 218 if (inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Used) { 219 switch(inst->Alpha [all...] |
H A D | radeon_program_print.c | 346 inst->RGB.Opcode : inst->Alpha.Opcode, branch_depth); 359 if (inst->Alpha.Src[src].Used) { 363 rc_print_register(f, inst->Alpha.Src[src].File, inst->Alpha.Src[src].Index, 0); 372 if(inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Used) { 375 inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Index)); 421 if (inst->Alpha.Opcode != RC_OPCODE_NOP) { 422 const struct rc_opcode_info * opcode = rc_get_opcode_info(inst->Alpha.Opcode); 427 fprintf(f, " %s%s", opcode->Name, inst->Alpha.Saturate ? "_SAT" : ""); 428 if (inst->Alpha [all...] |
H A D | r500_fragprog_emit.c | 174 unsigned int t = inst->Alpha.Arg[i].Source; 175 t |= fix_hw_swizzle(GET_SWZ(inst->Alpha.Arg[i].Swizzle, 0)) << 2; 176 t |= inst->Alpha.Arg[i].Negate << 5; 177 t |= inst->Alpha.Arg[i].Abs << 6; 248 if (inst->RGB.Opcode == RC_OPCODE_DDX || inst->Alpha.Opcode == RC_OPCODE_DDX || 249 inst->RGB.Opcode == RC_OPCODE_DDY || inst->Alpha.Opcode == RC_OPCODE_DDY) { 256 code->inst[ip].inst4 = translate_alpha_op(c, inst->Alpha.Opcode); 258 if (inst->RGB.OutputWriteMask || inst->Alpha.OutputWriteMask || inst->Alpha.DepthWriteMask) { 270 code->inst[ip].inst0 |= inst->Alpha [all...] |
H A D | radeon_dataflow.c | 90 inst->Alpha.Src[src].Index); 114 GET_SWZ(inst->Alpha.Arg[arg].Swizzle, chan); 118 inst->Alpha.Arg[arg].Source); 127 if (inst->Alpha.Src[src].Used && (refmasks[src] & RC_MASK_W)) 128 cb(userdata, fullinst, inst->Alpha.Src[src].File, inst->Alpha.Src[src].Index, RC_MASK_W); 161 U.P.Alpha.Src[RC_PAIR_PRESUB_SRC].Index; 162 src_array = fullinst->U.P.Alpha.Src; 231 pair_sub_for_all_args(inst, &inst->U.P.Alpha, cb, userdata); 275 if (inst->Alpha [all...] |
H A D | radeon_program_pair.h | 54 * {RGB,Alpha}.Src[RC_PAIR_PRESUB_SRC].File will be set to RC_FILE_PRESUB. 87 struct rc_pair_sub_instruction Alpha; member in struct:rc_pair_instruction
|
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/ |
H A D | polochallengeresponse.h | 27 typedef std::vector<uint8_t> Alpha, Gamma, Nonce; typedef in namespace:polo::pairing 41 virtual Alpha* GetAlpha(const Nonce& nonce) const;
|
H A D | polochallengeresponse.cc | 32 Alpha* PoloChallengeResponse::GetAlpha(const Nonce& nonce) const { 83 Alpha* alpha = new Alpha(SHA256_DIGEST_LENGTH); 97 const Alpha* alpha = GetAlpha(nonce);
|
H A D | pairingsession.cc | 109 const Alpha* gen_alpha = challenge().GetAlpha(*nonce_); 230 const Alpha* alpha = challenge().GetAlpha(*nonce_); 261 bool PairingSession::VerifySecret(const Alpha& secret) const { 267 const Alpha* gen_alpha = challenge().GetAlpha(*nonce_);
|
/external/google-tv-pairing-protocol/cpp/tests/polo/pairing/ |
H A D | mocks.h | 28 MOCK_CONST_METHOD1(GetAlpha, Alpha*(const Nonce& nonce));
|
H A D | pairingsessiontest.cc | 204 Alpha alpha(5, 0x3); 210 .WillOnce(Return(new Alpha(alpha))); 234 Alpha alpha(5, 0x3); 240 .WillOnce(Return(new Alpha(alpha))); 248 .WillOnce(Return(new Alpha(alpha))); 251 .WillOnce(Return(new Alpha(alpha))); 263 Alpha alpha(5, 0x3);
|
/external/clang/test/Misc/ |
H A D | diag-template-diffing.cpp | 115 class Alpha{}; class 123 void set4(Alpha<int, int>); 128 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'Beta<void, void>' to 'Alpha<int, int>' for 1st argument 130 // CHECK-NOELIDE-NOTREE: candidate function not viable: no known conversion from 'Beta<void, void>' to 'Alpha<int, int>' for 1st argument 132 // CHECK-ELIDE-TREE: candidate function not viable: no known conversion from 'Beta<void, void>' to 'Alpha<int, int>' for 1st argument 134 // CHECK-NOELIDE-TREE: candidate function not viable: no known conversion from 'Beta<void, void>' to 'Alpha<int, int>' for 1st argument 136 void set5(Alpha<Beta<Gamma<Delta<int, int>, int>, int>, int>); 138 set5(Alpha<Beta<Gamma<void, void>, double>, double>()); 141 // CHECK-ELIDE-NOTREE: candidate function not viable: no known conversion from 'Alpha<Beta<Gamma<void, void>, double>, double>' to 'Alpha<Bet [all...] |