/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
H A D | gen7_sampler_state.c | 194 struct gl_program *fs = (struct gl_program *) brw->fragment_program; local 196 GLbitfield SamplersUsed = vs->SamplersUsed | fs->SamplersUsed; 210 const unsigned unit = (fs->SamplersUsed & (1 << s)) ? 211 fs->SamplerUnits[s] : vs->SamplerUnits[s];
|
/external/chromium_org/third_party/opus/src/celt/ |
H A D | laplace.c | 51 void ec_laplace_encode(ec_enc *enc, int *value, unsigned fs, int decay) argument 62 fl = fs; 63 fs = ec_laplace_get_freq1(fs, decay); 65 for (i=1; fs > 0 && i < val; i++) 67 fs *= 2; 68 fl += fs+2*LAPLACE_MINP; 69 fs = (fs*(opus_int32)decay)>>15; 72 if (!fs) 94 ec_laplace_decode(ec_dec *dec, unsigned fs, int decay) argument [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
H A D | dtmf_tone_generator.cc | 14 // a = 2*cos(2*pi*f/fs). The recursion is started with x[-1] = 0 and 15 // x[-2] = sin(2*pi*f/fs). (Note that with this initialization, the resulting 16 // sinusoid gets a "negative" rotation; x[n] = sin(-2*pi*f/fs * n + phi), but 37 // The filter coefficient a = 2*cos(2*pi*f/fs) for the low frequency tone, for 38 // sample rates fs = {8000, 16000, 32000, 48000} Hz, and events 0 through 15. 50 // The filter coefficient a = 2*cos(2*pi*f/fs) for the high frequency tone, for 51 // sample rates fs = {8000, 16000, 32000, 48000} Hz, and events 0 through 15. 63 // The initialization value x[-2] = sin(2*pi*f/fs) for the low frequency tone, 64 // for sample rates fs = {8000, 16000, 32000, 48000} Hz, and events 0-15. 76 // The initialization value x[-2] = sin(2*pi*f/fs) fo 107 Init(int fs, int event, int attenuation) argument [all...] |
/external/clang/test/Analysis/ |
H A D | simple-stream-checks.c | 88 FileStruct fs; local 89 fs.p = fopen("myfile.txt", "w"); 90 fakeSystemHeaderCall(&fs); // invalidates fs, making fs.p unreachable
|
/external/compiler-rt/lib/asan/tests/ |
H A D | asan_fake_stack_test.cc | 96 FakeStack *fs = FakeStack::Create(stack_size_log); local 97 u8 *base = fs->GetFrame(stack_size_log, 0, 0); 98 EXPECT_EQ(base, reinterpret_cast<u8 *>(fs) + 99 fs->SizeRequiredForFlags(stack_size_log) + 4096); 100 EXPECT_EQ(base + 0*stack_size + 64 * 7, fs->GetFrame(stack_size_log, 0, 7U)); 101 EXPECT_EQ(base + 1*stack_size + 128 * 3, fs->GetFrame(stack_size_log, 1, 3U)); 102 EXPECT_EQ(base + 2*stack_size + 256 * 5, fs->GetFrame(stack_size_log, 2, 5U)); 103 fs->Destroy(0); 108 FakeStack *fs = FakeStack::Create(stack_size_log); local 116 FakeFrame *ff = fs 135 RecursiveFunction(FakeStack *fs, int depth) argument 147 FakeStack *fs = FakeStack::Create(stack_size_log); local [all...] |
/external/e2fsprogs/e2fsck/ |
H A D | ehandler.c | 32 ext2_filsys fs = (ext2_filsys) channel->app_data; local 35 ctx = (e2fsck_t) fs->priv_data; 79 ext2_filsys fs = (ext2_filsys) channel->app_data; local 82 ctx = (e2fsck_t) fs->priv_data;
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | dblist_dir.c | 22 static int db_dir_proc(ext2_filsys fs, struct ext2_db_entry2 *db_info, 47 retval = ext2fs_get_mem(dblist->fs->blocksize, &ctx.buf); 64 static int db_dir_proc(ext2_filsys fs, struct ext2_db_entry2 *db_info, argument 74 ret = ext2fs_process_dir_block(fs, &db_info->blk,
|
H A D | dirblock.c | 22 errcode_t ext2fs_read_dir_block3(ext2_filsys fs, blk64_t block, argument 31 retval = io_channel_read_blk64(fs->io, block, 1, buf); 36 end = (char *) buf + fs->blocksize; 49 if ((retval = ext2fs_get_rec_len(fs, dirent, &rec_len)) != 0) 61 errcode_t ext2fs_read_dir_block2(ext2_filsys fs, blk_t block, argument 64 return ext2fs_read_dir_block3(fs, block, buf, flags); 67 errcode_t ext2fs_read_dir_block(ext2_filsys fs, blk_t block, argument 70 return ext2fs_read_dir_block3(fs, block, buf, 0); 74 errcode_t ext2fs_write_dir_block3(ext2_filsys fs, blk64_t block, argument 84 retval = ext2fs_get_mem(fs 115 ext2fs_write_dir_block2(ext2_filsys fs, blk_t block, void *inbuf, int flags EXT2FS_ATTR((unused))) argument 121 ext2fs_write_dir_block(ext2_filsys fs, blk_t block, void *inbuf) argument [all...] |
H A D | expanddir.c | 28 static int expand_dir_proc(ext2_filsys fs, argument 46 (EXT2FS_B2C(fs, es->goal) == EXT2FS_B2C(fs, es->goal+1))) 49 es->goal &= ~EXT2FS_CLUSTER_MASK(fs); 50 retval = ext2fs_new_block2(fs, es->goal, 0, &new_blk); 56 ext2fs_block_alloc_stats2(fs, new_blk, +1); 59 retval = ext2fs_new_dir_block(fs, 0, 0, &block); 65 retval = ext2fs_write_dir_block(fs, new_blk, block); 67 retval = ext2fs_get_mem(fs->blocksize, &block); 72 memset(block, 0, fs 90 ext2fs_expand_dir(ext2_filsys fs, ext2_ino_t dir) argument [all...] |
H A D | read_bb_file.c | 32 errcode_t ext2fs_read_bb_FILE2(ext2_filsys fs, FILE *f, argument 35 void (*invalid)(ext2_filsys fs, 45 if (fs) 46 EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS); 63 if (fs && 64 ((blockno < fs->super->s_first_data_block) || 65 (blockno >= ext2fs_blocks_count(fs->super)))) { 67 (invalid)(fs, blockno, buf, priv_data); 81 static void call_compat_invalid(ext2_filsys fs, blk_t blk, argument 89 (st->invalid)(fs, bl 96 ext2fs_read_bb_FILE(ext2_filsys fs, FILE *f, ext2_badblocks_list *bb_list, void (*invalid)(ext2_filsys fs, blk_t blk)) argument [all...] |
H A D | unlink.c | 70 errcode_t ext2fs_unlink(ext2_filsys fs, ext2_ino_t dir, argument 77 EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS); 82 if (!(fs->flags & EXT2_FLAG_RW)) 92 retval = ext2fs_dir_iterate(fs, dir, DIRENT_FLAG_INCLUDE_EMPTY,
|
/external/libopus/celt/ |
H A D | laplace.c | 51 void ec_laplace_encode(ec_enc *enc, int *value, unsigned fs, int decay) argument 62 fl = fs; 63 fs = ec_laplace_get_freq1(fs, decay); 65 for (i=1; fs > 0 && i < val; i++) 67 fs *= 2; 68 fl += fs+2*LAPLACE_MINP; 69 fs = (fs*(opus_int32)decay)>>15; 72 if (!fs) 94 ec_laplace_decode(ec_dec *dec, unsigned fs, int decay) argument [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_zscan.h | 55 void *vs, *fs; member in struct:vl_zscan
|
/external/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_state_derived.c | 39 static uint find_mapping(const struct i915_fragment_shader* fs, int unit) argument 44 if (fs->generic_mapping[i] == unit) 59 const struct i915_fragment_shader *fs = i915->fs; local 73 for (i = 0; i < fs->info.num_inputs; i++) { 74 switch (fs->info.input_semantic_name[i]) { 78 texCoords[find_mapping(fs, unit)] = TRUE; 82 assert(fs->info.input_semantic_index[i] < 2); 83 colors[fs->info.input_semantic_index[i]] = TRUE; 88 uint unit = fs [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | gen7_sampler_state.c | 194 struct gl_program *fs = (struct gl_program *) brw->fragment_program; local 196 GLbitfield SamplersUsed = vs->SamplersUsed | fs->SamplersUsed; 210 const unsigned unit = (fs->SamplersUsed & (1 << s)) ? 211 fs->SamplerUnits[s] : vs->SamplerUnits[s];
|
/external/webrtc/src/modules/audio_processing/ns/ |
H A D | noise_suppression.c | 52 int WebRtcNs_Init(NsHandle* NS_inst, WebRtc_UWord32 fs) { argument 53 return WebRtcNs_InitCore((NSinst_t*) NS_inst, fs);
|
H A D | noise_suppression_x.c | 51 int WebRtcNsx_Init(NsxHandle* nsxInst, WebRtc_UWord32 fs) { argument 52 return WebRtcNsx_InitCore((NsxInst_t*)nsxInst, fs);
|
/external/chromium_org/gpu/command_buffer/tests/ |
H A D | gl_program_unittest.cc | 113 GLuint fs = GLTestHelper::LoadShader(GL_FRAGMENT_SHADER, f_red_shader_str); local 114 GLuint program = GLTestHelper::SetupProgram(vs, fs); 116 glShaderSource(fs, 1, &f_blue_shader_str, NULL); 117 glCompileShader(fs);
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
H A D | kernel_object_test.cc | 26 explicit NodeForTesting(Filesystem* fs) : Node(fs) {} argument 49 KernelHandleForTesting(const ScopedFilesystem& fs, const ScopedNode& node) argument 50 : KernelHandle(fs, node) {} 56 fs.reset(new FilesystemForTesting()); 57 node.reset(new NodeForTesting(fs.get())); 61 // fs is ref-counted, it doesn't need to be explicitly deleted. 63 fs.reset(NULL); 67 ScopedFilesystem fs; member in class:__anon8963::KernelObjectTest 75 EXPECT_EQ(1, fs [all...] |
/external/chromium_org/third_party/angle/samples/angle/multi_texture/ |
H A D | MultiTexture.cpp | 54 const std::string fs = SHADER_SOURCE local 71 mProgram = CompileProgram(vs, fs);
|
/external/chromium_org/third_party/angle/samples/angle/simple_instancing/ |
H A D | SimpleInstancing.cpp | 62 const std::string fs = SHADER_SOURCE local 73 mProgram = CompileProgram(vs, fs);
|
/external/chromium_org/third_party/angle/samples/angle/simple_vertex_shader/ |
H A D | SimpleVertexShader.cpp | 46 const std::string fs = SHADER_SOURCE local 56 mProgram = CompileProgram(vs, fs);
|
/external/chromium_org/third_party/angle/util/ |
H A D | shader_utils.cpp | 77 GLuint fs = CompileShader(GL_FRAGMENT_SHADER, fsSource); local 79 if (vs == 0 || fs == 0) 81 glDeleteShader(fs); 90 glAttachShader(program, fs); 91 glDeleteShader(fs);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
H A D | vl_idct.h | 52 void *vs, *fs; member in struct:vl_idct
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
H A D | r300_fs.h | 80 static INLINE boolean r300_fragment_shader_writes_depth(struct r300_fragment_shader *fs) argument 82 if (!fs) 84 return (fs->shader->code.writes_depth) ? TRUE : FALSE; 87 static INLINE boolean r300_fragment_shader_writes_all(struct r300_fragment_shader *fs) argument 89 if (!fs) 91 return (fs->shader->write_all) ? TRUE : FALSE;
|