/external/tensorflow/tensorflow/core/kernels/ |
identity_n_op.h | 28 OpInputList input; variable 30 OP_REQUIRES_OK(context, context->input_list("input", &input)); 32 OP_REQUIRES(context, input.size() == output.size(), 33 errors::InvalidArgument("Input and output counts must match")); 34 for (int i = 0; i < input.size(); ++i) { 35 output.set(i, input[i]);
|
mfcc_test.cc | 27 std::vector<double> input; local 29 input.reserve(kSampleCount); 31 input.push_back(i + 1); 34 ASSERT_TRUE(mfcc.Initialize(input.size(), 22050 /*sample rate*/)); 37 mfcc.Compute(input, &output); 52 std::vector<double> input; local 54 input.reserve(kSampleCount); 56 input.push_back(0.0); 59 ASSERT_TRUE(mfcc.Initialize(input.size(), 22050 /*sample rate*/)); 62 mfcc.Compute(input, &output) [all...] |
/external/tensorflow/tensorflow/core/ops/ |
manip_ops.cc | 24 .Input("input: T") 25 .Input("shift: Tshift") 26 .Input("axis: Taxis") 33 // The `input` must be 1-D or higher 34 TF_RETURN_IF_ERROR(c->WithRankAtLeast(c->input(0), 1, &unused)); 36 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(1), 1, &unused)); 38 TF_RETURN_IF_ERROR(c->WithRankAtMost(c->input(2), 1, &unused)); 40 TF_RETURN_IF_ERROR(c->Merge(c->input(1), c->input(2), &unused)) [all...] |
/external/webrtc/webrtc/test/ |
video_capturer.cc | 29 VideoCapturer::VideoCapturer(VideoCaptureInput* input) : input_(input) { 32 VideoCapturer* VideoCapturer::Create(VideoCaptureInput* input, 37 VcmCapturer* vcm_capturer = VcmCapturer::Create(input, width, height, fps); 45 FrameGeneratorCapturer::Create(input, width, height, fps, clock);
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/ |
StringEscapeUtils.java | 48 * input string: He didn't say, "Stop!" 52 * @param input String to escape values in, may be null 53 * @return String with escaped values, {@code null} if null string input 55 public static String escapeJava(final String input) { 56 return ESCAPE_JAVA.translate(input); 65 * @param input the {@code String} to unescape, may be null 66 * @return a new unescaped {@code String}, {@code null} if null string input 68 public static String unescapeJava(final String input) { 69 return UNESCAPE_JAVA.translate(input); 129 * @param input CharSequence that is being translate [all...] |
/external/harfbuzz_ng/util/ |
main-font-text.hh | 56 input (&options), 66 if (argc && !input.text && !input.text_file) input.text = locale_to_utf8 (argv[0]), argc--, argv++; 71 if (!input.text && !input.text_file) 72 input.text_file = g_strdup ("-"); 80 while ((text = input.get_line (&text_len))) 81 consumer.consume_line (text, text_len, input.text_before, input.text_after) 91 text_options_t input; member in struct:main_font_text_t [all...] |
/external/antlr/runtime/ObjC/Framework/examples/simplecTreeParser/ |
SimpleCTP.java | 41 public SimpleCTP(TreeNodeStream input) { 42 this(input, new RecognizerSharedState()); 44 public SimpleCTP(TreeNodeStream input, RecognizerSharedState state) { 45 super(input, state); 67 int LA1_0 = input.LA(1); 90 new EarlyExitException(1, input); 102 recover(input,re); 117 switch ( input.LA(1) ) { 135 new NoViableAltException("", 2, 0, input); 155 match(input,FUNC_DECL,FOLLOW_FUNC_DECL_in_declaration74); [all...] |
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
Tracer.cs | 47 public IIntStream input; field in class:Antlr.Runtime.Debug.Tracer 50 public Tracer( IIntStream input ) 52 this.input = input; 77 if ( input is ITokenStream ) 79 return ( (ITokenStream)input ).LT( k ); 81 return (char)input.LA( k );
|
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
Tracer.java | 38 public IntStream input; field in class:Tracer 41 public Tracer(IntStream input) { 42 this.input = input; 58 if ( input instanceof TokenStream ) { 59 return ((TokenStream)input).LT(k); 61 return (char) input.LA(k);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/ |
TeeInputStream.java | 8 * An input stream which copies anything read through it to another stream. 13 private final InputStream input; field in class:TeeInputStream 19 * @param input input stream to be wrapped. 20 * @param output output stream to copy any input read to. 22 public TeeInputStream(InputStream input, OutputStream output) 24 this.input = input; 37 int i = input.read(buf, off, len); 50 int i = input.read() [all...] |
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/io/ |
TeeInputStream.java | 9 * An input stream which copies anything read through it to another stream. 15 private final InputStream input; field in class:TeeInputStream 21 * @param input input stream to be wrapped. 22 * @param output output stream to copy any input read to. 24 public TeeInputStream(InputStream input, OutputStream output) 26 this.input = input; 39 int i = input.read(buf, off, len); 52 int i = input.read() [all...] |
/external/compiler-rt/lib/builtins/ |
ashrdi3.c | 27 dwords input; local 29 input.all = a; 32 /* result.s.high = input.s.high < 0 ? -1 : 0 */ 33 result.s.high = input.s.high >> (bits_in_word - 1); 34 result.s.low = input.s.high >> (b - bits_in_word); 40 result.s.high = input.s.high >> b; 41 result.s.low = (input.s.high << (bits_in_word - b)) | (input.s.low >> b);
|
ashrti3.c | 27 twords input; local 29 input.all = a; 32 /* result.s.high = input.s.high < 0 ? -1 : 0 */ 33 result.s.high = input.s.high >> (bits_in_dword - 1); 34 result.s.low = input.s.high >> (b - bits_in_dword); 40 result.s.high = input.s.high >> b; 41 result.s.low = (input.s.high << (bits_in_dword - b)) | (input.s.low >> b);
|
/art/libartbase/base/ |
transform_iterator_test.cc | 44 std::vector<ValueHolder> input({ 1, 7, 3, 8 }); 47 using vector_titer = decltype(MakeTransformIterator(input.begin(), add1)); 54 using vector_ctiter = decltype(MakeTransformIterator(input.cbegin(), add1)); 61 using vector_rtiter = decltype(MakeTransformIterator(input.rbegin(), add1)); 68 using vector_crtiter = decltype(MakeTransformIterator(input.crbegin(), add1)); 75 std::copy(MakeTransformIterator(input.begin(), add1), 76 MakeTransformIterator(input.end(), add1), 81 std::copy(MakeTransformIterator(input.cbegin(), add1), 82 MakeTransformIterator(input.cend(), add1), 87 std::copy(MakeTransformIterator(input.rbegin(), add1) [all...] |
/cts/tests/app/src/android/app/cts/ |
RemoteInputTest.java | 33 RemoteInput input = newDataOnlyRemoteInput(); local 35 assertTrue(input.isDataOnly()); 36 assertFalse(input.getAllowFreeFormInput()); 37 assertTrue(input.getChoices() == null || input.getChoices().length == 0); 39 input.getEditChoicesBeforeSending()); 40 assertEquals(1, input.getAllowedDataTypes().size()); 41 assertTrue(input.getAllowedDataTypes().contains(MIME_TYPE)); 45 RemoteInput input = newTextRemoteInput(); local 47 assertFalse(input.isDataOnly()) 56 RemoteInput input = newChoicesOnlyRemoteInput(); local 70 RemoteInput input = local 86 RemoteInput input = local 113 RemoteInput input = newDataOnlyRemoteInput(); local 124 RemoteInput input = newTextRemoteInput(); local 139 RemoteInput input = newTextAndDataRemoteInput(); local 154 RemoteInput input = newTextAndDataRemoteInput(); local 174 RemoteInput input = newTextAndDataRemoteInput(); local 194 RemoteInput input = newTextAndDataRemoteInput(); local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/ |
quopri_codec.py | 12 def quopri_encode(input, errors='strict'):
13 """Encode the input, returning a tuple (output object, length consumed).
22 f = StringIO(str(input))
26 return (output, len(input))
28 def quopri_decode(input, errors='strict'):
29 """Decode the input, returning a tuple (output object, length consumed).
37 f = StringIO(str(input))
41 return (output, len(input))
45 def encode(self, input,errors='strict'):
46 return quopri_encode(input,errors) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/ |
quopri_codec.py | 12 def quopri_encode(input, errors='strict'):
13 """Encode the input, returning a tuple (output object, length consumed).
22 f = StringIO(str(input))
26 return (output, len(input))
28 def quopri_decode(input, errors='strict'):
29 """Decode the input, returning a tuple (output object, length consumed).
37 f = StringIO(str(input))
41 return (output, len(input))
45 def encode(self, input,errors='strict'):
46 return quopri_encode(input,errors) [all...] |
/external/antlr/runtime/Perl5/lib/ANTLR/Runtime/ |
RecognitionException.pm | 11 has 'input' => ( 64 my $input = $args->{input}; 65 $new_args->{input} = $input; 66 $new_args->{index} = $input->index(); 68 if ($input->does('ANTLR::Runtime::TokenStream')) { 69 my $token = $input->LT(1); 75 if ($input->does('ANTLR::Runtime::TreeNodeStream')) { 76 # extract_information_from_tree_node_stream($input); [all...] |
/external/mesa3d/src/util/ |
roundeven_test.c | 35 float input, expected; member in struct:__anon34486 52 double input, expected; member in struct:__anon34487 72 float output = _mesa_roundevenf(float_data[i].input); 79 float_data[i].input, 80 float_data[i].input, 89 float output = _mesa_roundevenf(-float_data[i].input); 97 -float_data[i].input, 98 -float_data[i].input, 106 double output = _mesa_roundeven(double_data[i].input); 113 double_data[i].input, [all...] |
/external/python/cpython2/Lib/encodings/ |
quopri_codec.py | 12 def quopri_encode(input, errors='strict'): 13 """Encode the input, returning a tuple (output object, length consumed). 22 f = StringIO(str(input)) 26 return (output, len(input)) 28 def quopri_decode(input, errors='strict'): 29 """Decode the input, returning a tuple (output object, length consumed). 37 f = StringIO(str(input)) 41 return (output, len(input)) 45 def encode(self, input,errors='strict'): 46 return quopri_encode(input,errors [all...] |
/external/python/cpython3/Lib/encodings/ |
quopri_codec.py | 10 def quopri_encode(input, errors='strict'): 12 f = BytesIO(input) 15 return (g.getvalue(), len(input)) 17 def quopri_decode(input, errors='strict'): 19 f = BytesIO(input) 22 return (g.getvalue(), len(input)) 25 def encode(self, input, errors='strict'): 26 return quopri_encode(input, errors) 27 def decode(self, input, errors='strict'): 28 return quopri_decode(input, errors [all...] |
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/ |
RecognitionException.java | 54 * problem occurred and/or what was the expected input. While the parser 55 * knows its state (such as current input symbol and line info) that 58 * perhaps print an entire line of input not just a single token, for example. 63 /** What input stream did the error occur in? */ 64 public transient IntStream input; field in class:RecognitionException 102 public RecognitionException(IntStream input) { 103 this.input = input; 104 this.index = input.index(); 105 if ( input instanceof TokenStream ) [all...] |
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/ |
RecognitionException.js | 18 * problem occurred and/or what was the expected input. While the parser 19 * knows its state (such as current input symbol and line info) that 22 * perhaps print an entire line of input not just a single token, for example. 27 * @param {org.antlr.runtime.CommonTokenStream|org.antlr.runtime.tree.TreeNodeStream|org.antlr.runtime.ANTLRStringStream} input input stream that has an exception. 31 org.antlr.runtime.RecognitionException = function(input) { 33 this.input = input; 34 this.index = input.index(); 35 if ( input instanceof org.antlr.runtime.TokenStream ) [all...] |
/external/libvpx/libvpx/vp9/common/ |
vp9_idct.c | 20 void vp9_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int stride, 36 IHT_4[tx_type].rows(input, outptr); 37 input += 4; 59 void vp9_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int stride, 69 ht.rows(input, outptr); 70 input += 8; 92 void vp9_iht16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int stride, 102 ht.rows(input, outptr); 103 input += 16; 119 void vp9_idct4x4_add(const tran_low_t *input, uint8_t *dest, int stride [all...] |
/frameworks/av/media/libaaudio/tests/ |
test_flowgraph.cpp | 40 static const float input[] = {1.0f, 0.5f, -0.25f, -1.0f, 0.0f, 53.9f, -87.2f}; local 46 int numInputFrames = sizeof(input) / sizeof(input[0]); 47 sourceFloat.setData(input, numInputFrames); 48 sourceFloat.output.connect(&sinkI16.input); 59 static const float input[] = {1.0f, 2.0f, 3.0f}; local 65 sourceFloat.setData(input, 3); 67 sourceFloat.output.connect(&monoToStereo.input); 68 monoToStereo.output.connect(&sinkFloat.input); 72 EXPECT_EQ(input[0], output[0]) 112 static const uint8_t input[] = {0x01, 0x23, 0x45, local 134 static const float input[] = {-9.7, 0.5f, -0.25, 1.0f, 12.3}; local [all...] |