/external/chromium_org/chrome/browser/policy/ |
H A D | policy_browsertest.cc | 3 // found in the LICENSE file. 220 // Filters requests to the hosts in |urls| and redirects them to the test data 236 // Remove filters for requests to the hosts in |urls|. 256 // While |MakeRequestFail| is in scope URLRequests to |host| will fail. 294 // points at empty.html in the test data dir. 368 // Checks if WebGL is enabled in the given WebContents. 394 const std::vector<content::WebPluginInfo>& in) { 395 *out = in; 400 void CopyValueAndQuit(T* out, T in) { argument 401 *out = in; 393 CopyPluginListAndQuit(std::vector<content::WebPluginInfo>* out, const std::vector<content::WebPluginInfo>& in) argument [all...] |
/external/chromium_org/chrome/browser/prefs/ |
H A D | prefs_syncable_service_unittest.cc | 3 // found in the LICENSE file. 269 syncer::SyncDataList in; local 271 AddToRemoteDataList(prefs::kHomePage, base::StringValue(kExampleUrl1), &in); 275 AddToRemoteDataList(prefs::kURLsToRestoreOnStartup, urls_to_restore, &in); 278 &in); 279 InitWithSyncDataTakeOutput(in, &out); 304 syncer::SyncDataList in; local 310 &in); 311 InitWithSyncDataTakeOutput(in, &out); 345 syncer::SyncDataList in; local 389 syncer::SyncDataList in; local 440 syncer::SyncDataList in; local 588 syncer::SyncDataList in; local [all...] |
/external/chromium_org/chrome/browser/printing/ |
H A D | print_preview_pdf_generated_browsertest.cc | 3 // found in the LICENSE file. 58 // Number of color channels in a BGRA bitmap. 212 // Returns the setting that could not be set in the preview dialog. 530 // Redirects |std::cin| to the file |stdin_path|. |in| is not freed because 533 std::ifstream* in = new std::ifstream(stdin_path.value().c_str()); local 534 ASSERT_TRUE(in->is_open()); 535 std::cin.rdbuf(in->rdbuf()); 548 // Generates a png from bitmap data and stores it in |png_output_|. 590 // Gets the page count and maximum page width of the PDF in points. 645 // from stderr in additio [all...] |
/external/chromium_org/chrome/browser/sync/sessions/ |
H A D | sessions_sync_manager_unittest.cc | 3 // found in the LICENSE file. 322 // Test that the SyncSessionManager can properly fill in a SessionHeader. 479 // A file:// entry isn't valid, even in addition to another entry. 760 // Tests that the local session header objects is created properly in 792 // Now take that header node and feed it in as input. 799 syncer::SyncDataList in(&d, &d + 1); 803 syncer::SESSIONS, in, 826 syncer::SyncDataList in; local 828 InitWithSyncDataTakeOutput(in, &out); 857 in [all...] |
/external/chromium_org/chrome/installer/mac/third_party/bsdiff/ |
H A D | goobspatch.c | 5 * Redistribution and use in source and binary forms, with or without 10 * 2. Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in the 73 /* in and out are the underlying buffers to be used with lzma_stream. */ 74 u_char in[BUFSIZ]; member in struct:__anon5716 80 /* read_out points to the first byte in out not yet consumed by an 81 * xzread call. read_out_len tracks the amount of data available in 174 xzf->ls.next_in = xzf->in; 175 xzf->ls.avail_in = fread(xzf->in, 1, BUFSIZ, 199 * LZMA_CONCATENATED is not in us [all...] |
/external/chromium_org/chrome/utility/importer/ |
H A D | nss_decryptor_system_nss.cc | 3 // found in the LICENSE file. 19 // Deliberately leave the user db open, just in case we need to open more 40 // This method is based on some NSS code in 49 * 1.1 (the "License"); you may not use this file except in compliance with 71 * in which case the provisions of the GPL or the LGPL are applicable instead 149 SECItem *params, SECItem *in, SECItem *result) 161 paddedResult.len = in->len; 167 in->data, in->len); 215 * 'likely' that (1 in 25 147 pk11Decrypt(PK11SlotInfo *slot, PLArenaPool *arena, CK_MECHANISM_TYPE type, PK11SymKey *key, SECItem *params, SECItem *in, SECItem *result) argument [all...] |
/external/chromium_org/content/browser/ |
H A D | byte_stream.cc | 3 // found in the LICENSE file. 25 // cleared in an object destructor and accessed to check for object 45 // happen in the context of their SequencedTaskRunner. 79 // All data objects in this class are only valid to access on 162 // Time of last point at which data in stream transitioned from full 290 // Valid contexts in which to call. 457 ByteStreamWriterImpl* in = new ByteStreamWriterImpl( local 462 in->SetPeer(out, output_task_runner, output_flag); 463 out->SetPeer(in, input_task_runner, input_flag); 464 input->reset(in); [all...] |
/external/chromium_org/courgette/ |
H A D | streams_unittest.cc | 3 // found in the LICENSE file. 63 courgette::SourceStreamSet in; local 64 bool can_init = in.Init(collected_buffer, collected_length); 68 bool can_read = in.stream(3)->ReadVarint32(&value); 71 EXPECT_EQ(0U, in.stream(3)->Remaining()); 72 EXPECT_EQ(0U, in.stream(2)->Remaining()); 100 courgette::SourceStreamSet in; local 101 bool can_init = in.Init(collected.Buffer(), collected.Length()); 108 bool can_read = in.stream(id)->ReadVarint32(&value); 114 EXPECT_EQ(0U, in 139 courgette::SourceStream in; local 170 courgette::SourceStreamSet in; local [all...] |
/external/chromium_org/crypto/ |
H A D | curve25519-donna.c | 3 // found in the LICENSE file. 17 * djb's sample implementation of curve25519 is written in a special assembly 41 /* Sum two numbers: output += in */ 42 static void fsum(limb *output, const limb *in) { argument 45 output[0+i] = (output[0+i] + in[0+i]); 46 output[1+i] = (output[1+i] + in[1+i]); 50 /* Find the difference of two numbers: output = in - output 53 static void fdifference(limb *output, const limb *in) { argument 56 output[i] = (in[i] - output[i]); 60 /* Multiply a number my a scalar: output = in * scala 61 fscalar_product(limb *output, const limb *in, const limb scalar) argument 73 fproduct(limb *output, const limb *in2, const limb *in) argument 236 fmul(limb *output, const limb *in, const limb *in2) argument 244 fsquare_inner(limb *output, const limb *in) argument 303 fsquare(limb *output, const limb *in) argument [all...] |
H A D | p224.cc | 3 // found in the LICENSE file. 87 // kZero31ModP is 0 mod p where bit 31 is set in all limbs so that we can 88 // subtract smaller amounts without underflow. See the section "Subtraction" in 101 // See the section on "Subtraction" in [1] for details. 109 // kZero63ModP is 0 mod p where bit 63 is set in all limbs. See the section 110 // "Subtraction" in [1] for why. 119 // still spaced 28-bits apart and in little-endian order. So the limbs are at 125 // in[i] < 2**62 127 LargeFieldElement& in(*inptr); 130 in[ 243 Invert(FieldElement* out, const FieldElement& in) argument 611 Get224Bits(uint32* out, const uint32* in) argument 631 Put224Bits(uint32* out, const uint32* in) argument 647 SetFromString(const base::StringPiece& in) argument 702 ScalarMult(const Point& in, const uint8* scalar, Point* out) argument 723 Negate(const Point& in, Point* out) argument [all...] |
H A D | rsa_private_key.cc | 3 // found in the LICENSE file. 104 // Finally, wrap everything in a sequence. 167 void PrivateKeyInfoCodec::PrependInteger(const std::vector<uint8>& in, argument 169 uint8* ptr = const_cast<uint8*>(&in.front()); 170 PrependIntegerImpl(ptr, in.size(), out, big_endian_);
|
H A D | signature_verifier_unittest.cc | 3 // found in the LICENSE file. 9 // The input data in this test comes from real certificates. 18 // The bytes in the array initializers are formatted to expose the DER 127 // RSA signature, a big integer in the big-endian byte order. 217 // Test 2: feed the data to the verifier in three parts (three VerifyUpdate 969 static bool DecodeTestInput(const char* in, std::vector<uint8>* out) { argument 971 while (in[0] != '\0') { 972 if (!isxdigit(in[0]) || !isxdigit(in[1]) || in[ [all...] |
/external/chromium_org/extensions/common/manifest_handlers/ |
H A D | externally_connectable.cc | 3 // found in the LICENSE file. 47 std::vector<T> Sorted(const std::vector<T>& in) { argument 48 std::vector<T> out = in; 141 // This means that things that look like TLDs - the foobar in
|
/external/chromium_org/google_apis/drive/ |
H A D | test_util.h | 3 // found in the LICENSE file. 50 // Removes |prefix| from |input| and stores the result in |output|. Returns 132 // in C++11. 148 // Simulates the std::move function in C++11. We use pointer here for argument, 151 static const T& Move(const T* in) { return *in; } argument 154 static T Move(T* in) { return in->Pass(); } argument 162 // types and movable types in the callback declaration. 173 // Copies the |in|' 175 CopyResultCallback( T1* out, typename CopyResultCallbackHelper<T1>::InType in) argument [all...] |
/external/chromium_org/gpu/tools/compositor_model_bench/ |
H A D | shaders.cc | 3 // found in the LICENSE file. 38 // Store shader programs in a sparse array so that they can be addressed easily. 65 static void Scale(const float* in, float* out, float sx, float sy, float sz) { argument 67 out[i] = in[i] * sx; 69 out[j] = in[j] * sy; 71 out[k] = in[k] * sz; 73 out[l] = in[l]; 240 LOG(ERROR) << log.get() << " in shader " << ShaderNameFromID(id);
|
/external/chromium_org/ipc/ |
H A D | ipc_send_fds_test.cc | 3 // found in the LICENSE file. 236 in = IPC::Channel::CreateServer(in_handle, &null_listener_); 238 in->TakeClientFileDescriptor(), false); 245 base::Bind(&PipeChannelHelper::Connect, in.get())); 262 base::Bind(&PipeChannelHelper::DestroyChannel, &in, &a)); 283 ASSERT_TRUE(in->Send(message)); 287 scoped_ptr<IPC::Channel> in, out; member in class:__anon8487::PipeChannelHelper 302 // in flight at the same time. For more info on the bug, see: 345 // Unless the workaround is in place. With 10000 sends, we
|
H A D | ipc_sync_channel_unittest.cc | 3 // found in the LICENSE file. 79 // The IPC thread needs to outlive SyncChannel. We can't do this in 81 // may result in a race conditions. See http://crbug.com/25841. 141 virtual void OnDouble(int in, int* out) { NOTREACHED(); } argument 142 virtual void OnDoubleDelay(int in, Message* reply_msg) { argument 144 OnDouble(in, &result); 477 virtual void OnDoubleDelay(int in, Message* reply_msg) OVERRIDE { 478 SyncChannelTestMsg_Double::WriteReplyParams(reply_msg, in * 2); 541 virtual void OnDouble(int in, int* out) OVERRIDE { 542 *out = in * [all...] |
/external/chromium_org/media/base/ |
H A D | audio_buffer_converter_unittest.cc | 3 // found in the LICENSE file. 54 void AddInput(const scoped_refptr<AudioBuffer>& in) { argument 55 if (!in->end_of_stream()) { 56 input_frames_ += in->frame_count(); 58 in->frame_count() * 60 in->sample_rate()); 62 audio_buffer_converter_->AddInput(in); 96 scoped_refptr<AudioBuffer> in = local 98 AddInput(in); 103 scoped_refptr<AudioBuffer> in local 110 scoped_refptr<AudioBuffer> in = local 139 scoped_refptr<AudioBuffer> in = local 146 scoped_refptr<AudioBuffer> in = local 153 scoped_refptr<AudioBuffer> in = local [all...] |
/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/system/impl/ |
H A D | CoreImplTest.java | 3 // found in the LICENSE file. 92 private static void checkSendingMessage(MessagePipeHandle in, MessagePipeHandle out) { argument 100 in.writeMessage(buffer, null, MessagePipeHandle.WriteFlags.NONE); 124 private static void checkSendingData(DataPipe.ProducerHandle in, DataPipe.ConsumerHandle out) { argument 132 int result = in.writeData(buffer, DataPipe.WriteFlags.NONE); 150 private static void checkSharing(SharedBufferHandle in, SharedBufferHandle out) { argument 153 ByteBuffer buffer1 = in.map(0, 8, SharedBufferHandle.MapFlags.NONE); 167 in.unmap(buffer1);
|
/external/chromium_org/native_client_sdk/src/examples/demo/nacl_io_demo/ |
H A D | handlers.c | 3 * found in the LICENSE file. */ 12 #include <netinet/in.h> 55 * @param[in] map The map to add the object to. 56 * @param[in] max_map_size The maximum map size. 57 * @param[in] object The object to add to the map. 75 * @param[in] map The map to remove from. 76 * @param[in] max_map_size The size of the map. 77 * @param[in] i The index to remove. 86 * @param[in] file The file to add to g_OpenFiles. 87 * @return int The index of the FILE in g_OpenFile 914 struct sockaddr_in* in = (struct sockaddr_in*)current->ai_addr; local [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
H A D | host_resolver.cc | 3 // found in the LICENSE file. 58 sockaddr_in6* in = local 60 *in = *(sockaddr_in6*)addr; 62 ai->ai_addr = reinterpret_cast<sockaddr*>(in); 63 ai->ai_addrlen = sizeof(*in); 67 sockaddr_in* in = static_cast<sockaddr_in*>(malloc(sizeof(sockaddr_in))); local 68 *in = *(sockaddr_in*)addr; 70 ai->ai_addr = reinterpret_cast<sockaddr*>(in); 71 ai->ai_addrlen = sizeof(*in); 162 // Count number of address in lis 189 sockaddr_in* in = reinterpret_cast<sockaddr_in*>(current->ai_addr); local 288 in_addr in; local [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
H A D | realpath.c | 3 * found in the LICENSE file. */ 35 const char* in = path; local 42 if (*in == '/') { 45 in++; 59 const char* next_slash = strchr(in, '/'); 63 namelen = next_slash - in; 66 namelen = strlen(in); 67 next_in = in + namelen; // Move to the '\0' 73 } else if (namelen == 1 && strncmp(in, ".", 1) == 0) { 75 } else if (namelen == 2 && strncmp(in, " [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/ |
H A D | inet_ntoa.c | 3 // found in the LICENSE file. 14 char* inet_ntoa(struct in_addr in) { argument 17 GetByte(&in, 0), GetByte(&in, 1), 18 GetByte(&in, 2), GetByte(&in, 3));
|
H A D | inet_ntop.cc | 3 // found in the LICENSE file. 25 struct in_addr in; local 26 memcpy(&in, src, sizeof(in)); 27 char* result = inet_ntoa(in);
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
H A D | host_resolver_test.cc | 3 // found in the LICENSE file. 6 #include <netinet/in.h> 89 struct sockaddr_in* in; local 103 in = (struct sockaddr_in*)ai->ai_addr; 104 ASSERT_EQ(expected_addr, in->sin_addr.s_addr); 112 struct sockaddr_in* in; local 122 in = (struct sockaddr_in*)ai->ai_addr; 124 ASSERT_EQ(expected_port, in->sin_port); 131 in = (struct sockaddr_in*)ai->ai_addr; 133 ASSERT_EQ(expected_port, in 146 struct sockaddr_in* in; local 192 struct sockaddr_in* in; local 245 struct sockaddr_in* in; local 295 sockaddr_in* in = (sockaddr_in*)current->ai_addr; local 315 sockaddr_in6* in = (sockaddr_in6*)current->ai_addr; local [all...] |