/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | noise_gen_amrwb.cpp | 47 int16 * seed seed for the random ng 112 int16 noise_gen_amrwb(int16 * seed) argument 114 /* int16 seed = 21845; */ 115 *seed = (int16)fxp_mac_16by16(*seed, 31821, 13849L); 117 return (*seed);
|
H A D | e_pv_amrwbdec.h | 106 int16 seed; /* random memory for frame erasure */ member in struct:__anon604
|
H A D | lagconceal.cpp | 51 int16 * seed, 143 int16 * seed, 222 D = noise_gen_amrwb(seed); /* D={-1, ...,1} */ 307 D = noise_gen_amrwb(seed); /* D={-1,.., 1} */ 138 lagconceal( int16 gain_hist[], int16 lag_hist[], int16 * T0, int16 * old_T0, int16 * seed, int16 unusable_frame ) argument
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | random.c | 27 Word16 Random(Word16 * seed) argument 29 /* static Word16 seed = 21845; */ 30 *seed = (Word16)(L_add((L_mult(*seed, 31821) >> 1), 13849L)); 31 return (*seed);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | DynamicIdMap.java | 33 public DynamicIdMap(int seed) { argument 34 mDynamicSeed = seed; 37 public void reset(int seed) { argument 40 mDynamicSeed = seed;
|
/frameworks/compile/linkloader/ |
H A D | main.cpp | 95 void stub_srand(unsigned int seed) { argument 96 srand(seed);
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | StringHash.h | 141 const size_t seed = 131; local 145 hash_val = (hash_val * seed) + pKey[i];
|
/frameworks/base/core/java/android/util/ |
H A D | MathUtils.java | 177 public static void randomSeed(long seed) { argument 178 sRandom.setSeed(seed);
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcStress.cpp | 203 void initFrames(unsigned int seed); 532 // sets the seed on each pass. Defensively set it here 551 void initFrames(unsigned int seed) argument 558 if (verbose) { testPrintI("initFrames seed: %u", seed); } 559 srand48(seed);
|
/frameworks/av/media/libstagefright/omx/tests/ |
H A D | OMXHarness.cpp | 787 " -s(eed) Set the random seed\n" 807 unsigned long seed = 0xdeadbeef; local 818 fprintf(stderr, "Malformed seed.\n"); 822 seed = x; 844 "with \"%s -s %lu\"\n", me, seed); 846 srand(seed);
|
/frameworks/base/core/java/android/net/dhcp/ |
H A D | DhcpPacket.java | 267 // needed to seed the IP checksum. 373 * payload) on the specified portion of a ByteBuffer. The seed 376 private int checksum(ByteBuffer buf, int seed, int start, int end) { argument 377 int sum = seed;
|
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerBaseTest.java | 110 * Creates RNG with self-generated seed value. 119 * Creats RNG with given initial seed value 121 * @param seed The initial seed value 123 public LoggingRng(long seed) { argument 124 super(seed); 125 Log.i(LOG_TAG, "Seeding RNG with value: " + seed);
|
/frameworks/native/opengl/tests/angeles/ |
H A D | demo.c | 46 static void seedRandom(unsigned long seed) argument 48 sRandomSeed = seed;
|