HomeSort by relevance Sort by last modified time
    Searched refs:Alpha (Results 1 - 25 of 79) sorted by null

1 2 3 4

  /external/google-tv-pairing-protocol/cpp/src/polo/pairing/
polochallengeresponse.h 27 typedef std::vector<uint8_t> Alpha, Gamma, Nonce;
40 // Computes the alpha value based on the given nonce.
41 virtual Alpha* GetAlpha(const Nonce& nonce) const;
polochallengeresponse.cc 32 Alpha* PoloChallengeResponse::GetAlpha(const Nonce& nonce) const {
83 Alpha* alpha = new Alpha(SHA256_DIGEST_LENGTH); local
84 SHA256(buffer, buffer_size, &(*alpha)[0]);
93 return alpha;
97 const Alpha* alpha = GetAlpha(nonce); local
98 if (!alpha) {
104 if (alpha->size() >= nonce.size())
    [all...]
pairingsession.cc 109 const Alpha* gen_alpha = challenge().GetAlpha(*nonce_);
111 LOG(ERROR) << "Failed to get alpha";
230 const Alpha* alpha = challenge().GetAlpha(*nonce_); local
231 if (!alpha) {
232 LOG(ERROR) << "Failed to get alpha";
238 message::SecretAckMessage ack(*alpha);
239 delete alpha;
261 bool PairingSession::VerifySecret(const Alpha& secret) const {
267 const Alpha* gen_alpha = challenge().GetAlpha(*nonce_)
    [all...]
pairingsession.h 174 bool VerifySecret(const Alpha& secret) const;
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
radeon_program_pair.c 39 unsigned int rgb, unsigned int alpha,
48 if ((!rgb && !alpha) || file == RC_FILE_NONE)
58 if (alpha && pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Used
59 && index != pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) {
76 if (alpha) {
77 if (pair->Alpha.Src[i].Used) {
78 if (pair->Alpha.Src[i].File != file ||
79 pair->Alpha.Src[i].Index != index) {
95 || (alpha && alpha_used > 2))
    [all...]
radeon_pair_translate.c 133 unsigned int * alpha)
141 *alpha = 1;
170 pair->Alpha.Opcode = inst->Opcode;
172 pair->Alpha.Saturate = 1;
182 * pair->{RGB,ALPHA}.Src[RC_PAIR_PRESUB_SRC] */
193 unsigned int alpha = 0; local
194 src_uses(inst->SrcReg[j], &rgb, &alpha);
202 if(alpha) {
203 pair->Alpha.Src[i].File =
205 pair->Alpha.Src[i].Index
    [all...]
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);
radeon_pair_schedule.c 67 /** If the scheduler has paired an RGB and an Alpha instruction together,
68 * PairedInst references the alpha insturction's dependency information.
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;
498 * but no scalar instruction (alpha).
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 *
    [all...]
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.Src[RC_PAIR_PRESUB_SRC].Index)
    [all...]
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.WriteMask
    [all...]
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.WriteMask ? 1 << 14 : 0
    [all...]
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;
217 * alpha components.
231 pair_sub_for_all_args(inst, &inst->U.P.Alpha, cb, userdata)
    [all...]
radeon_program_pair.h 52 /* For rgb and alpha instructions when arg[n].Source = RC_PAIR_PRESUB_SRC, then
54 * {RGB,Alpha}.Src[RC_PAIR_PRESUB_SRC].File will be set to RC_FILE_PRESUB.
87 struct rc_pair_sub_instruction Alpha;
103 unsigned int rgb, unsigned int alpha,
  /external/mesa3d/src/gallium/drivers/r300/compiler/
radeon_program_pair.c 39 unsigned int rgb, unsigned int alpha,
48 if ((!rgb && !alpha) || file == RC_FILE_NONE)
58 if (alpha && pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Used
59 && index != pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) {
76 if (alpha) {
77 if (pair->Alpha.Src[i].Used) {
78 if (pair->Alpha.Src[i].File != file ||
79 pair->Alpha.Src[i].Index != index) {
95 || (alpha && alpha_used > 2))
    [all...]
radeon_pair_translate.c 133 unsigned int * alpha)
141 *alpha = 1;
170 pair->Alpha.Opcode = inst->Opcode;
172 pair->Alpha.Saturate = 1;
182 * pair->{RGB,ALPHA}.Src[RC_PAIR_PRESUB_SRC] */
193 unsigned int alpha = 0; local
194 src_uses(inst->SrcReg[j], &rgb, &alpha);
202 if(alpha) {
203 pair->Alpha.Src[i].File =
205 pair->Alpha.Src[i].Index
    [all...]
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);
radeon_pair_schedule.c 67 /** If the scheduler has paired an RGB and an Alpha instruction together,
68 * PairedInst references the alpha insturction's dependency information.
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;
498 * but no scalar instruction (alpha).
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 *
    [all...]
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.Src[RC_PAIR_PRESUB_SRC].Index)
    [all...]
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.WriteMask
    [all...]
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.WriteMask ? 1 << 14 : 0
    [all...]
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;
217 * alpha components.
231 pair_sub_for_all_args(inst, &inst->U.P.Alpha, cb, userdata)
    [all...]
radeon_program_pair.h 52 /* For rgb and alpha instructions when arg[n].Source = RC_PAIR_PRESUB_SRC, then
54 * {RGB,Alpha}.Src[RC_PAIR_PRESUB_SRC].File will be set to RC_FILE_PRESUB.
87 struct rc_pair_sub_instruction Alpha;
103 unsigned int rgb, unsigned int alpha,
  /external/google-tv-pairing-protocol/cpp/tests/polo/pairing/
mocks.h 28 MOCK_CONST_METHOD1(GetAlpha, Alpha*(const Nonce& nonce));
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)));
    [all...]
  /external/chromium_org/v8/test/mjsunit/
string-indexof-1.js 62 assertEquals(1, twoByteString.indexOf("\u0391"), "Alpha");
69 assertEquals(0, twoByteString.indexOf("\u039a\u0391"), "lambda Alpha");
70 assertEquals(1, twoByteString.indexOf("\u0391\u03a3"), "Alpha Sigma");
75 "Not Alpha Sigma Epsilon");

Completed in 399 milliseconds

1 2 3 4