/external/chromium_org/ui/gfx/ |
sequential_id_generator_unittest.cc | 16 SequentialIDGenerator generator(kMinID); 18 EXPECT_EQ(2U, generator.GetGeneratedID(45)); 19 EXPECT_EQ(3U, generator.GetGeneratedID(23)); 20 EXPECT_EQ(2U, generator.GetGeneratedID(45)); 21 EXPECT_TRUE(generator.HasGeneratedIDFor(45)); 22 EXPECT_TRUE(generator.HasGeneratedIDFor(23)); 24 generator.ReleaseGeneratedID(2); 25 EXPECT_FALSE(generator.HasGeneratedIDFor(45)); 26 EXPECT_TRUE(generator.HasGeneratedIDFor(23)); 27 EXPECT_EQ(3U, generator.GetGeneratedID(23)) [all...] |
/external/chromium_org/net/quic/test_tools/ |
quic_packet_generator_peer.cc | 15 QuicPacketGenerator* generator) { 16 return &generator->packet_creator_;
|
quic_packet_generator_peer.h | 19 static QuicPacketCreator* GetPacketCreator(QuicPacketGenerator* generator);
|
/external/pdfium/core/src/fxge/agg/agg23/ |
agg_conv_stroke.h | 38 base_type::generator().line_cap(lc); 42 base_type::generator().line_join(lj); 46 base_type::generator().inner_join(ij); 50 return base_type::generator().line_cap(); 54 return base_type::generator().line_join(); 58 return base_type::generator().inner_join(); 62 base_type::generator().width(w); 66 base_type::generator().miter_limit(ml); 70 base_type::generator().miter_limit_theta(t); 74 base_type::generator().inner_miter_limit(ml) [all...] |
agg_conv_dash.h | 37 base_type::generator().remove_all_dashes(); 41 base_type::generator().add_dash(dash_len, gap_len); 45 base_type::generator().dash_start(ds); 49 base_type::generator().shorten(s); 53 return base_type::generator().shorten();
|
/external/nanopb-c/tools/ |
make_linux_package.sh | 19 make -BC $DEST/generator/proto 21 # Make the nanopb generator available as a protoc plugin 22 cp $DEST/generator/nanopb_generator.py $DEST/generator/protoc-gen-nanopb.py 25 ( cd $DEST/generator; bbfreeze nanopb_generator.py protoc-gen-nanopb.py ) 26 mv $DEST/generator/dist $DEST/generator-bin 29 rm $DEST/generator/protoc-gen-nanopb.py 32 cp `which protoc` $DEST/generator-bin/protoc.bin 34 cp $LIBPROTOC $DEST/generator-bin [all...] |
make_mac_package.sh | 21 make -BC $DEST/generator/proto 24 ( cd $DEST/generator; pyinstaller nanopb_generator.py ) 25 mv $DEST/generator/dist/nanopb_generator $DEST/generator-bin 28 rm -rf $DEST/generator/dist $DEST/generator/build $DEST/generator/nanopb_generator.spec 30 # Make the nanopb generator available as a protoc plugin 31 cp $DEST/generator-bin/nanopb_generator $DEST/generator-bin/protoc-gen-nanop [all...] |
set_version.sh | 5 # It sets the version number in pb.h and generator/nanopb_generator.py. 7 sed -i -e 's/nanopb_version\s*=\s*"[^"]*"/nanopb_version = "'$1'"/' generator/nanopb_generator.py
|
/external/chromium_org/ash/accelerators/ |
spoken_feedback_toggler_unittest.cc | 21 ui::test::EventGenerator& generator = GetEventGenerator(); local 24 generator.PressKey(ui::VKEY_F6, ui::EF_SHIFT_DOWN); 26 generator.ReleaseKey(ui::VKEY_F6, 0); 30 generator.PressKey(ui::VKEY_F6, ui::EF_SHIFT_DOWN); 32 generator.PressKey(ui::VKEY_F6, ui::EF_SHIFT_DOWN); 34 generator.PressKey(ui::VKEY_F6, ui::EF_SHIFT_DOWN); 36 generator.ReleaseKey(ui::VKEY_F6, 0); 40 generator.PressKey(ui::VKEY_F6, ui::EF_SHIFT_DOWN); 42 generator.PressKey(ui::VKEY_F6, ui::EF_SHIFT_DOWN); 44 generator.PressKey(ui::VKEY_F6, ui::EF_SHIFT_DOWN) [all...] |
/external/chromium_org/tools/ipc_fuzzer/mutate/ |
generate.cc | 48 class Generator { 102 class GeneratorImpl : public Generator { 173 static bool Generate(P* p, Generator *generator) { 183 static bool GenerateParam(P* p, Generator* generator) { 184 return GenerateTraits<P>::Generate(p, generator); 190 static bool Generate(bool* p, Generator* generator) { 191 generator->GenerateBool(p) 1309 Generator* generator = new GeneratorImpl(); local [all...] |
/libcore/luni/src/main/java/java/security/spec/ |
ECParameterSpec.java | 28 // Distinguished point on the elliptic curve called generator or base point 29 private final ECPoint generator; field in class:ECParameterSpec 30 // Order of the generator 39 * the base point, the order of the generator (or base point) and the 44 * @param generator 45 * the generator (or base point). 47 * the order of the generator. 53 public ECParameterSpec(EllipticCurve curve, ECPoint generator, 56 this.generator = generator; [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
GradientGeneratedImage.h | 40 static PassRefPtr<GradientGeneratedImage> create(PassRefPtr<Gradient> generator, const IntSize& size) 42 return adoptRef(new GradientGeneratedImage(generator, size)); 56 GradientGeneratedImage(PassRefPtr<Gradient> generator, const IntSize& size) 57 : m_gradient(generator)
|
/libcore/support/src/test/java/tests/security/ |
AlgorithmParameterGeneratorTest.java | 34 AlgorithmParameterGenerator generator = null; local 36 generator = AlgorithmParameterGenerator.getInstance(algorithmName); 41 generator.init(1024); 43 AlgorithmParameters parameters = generator.generateParameters();
|
/external/chromium_org/ash/frame/caption_buttons/ |
frame_size_button_unittest.cc | 165 ui::test::EventGenerator& generator = GetEventGenerator(); local 166 generator.MoveMouseTo(CenterPointInScreen(size_button())); 167 generator.PressLeftButton(); 169 generator.ReleaseLeftButton(); 173 generator.MoveMouseTo(CenterPointInScreen(size_button())); 174 generator.PressTouchId(3); 176 generator.ReleaseTouchId(3); 186 ui::test::EventGenerator& generator = GetEventGenerator(); local 187 generator.MoveMouseTo(CenterPointInScreen(size_button())); 188 generator.ClickLeftButton() 213 ui::test::EventGenerator& generator = GetEventGenerator(); local 270 ui::test::EventGenerator& generator = GetEventGenerator(); local 287 ui::test::EventGenerator& generator = GetEventGenerator(); local 306 ui::test::EventGenerator& generator = GetEventGenerator(); local 377 ui::test::EventGenerator& generator = GetEventGenerator(); local 447 ui::test::EventGenerator& generator = GetEventGenerator(); local [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
ObjCTarget.java | 40 CodeGenerator generator, 46 generator.write(headerFileST, grammar.name + Grammar.grammarTypeToFileNameSuffix[grammar.type] + extName); 49 public String getTargetCharLiteralFromANTLRCharLiteral(CodeGenerator generator, 70 public String getTargetStringLiteralFromANTLRStringLiteral(CodeGenerator generator, 82 public String getTokenTypeAsTargetLabel(CodeGenerator generator, int ttype) { 83 String name = generator.grammar.getTokenDisplayName(ttype); 89 //return generator.grammar.name + Grammar.grammarTypeToFileNameSuffix[generator.grammar.type] + "_" + name; 90 //return super.getTokenTypeAsTargetLabel(generator, ttype); 91 //return this.getTokenTextAndTypeAsTargetLabel(generator, null, ttype) [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
CollectionTestSuiteBuilder.java | 30 TestCollectionGenerator<E> generator) { 31 return new CollectionTestSuiteBuilder<E>().usingGenerator(generator);
|
OneSizeGenerator.java | 27 * Generator for collection of a particular size. 35 private final TestContainerGenerator<T, E> generator; field in class:OneSizeGenerator 38 public OneSizeGenerator(TestContainerGenerator<T, E> generator, 40 this.generator = generator; 46 return generator; 51 return generator.samples(); 56 return generator.create(elements); 61 return generator.createArray(length); 68 return generator.create(elements.toArray()) [all...] |
/external/deqp/scripts/build/ |
build.py | 9 def initBuildDir (config, generator): 15 # Generator args 16 cfgArgs += generator.getGenerateArgs(config.getBuildType()) 25 def build (config, generator, targets = None): 27 initBuildDir(config, generator) 30 buildArgs = generator.getBuildArgs(config.getBuildType())
|
/external/chromium_org/third_party/skia/src/lazy/ |
SkCachingPixelRef.cpp | 12 bool SkCachingPixelRef::Install(SkImageGenerator* generator, 16 if ((NULL == generator) 17 || !(generator->getInfo(&info)) 19 SkDELETE(generator); 23 (info, generator, dst->rowBytes()))); 29 SkImageGenerator* generator, 32 , fImageGenerator(generator)
|
/libcore/luni/src/test/java/libcore/java/security/ |
OldKeyPairGeneratorTestDH.java | 28 KeyPairGenerator generator = KeyPairGenerator.getInstance("DH"); local 30 generator.initialize(1024); 32 KeyPair keyPair = generator.generateKeyPair();
|
/external/chromium_org/components/rappor/ |
byte_vector_utils_unittest.cc | 59 ByteVectorGenerator generator(2u); 60 ByteVector random_50 = generator.GetWeightedRandomByteVector(PROBABILITY_50); 62 ByteVector random_75 = generator.GetWeightedRandomByteVector(PROBABILITY_75); 67 HmacByteVectorGenerator generator(1u, 69 ByteVector random_50 = generator.GetWeightedRandomByteVector(PROBABILITY_50); 72 ByteVector random_75 = generator.GetWeightedRandomByteVector(PROBABILITY_75); 90 HmacByteVectorGenerator generator(1024u / 8, entropy_input, ""); 91 generator.GetWeightedRandomByteVector(PROBABILITY_50); 92 SecondRequest generator2(generator); 100 ByteVectorGenerator generator(50u) [all...] |
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
TestTemplates.java | 66 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); local 67 g.setCodeGenerator(generator); 68 generator.genRecognizer(); // forces load of templates 70 new ActionTranslator(generator, 103 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); local 104 g.setCodeGenerator(generator); 105 generator.genRecognizer(); // forces load of templates 107 new ActionTranslator(generator, 141 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); local 142 g.setCodeGenerator(generator); 177 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); local 212 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); local 248 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); local 282 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); local 306 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); local 334 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
PBE.java | 63 PBEParametersGenerator generator; local 71 // generator = new PKCS5S1ParametersGenerator(new MD2Digest()); 76 generator = new PKCS5S1ParametersGenerator(AndroidDigestFactory.getMD5()); 81 generator = new PKCS5S1ParametersGenerator(AndroidDigestFactory.getSHA1()); 94 // generator = new PKCS5S2ParametersGenerator(new MD2Digest()); 99 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getMD5()); 104 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA1()); 109 // generator = new PKCS5S2ParametersGenerator(new RIPEMD160Digest()); 112 // generator = new PKCS5S2ParametersGenerator(new TigerDigest()); 117 generator = new PKCS5S2ParametersGenerator(AndroidDigestFactory.getSHA256()) 193 PBEParametersGenerator generator = makePBEGenerator(pbeKey.getType(), pbeKey.getDigest()); local 252 PBEParametersGenerator generator = makePBEGenerator(pbeKey.getType(), pbeKey.getDigest()); local 284 PBEParametersGenerator generator = makePBEGenerator(type, hash); local 321 PBEParametersGenerator generator = makePBEGenerator(type, hash); local [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/ |
plugin.h | 33 // Front-end for protoc code generator plugins written in C++. 38 // MyCodeGenerator generator; 39 // return google::protobuf::compiler::PluginMain(argc, argv, &generator); 65 // Implements main() for a protoc plugin exposing the given code generator. 66 LIBPROTOC_EXPORT int PluginMain(int argc, char* argv[], const CodeGenerator* generator);
|
/external/protobuf/src/google/protobuf/compiler/ |
plugin.h | 33 // Front-end for protoc code generator plugins written in C++. 38 // MyCodeGenerator generator; 39 // return google::protobuf::compiler::PluginMain(argc, argv, &generator); 66 // Implements main() for a protoc plugin exposing the given code generator. 67 LIBPROTOC_EXPORT int PluginMain(int argc, char* argv[], const CodeGenerator* generator);
|