• Home
  • Raw
  • Download

Lines Matching +refs:po +refs:find +refs:file +refs:coding +refs:system

203 +  # Dump symbols for stack trace, default disable, add gn file to enable it
312 + "system/sys_info_linux.cc",
320 + # Add this build flag in gn file to enable stack trace dump
382 "$tcmalloc_dir/src/system-alloc.h",
400 # the default system allocators, e.g. with tcmalloc.
709 new file mode 100644
716 +// found in the LICENSE file.
785 + // resource file packed to system images
799 new file mode 100644
806 +// found in the LICENSE file.
1007 new file mode 100644
1014 +// found in the LICENSE file.
1281 + // Allow IO to read /proc/self/maps. Reading this file doesn't hit the disk
1336 diff --git a/src/base/files/file.h b/src/base/files/file.h
1338 --- a/src/base/files/file.h
1339 +++ b/src/base/files/file.h
1364 // creation time. However, other than on Mac & iOS where the actual file
1406 // On macOS and iOS, fsync() is guaranteed to send the file's data to the
1438 // Broad categories of file systems as returned by statfs() on Linux.
1540 @@ -590,6 +594,22 @@ LogMessage::LogMessage(const char* file, int line, const char* condition)
1564 // The Android system may truncate the string if it's too long.
1712 new file mode 100755
1742 +#error "Unable to find syscall for __NR_timerfd_create"
2029 new file mode 100644
2112 + // The file descriptor used to signal that non-delayed work is available.
2115 + // The file descriptor used to signal that delayed work is available.
2248 // as in the clone system call (the CLONE_VM flag is not supported).
2441 // Data about system-wide memory consumption. Values are in KB. Available on
2634 diff --git a/src/base/system/sys_info.h b/src/base/system/sys_info.h
2636 --- a/src/base/system/sys_info.h
2637 +++ b/src/base/system/sys_info.h
2792 new file mode 100644
2812 +/* Define to 1 if you have the <dlfcn.h> header file. */
2815 +/* Define if your system supports the epoll system calls */
2821 +/* Define if your system supports event ports */
2827 +/* Define to 1 if you have the <fcntl.h> header file. */
2830 +/* Define to 1 if the system has the type `fd_mask'. */
2851 +/* Define to 1 if you have the <inttypes.h> header file. */
2872 +/* Define to 1 if you have the <memory.h> header file. */
2875 +/* Define to 1 if you have the <netinet/in6.h> header file. */
2881 +/* Define to 1 if you have the <poll.h> header file. */
2887 +/* Define to 1 if you have the <port.h> header file. */
2902 +/* Define to 1 if you have the <signal.h> header file. */
2905 +/* Define to 1 if you have the <stdarg.h> header file. */
2908 +/* Define to 1 if you have the <stdint.h> header file. */
2911 +/* Define to 1 if you have the <stdlib.h> header file. */
2914 +/* Define to 1 if you have the <strings.h> header file. */
2917 +/* Define to 1 if you have the <string.h> header file. */
2932 +/* Define to 1 if the system has the type `struct in6_addr'. */
2935 +/* Define to 1 if you have the <sys/devpoll.h> header file. */
2938 +/* Define to 1 if you have the <sys/epoll.h> header file. */
2941 +/* Define to 1 if you have the <sys/event.h> header file. */
2944 +/* Define to 1 if you have the <sys/ioctl.h> header file. */
2947 +/* Define to 1 if you have the <sys/param.h> header file. */
2950 +/* Define to 1 if you have the <sys/queue.h> header file. */
2955 +/* Define to 1 if you have the <sys/select.h> header file. */
2958 +/* Define to 1 if you have the <sys/socket.h> header file. */
2961 +/* Define to 1 if you have the <sys/stat.h> header file. */
2964 +/* Define to 1 if you have the <sys/time.h> header file. */
2967 +/* Define to 1 if you have the <sys/types.h> header file. */
2985 +/* Define to 1 if the system has the type `uint16_t'. */
2988 +/* Define to 1 if the system has the type `uint32_t'. */
2991 +/* Define to 1 if the system has the type `uint64_t'. */
2994 +/* Define to 1 if the system has the type `uint8_t'. */
2997 +/* Define to 1 if you have the <unistd.h> header file. */
3066 new file mode 100644
3090 +/* Define to 1 if you have the <dlfcn.h> header file. */
3093 +/* Define if your system supports the epoll system calls */
3099 +/* Define if your system supports event ports */
3105 +/* Define to 1 if you have the <fcntl.h> header file. */
3108 +/* Define to 1 if the system has the type `fd_mask'. */
3129 +/* Define to 1 if you have the <inttypes.h> header file. */
3150 +/* Define to 1 if you have the <memory.h> header file. */
3153 +/* Define to 1 if you have the <netinet/in6.h> header file. */
3159 +/* Define to 1 if you have the <poll.h> header file. */
3165 +/* Define to 1 if you have the <port.h> header file. */
3180 +/* Define to 1 if you have the <signal.h> header file. */
3183 +/* Define to 1 if you have the <stdarg.h> header file. */
3186 +/* Define to 1 if you have the <stdint.h> header file. */
3189 +/* Define to 1 if you have the <stdlib.h> header file. */
3192 +/* Define to 1 if you have the <strings.h> header file. */
3195 +/* Define to 1 if you have the <string.h> header file. */
3210 +/* Define to 1 if the system has the type `struct in6_addr'. */
3213 +/* Define to 1 if you have the <sys/devpoll.h> header file. */
3216 +/* Define to 1 if you have the <sys/epoll.h> header file. */
3219 +/* Define to 1 if you have the <sys/event.h> header file. */
3222 +/* Define to 1 if you have the <sys/ioctl.h> header file. */
3225 +/* Define to 1 if you have the <sys/param.h> header file. */
3228 +/* Define to 1 if you have the <sys/queue.h> header file. */
3231 +/* Define to 1 if you have the <sys/select.h> header file. */
3234 +/* Define to 1 if you have the <sys/socket.h> header file. */
3237 +/* Define to 1 if you have the <sys/stat.h> header file. */
3240 +/* Define to 1 if you have the <sys/time.h> header file. */
3243 +/* Define to 1 if you have the <sys/types.h> header file. */
3261 +/* Define to 1 if the system has the type `uint16_t'. */
3264 +/* Define to 1 if the system has the type `uint32_t'. */
3267 +/* Define to 1 if the system has the type `uint64_t'. */
3270 +/* Define to 1 if the system has the type `uint8_t'. */
3273 +/* Define to 1 if you have the <unistd.h> header file. */
3790 new file mode 100755
3798 + * you may not use this file except in compliance with the License.
3897 new file mode 100755
3905 + * you may not use this file except in compliance with the License.
4178 # On Android, write shared library output file to metadata. We will use
4205 # toolchain, this GNI file may be read and processed from within Chrome OS
4215 # Adds intrumentation to each function. Writes a file with the order that
4222 # toolchain, this GNI file may be read and processed from within Chrome OS
4270 "-plugin-arg-find-bad-constructs",
4454 # Makes builds independent of absolute file path.
4683 # it as a configuration option. If this is causing problems, please file a bug.
4740 new file mode 100644
4747 +# found in the LICENSE file.
5019 new file mode 100644
5026 +# found in the LICENSE file.
5073 new file mode 100755
5080 +# found in the LICENSE file.
5174 + "$ohos_build_root/utils/system/safwk/native/include",
5197 + ohos_libs_root = "$ohos_build_root/out/rk3568/packages/phone/system/lib"
5200 + "$ohos_build_root/out/rk3568/packages/phone/system/lib64"
5205 + "$ohos_build_root/out/ohos-arm-release/packages/phone/system/lib"
5207 + ohos_libs_root = "$ohos_build_root/out/ohos-arm64-release/packages/phone/system/lib64"
5421 new file mode 100644
5428 +# found in the LICENSE file.
5564 // found in the LICENSE file.
5778 // found in the LICENSE file.
5797 // found in the LICENSE file.
5941 # Read file lists from gypi files. The gypi_to_gn.py script does not support
8067 # by hand. See the translator.README.txt file in the tools directory for
8348 // by hand. See the translator.README.txt file in the tools directory for
8373 // by hand. See the translator.README.txt file in the tools directory for
8769 + // filename under which the file was saved, or NULL if saving the file failed.
8784 // by hand. See the translator.README.txt file in the tools directory for
8835 // by hand. See the translator.README.txt file in the tools directory for
8904 // Return the handler for find result events.
9029 // by hand. See the translator.README.txt file in the tools directory for
9142 // by hand. See the translator.README.txt file in the tools directory for
9183 + // Get whether this cookie manager can accpet and send cookies for file scheme
9190 + // Set whether this cookie manager can accpet and send cookies for file scheme
9240 new file mode 100644
9276 +// This file was generated by the CEF translator tool and should not edited
9277 +// by hand. See the translator.README.txt file in the tools directory for
9392 // by hand. See the translator.README.txt file in the tools directory for
9413 // by hand. See the translator.README.txt file in the tools directory for
9478 // by hand. See the translator.README.txt file in the tools directory for
9510 // by hand. See the translator.README.txt file in the tools directory for
9541 // by hand. See the translator.README.txt file in the tools directory for
9613 new file mode 100644
9649 +// This file was generated by the CEF translator tool and should not edited
9650 +// by hand. See the translator.README.txt file in the tools directory for
9844 // by hand. See the translator.README.txt file in the tools directory for
9926 // by hand. See the translator.README.txt file in the tools directory for
9991 // by hand. See the translator.README.txt file in the tools directory for
10034 new file mode 100644
10070 +// This file was generated by the CEF translator tool and should not edited
10071 +// by hand. See the translator.README.txt file in the tools directory for
10667 + // filename under which the file was saved, or empty if saving the file
10756 new file mode 100644
10792 +// This file is generated by the make_config_header.py tool.
10970 + // Get whether this cookie manager can accpet and send cookies for file scheme
10977 + // Set whether this cookie manager can accpet and send cookies for file scheme
11010 new file mode 100755
11046 +// The contents of this file must follow a specific format in order to
11047 +// support the CEF translator tool. See the translator.README.txt file in the
11144 \ No newline at end of file
11338 new file mode 100755
11345 +// found in the LICENSE file.
11492 \ No newline at end of file
11654 new file mode 100644
11661 +// found in the LICENSE file.
12133 -// found in the LICENSE file.
12137 +// be found in the LICENSE file.
12167 -// found in the LICENSE file.
12171 +// be found in the LICENSE file.
12192 -// found in the LICENSE file.
12196 +// be found in the LICENSE file.
12421 -// found in the LICENSE file.
12425 +// be found in the LICENSE file.
12558 new file mode 100755
12566 + * you may not use this file except in compliance with the License.
12607 \ No newline at end of file
12609 new file mode 100755
12617 + * you may not use this file except in compliance with the License.
12643 + auto it = denieds_.find(host_port);
12670 + auto it = certs_.find(host_port);
12683 new file mode 100755
12691 + * you may not use this file except in compliance with the License.
13004 + // Client certificate file read
13010 + LOG(ERROR) << "RunSelectNow: read cert file to string failed";
13014 + // Convert the client certificates file to X509
13046 + // Private key file read
13052 + LOG(ERROR) << "RunSelectNow: private key file to string failed";
13494 new file mode 100755
13502 + * you may not use this file except in compliance with the License.
13590 \ No newline at end of file
13592 new file mode 100755
13599 +// found in the LICENSE file.
13620 new file mode 100755
13627 +// found in the LICENSE file.
14098 -// found in the LICENSE file.
14102 +// be found in the LICENSE file.
14275 -// found in the LICENSE file.
14279 +// be found in the LICENSE file.
14972 + auto found = postedPorts_.find(port.ToString());
14979 + // find the WebMessagePort by port_handle, and send to html5
15011 + // find port and close, then erase the item in map
15054 + // find the WebMessagePort in map
15091 + auto runner_it = runnerMap_.find(pointer0);
15101 + auto receive_it = receiverMap_.find(pointer0);
15109 + // find the port set message callback
15246 + if (!(url.find("data:") == 0)) {
15382 -// found in the LICENSE file.
15386 +// be found in the LICENSE file.
16258 new file mode 100644
16266 +// found in the LICENSE file.
16435 new file mode 100644
16443 +// found in the LICENSE file.
16531 new file mode 100644
16539 +// found in the LICENSE file.
16735 + if (method_map_.find(object_id) == method_map_.end()) {
16750 + if (method_map_.find(object_id) == method_map_.end()) {
16756 + if (p.second.find(method_name) == p.second.end()) {
16807 + if (method_map_.find(object_id) == method_map_.end()) {
16833 \ No newline at end of file
16835 new file mode 100644
16843 +// found in the LICENSE file.
16917 \ No newline at end of file
16919 new file mode 100644
16927 +// found in the LICENSE file.
17058 + auto iter = hosts_.find(current_routing_id_);
17108 \ No newline at end of file
17110 new file mode 100644
17118 +// found in the LICENSE file.
17208 \ No newline at end of file
17210 new file mode 100644
17218 +// found in the LICENSE file.
17339 + auto iter = hosts_.find(current_routing_id_);
17351 \ No newline at end of file
17353 new file mode 100644
17361 +// found in the LICENSE file.
17444 new file mode 100644
17452 +// found in the LICENSE file.
17484 new file mode 100644
17492 +// found in the LICENSE file.
17528 \ No newline at end of file
17613 new file mode 100755
17620 +// found in the LICENSE file.
17785 new file mode 100755
17792 +// found in the LICENSE file.
17844 new file mode 100755
17851 +// found in the LICENSE file.
17879 + auto it = g_AddrInfoMap.find(hostname);
17901 \ No newline at end of file
17903 new file mode 100755
17910 +// found in the LICENSE file.
18504 new file mode 100644
18511 +// found in the LICENSE file.
18619 new file mode 100644
18626 +// found in the LICENSE file.
18814 -// LICENSE file.
18818 +// be found in the LICENSE file.
18859 -// can be found in the LICENSE file.
18863 +// be found in the LICENSE file.
19036 -// can be found in the LICENSE file.
19040 +// be found in the LICENSE file.
19045 new file mode 100644
19052 +// found in the LICENSE file.
19242 new file mode 100644
19249 +// found in the LICENSE file.
19383 -// found in the LICENSE file.
19387 +// be found in the LICENSE file.
19540 + auto it = accelerate_widget_map_.find(browser_impl_->GetAcceleratedWidget());
19572 + auto it = compositor_map_.find(browser_impl_->GetAcceleratedWidget());
20090 + auto it = CefRenderWidgetHostViewOSR::compositor_map_.find(widget);
20104 -// found in the LICENSE file.
20108 +// be found in the LICENSE file.
20256 new file mode 100755
20264 +// found in the LICENSE file.
20378 \ No newline at end of file
20380 new file mode 100755
20388 +// found in the LICENSE file.
20449 \ No newline at end of file
20451 new file mode 100755
20459 +// found in the LICENSE file.
21076 new file mode 100755
21084 +// found in the LICENSE file.
21240 \ No newline at end of file
21242 new file mode 100644
21249 +// found in the LICENSE file.
21273 \ No newline at end of file
21275 new file mode 100755
21282 +// found in the LICENSE file.
21329 new file mode 100755
21336 +// found in the LICENSE file.
21385 new file mode 100644
21392 +// found in the LICENSE file.
21425 new file mode 100755
21432 +// found in the LICENSE file.
21484 + return permission_index_map_.find(type) != permission_index_map_.end();
21496 + auto result = permission_index_map_.find(type);
21507 + auto result = permission_index_map_.find(type);
21855 new file mode 100755
21862 +// found in the LICENSE file.
21954 new file mode 100644
21961 +// found in the LICENSE file.
22077 + std::map<CefString, int>::iterator i = preauthorized_permission_.find(origin);
22081 \ No newline at end of file
22083 new file mode 100644
22090 +// found in the LICENSE file.
22169 // be found in the LICENSE file.
22275 // be found in the LICENSE file.
22282 // can be found in the LICENSE file.
22448 new file mode 100755
22455 +// found in the LICENSE file.
22826 new file mode 100644
22833 +// found in the LICENSE file.
23036 new file mode 100644
23044 +// found in the LICENSE file.
23075 \ No newline at end of file
23077 new file mode 100644
23085 +// found in the LICENSE file.
23108 new file mode 100644
23116 +// found in the LICENSE file.
23142 \ No newline at end of file
23144 new file mode 100644
23152 +// found in the LICENSE file.
23155 \ No newline at end of file
23157 new file mode 100644
23165 +// found in the LICENSE file.
23195 +// Sent from renderer to browser to find out, if an object has a method with
23211 \ No newline at end of file
23213 new file mode 100644
23221 +// found in the LICENSE file.
23366 new file mode 100644
23374 +// found in the LICENSE file.
23437 \ No newline at end of file
23581 // Use a "debug.log" file in the running executable's directory.
23614 - return std::find(supported_scale_factors.begin(),
23622 + return std::find(supported_scale_factors.begin(),
23630 new file mode 100644
23638 +// found in the LICENSE file.
23702 \ No newline at end of file
23704 new file mode 100644
23712 +// found in the LICENSE file.
23739 \ No newline at end of file
23764 new file mode 100644
23771 +// found in the LICENSE file.
23795 new file mode 100644
23802 +// found in the LICENSE file.
23905 -// found in the LICENSE file.
23909 +// be found in the LICENSE file.
23993 -// found in the LICENSE file.
23997 +// be found in the LICENSE file.
24399 new file mode 100644
24407 +// found in the LICENSE file.
24473 + NamedObjectMap::iterator iter = named_objects_.find(name);
24543 new file mode 100644
24551 +// found in the LICENSE file.
24614 new file mode 100644
24622 +// found in the LICENSE file.
24711 + known_methods_.find(property);
24752 \ No newline at end of file
24754 new file mode 100644
24762 +// found in the LICENSE file.
24836 new file mode 100644
24844 +// found in the LICENSE file.
25020 new file mode 100644
25028 +// found in the LICENSE file.
25073 new file mode 100644
25081 +// found in the LICENSE file.
25190 new file mode 100644
25198 +// found in the LICENSE file.
25288 new file mode 100644
25295 +// can be found in the LICENSE file.
25299 +// This file was generated by the CEF translator tool. If making changes by
25301 +// implementations. See the translator.README.txt file in the tools directory
25396 new file mode 100644
25403 +// can be found in the LICENSE file.
25407 +// This file was generated by the CEF translator tool. If making changes by
25409 +// implementations. See the translator.README.txt file in the tools directory
25420 +#error This file can be included DLL-side only
25444 // implementations. See the translator.README.txt file in the tools directory
25489 // implementations. See the translator.README.txt file in the tools directory
25687 // implementations. See the translator.README.txt file in the tools directory
26464 new file mode 100644
26471 +// can be found in the LICENSE file.
26475 +// This file was generated by the CEF translator tool. If making changes by
26477 +// implementations. See the translator.README.txt file in the tools directory
26683 new file mode 100644
26690 +// can be found in the LICENSE file.
26694 +// This file was generated by the CEF translator tool. If making changes by
26696 +// implementations. See the translator.README.txt file in the tools directory
26707 +#error This file can be included DLL-side only
26731 // implementations. See the translator.README.txt file in the tools directory
27036 // implementations. See the translator.README.txt file in the tools directory
27233 // implementations. See the translator.README.txt file in the tools directory
27509 // implementations. See the translator.README.txt file in the tools directory
27551 new file mode 100644
27558 +// can be found in the LICENSE file.
27562 +// This file was generated by the CEF translator tool. If making changes by
27564 +// implementations. See the translator.README.txt file in the tools directory
27849 new file mode 100644
27856 +// can be found in the LICENSE file.
27860 +// This file was generated by the CEF translator tool. If making changes by
27862 +// implementations. See the translator.README.txt file in the tools directory
27873 +#error This file can be included DLL-side only
27896 // implementations. See the translator.README.txt file in the tools directory
27926 // implementations. See the translator.README.txt file in the tools directory
28075 // implementations. See the translator.README.txt file in the tools directory
28117 new file mode 100644
28124 +// can be found in the LICENSE file.
28128 +// This file was generated by the CEF translator tool. If making changes by
28130 +// implementations. See the translator.README.txt file in the tools directory
28261 new file mode 100644
28268 +// can be found in the LICENSE file.
28272 +// This file was generated by the CEF translator tool. If making changes by
28274 +// implementations. See the translator.README.txt file in the tools directory
28285 +#error This file can be included DLL-side only
28305 new file mode 100644
28312 +// can be found in the LICENSE file.
28316 +// This file was generated by the CEF translator tool. If making changes by
28318 +// implementations. See the translator.README.txt file in the tools directory
28380 new file mode 100644
28387 +// can be found in the LICENSE file.
28391 +// This file was generated by the CEF translator tool. If making changes by
28393 +// implementations. See the translator.README.txt file in the tools directory
28404 +#error This file can be included wrapper-side only
28424 new file mode 100644
28431 +// can be found in the LICENSE file.
28435 +// This file was generated by the CEF translator tool. If making changes by
28437 +// implementations. See the translator.README.txt file in the tools directory
28579 new file mode 100644
28586 +// can be found in the LICENSE file.
28590 +// This file was generated by the CEF translator tool. If making changes by
28592 +// implementations. See the translator.README.txt file in the tools directory
28603 +#error This file can be included wrapper-side only
28623 new file mode 100644
28630 +// can be found in the LICENSE file.
28634 +// This file was generated by the CEF translator tool. If making changes by
28636 +// implementations. See the translator.README.txt file in the tools directory
28701 new file mode 100644
28708 +// can be found in the LICENSE file.
28712 +// This file was generated by the CEF translator tool. If making changes by
28714 +// implementations. See the translator.README.txt file in the tools directory
28725 +#error This file can be included wrapper-side only
28751 // implementations. See the translator.README.txt file in the tools directory
28812 // implementations. See the translator.README.txt file in the tools directory
28985 new file mode 100644
28992 +// can be found in the LICENSE file.
28996 +// This file was generated by the CEF translator tool. If making changes by
28998 +// implementations. See the translator.README.txt file in the tools directory
29108 new file mode 100644
29115 +// can be found in the LICENSE file.
29119 +// This file was generated by the CEF translator tool. If making changes by
29121 +// implementations. See the translator.README.txt file in the tools directory
29132 +#error This file can be included wrapper-side only
29156 // implementations. See the translator.README.txt file in the tools directory
29350 // implementations. See the translator.README.txt file in the tools directory
29455 // implementations. See the translator.README.txt file in the tools directory
29518 new file mode 100644
29525 +// can be found in the LICENSE file.
29529 +// This file was generated by the CEF translator tool. If making changes by
29531 +// implementations. See the translator.README.txt file in the tools directory
29607 new file mode 100644
29614 +// can be found in the LICENSE file.
29618 +// This file was generated by the CEF translator tool. If making changes by
29620 +// implementations. See the translator.README.txt file in the tools directory
29631 +#error This file can be included DLL-side only
29655 // implementations. See the translator.README.txt file in the tools directory
29740 // implementations. See the translator.README.txt file in the tools directory
29749 #error This file can be included DLL-side only
29760 new file mode 100644
29767 +// can be found in the LICENSE file.
29771 +// This file was generated by the CEF translator tool. If making changes by
29773 +// implementations. See the translator.README.txt file in the tools directory
29838 new file mode 100644
29845 +// can be found in the LICENSE file.
29849 +// This file was generated by the CEF translator tool. If making changes by
29851 +// implementations. See the translator.README.txt file in the tools directory
29862 +#error This file can be included wrapper-side only
29884 new file mode 100644
29891 +// can be found in the LICENSE file.
29895 +// This file was generated by the CEF translator tool. If making changes by
29897 +// implementations. See the translator.README.txt file in the tools directory
30034 new file mode 100644
30041 +// can be found in the LICENSE file.
30045 +// This file was generated by the CEF translator tool. If making changes by
30047 +// implementations. See the translator.README.txt file in the tools directory
30058 +#error This file can be included DLL-side only
30077 new file mode 100644
30084 +// can be found in the LICENSE file.
30088 +// This file was generated by the CEF translator tool. If making changes by
30090 +// implementations. See the translator.README.txt file in the tools directory
30175 new file mode 100644
30182 +// can be found in the LICENSE file.
30186 +// This file was generated by the CEF translator tool. If making changes by
30188 +// implementations. See the translator.README.txt file in the tools directory
30199 +#error This file can be included wrapper-side only
30228 // implementations. See the translator.README.txt file in the tools directory
30264 // implementations. See the translator.README.txt file in the tools directory
30285 // implementations. See the translator.README.txt file in the tools directory
30455 // implementations. See the translator.README.txt file in the tools directory
30494 // implementations. See the translator.README.txt file in the tools directory
30554 - _struct->find(_struct, searchText.GetStruct(), forward, matchCase, findNext);
30555 + _struct->find(_struct, searchText.GetStruct(), forward, matchCase, findNext,
31175 // implementations. See the translator.README.txt file in the tools directory
31272 new file mode 100644
31279 +// can be found in the LICENSE file.
31283 +// This file was generated by the CEF translator tool. If making changes by
31285 +// implementations. See the translator.README.txt file in the tools directory
31469 new file mode 100644
31476 +// can be found in the LICENSE file.
31480 +// This file was generated by the CEF translator tool. If making changes by
31482 +// implementations. See the translator.README.txt file in the tools directory
31493 +#error This file can be included wrapper-side only
31531 // implementations. See the translator.README.txt file in the tools directory
31923 // implementations. See the translator.README.txt file in the tools directory
31962 // implementations. See the translator.README.txt file in the tools directory
32135 // implementations. See the translator.README.txt file in the tools directory
32170 // implementations. See the translator.README.txt file in the tools directory
32391 // implementations. See the translator.README.txt file in the tools directory
32425 // implementations. See the translator.README.txt file in the tools directory
32464 // implementations. See the translator.README.txt file in the tools directory
32481 new file mode 100644
32488 +// can be found in the LICENSE file.
32492 +// This file was generated by the CEF translator tool. If making changes by
32494 +// implementations. See the translator.README.txt file in the tools directory
32760 new file mode 100644
32767 +// can be found in the LICENSE file.
32771 +// This file was generated by the CEF translator tool. If making changes by
32773 +// implementations. See the translator.README.txt file in the tools directory
32784 +#error This file can be included wrapper-side only
32831 // implementations. See the translator.README.txt file in the tools directory
32861 // implementations. See the translator.README.txt file in the tools directory
32882 // implementations. See the translator.README.txt file in the tools directory
33011 // implementations. See the translator.README.txt file in the tools directory
33055 // implementations. See the translator.README.txt file in the tools directory
33093 // implementations. See the translator.README.txt file in the tools directory
33111 new file mode 100644
33118 +// can be found in the LICENSE file.
33122 +// This file was generated by the CEF translator tool. If making changes by
33124 +// implementations. See the translator.README.txt file in the tools directory
33243 new file mode 100644
33250 +// can be found in the LICENSE file.
33254 +// This file was generated by the CEF translator tool. If making changes by
33256 +// implementations. See the translator.README.txt file in the tools directory
33267 +#error This file can be included wrapper-side only
33293 new file mode 100644
33300 +// can be found in the LICENSE file.
33304 +// This file was generated by the CEF translator tool. If making changes by
33306 +// implementations. See the translator.README.txt file in the tools directory
33427 new file mode 100644
33434 +// can be found in the LICENSE file.
33438 +// This file was generated by the CEF translator tool. If making changes by
33440 +// implementations. See the translator.README.txt file in the tools directory
33451 +#error This file can be included wrapper-side only
33477 new file mode 100644
33484 +// can be found in the LICENSE file.
33488 +// This file was generated by the CEF translator tool. If making changes by
33490 +// implementations. See the translator.README.txt file in the tools directory
33544 new file mode 100644
33551 +// can be found in the LICENSE file.
33555 +// This file was generated by the CEF translator tool. If making changes by
33557 +// implementations. See the translator.README.txt file in the tools directory
33568 +#error This file can be included DLL-side only
33591 new file mode 100644
33598 +// can be found in the LICENSE file.
33602 +// This file was generated by the CEF translator tool. If making changes by
33604 +// implementations. See the translator.README.txt file in the tools directory
33736 new file mode 100644
33743 +// can be found in the LICENSE file.
33747 +// This file was generated by the CEF translator tool. If making changes by
33749 +// implementations. See the translator.README.txt file in the tools directory
33760 +#error This file can be included DLL-side only
33787 new file mode 100644
33794 +// can be found in the LICENSE file.
33798 +// This file was generated by the CEF translator tool. If making changes by
33800 +// implementations. See the translator.README.txt file in the tools directory
33858 new file mode 100644
33865 +// can be found in the LICENSE file.
33869 +// This file was generated by the CEF translator tool. If making changes by
33871 +// implementations. See the translator.README.txt file in the tools directory
33882 +#error This file can be included DLL-side only
33911 // implementations. See the translator.README.txt file in the tools directory
33965 // implementations. See the translator.README.txt file in the tools directory
33990 // implementations. See the translator.README.txt file in the tools directory
34156 // implementations. See the translator.README.txt file in the tools directory
34190 new file mode 100644
34197 +// can be found in the LICENSE file.
34201 +// This file was generated by the CEF translator tool. If making changes by
34203 +// implementations. See the translator.README.txt file in the tools directory
34304 new file mode 100644
34311 +// can be found in the LICENSE file.
34315 +// This file was generated by the CEF translator tool. If making changes by
34317 +// implementations. See the translator.README.txt file in the tools directory
34328 +#error This file can be included DLL-side only
34359 // implementations. See the translator.README.txt file in the tools directory
34503 // implementations. See the translator.README.txt file in the tools directory
34553 // implementations. See the translator.README.txt file in the tools directory
34643 // implementations. See the translator.README.txt file in the tools directory
34675 // implementations. See the translator.README.txt file in the tools directory
34763 // implementations. See the translator.README.txt file in the tools directory
34772 #error This file can be included DLL-side only
34793 // implementations. See the translator.README.txt file in the tools directory
34815 // implementations. See the translator.README.txt file in the tools directory
34833 new file mode 100644
34840 +// can be found in the LICENSE file.
34844 +// This file was generated by the CEF translator tool. If making changes by
34846 +// implementations. See the translator.README.txt file in the tools directory
34912 new file mode 100644
34919 +// can be found in the LICENSE file.
34923 +// This file was generated by the CEF translator tool. If making changes by
34925 +// implementations. See the translator.README.txt file in the tools directory
34936 +#error This file can be included wrapper-side only
34964 // implementations. See the translator.README.txt file in the tools directory
35039 // implementations. See the translator.README.txt file in the tools directory
35048 #error This file can be included wrapper-side only
35071 new file mode 100644
35078 +// can be found in the LICENSE file.
35082 +// This file was generated by the CEF translator tool. If making changes by
35084 +// implementations. See the translator.README.txt file in the tools directory
35141 new file mode 100644
35148 +// can be found in the LICENSE file.
35152 +// This file was generated by the CEF translator tool. If making changes by
35154 +// implementations. See the translator.README.txt file in the tools directory
35165 +#error This file can be included DLL-side only
35190 new file mode 100644
35197 +// can be found in the LICENSE file.
35201 +// This file was generated by the CEF translator tool. If making changes by
35203 +// implementations. See the translator.README.txt file in the tools directory
35334 new file mode 100644
35341 +// can be found in the LICENSE file.
35345 +// This file was generated by the CEF translator tool. If making changes by
35347 +// implementations. See the translator.README.txt file in the tools directory
35358 +#error This file can be included wrapper-side only
35392 // implementations. See the translator.README.txt file in the tools directory
35507 // implementations. See the translator.README.txt file in the tools directory
35698 # find the native side functions.
35730 + * Verify WebShare fails if share of file name '/' is called from a user gesture.
35816 @@ -8362,7 +8362,7 @@ Keep your key file in a safe place. You will need it to create new versions o…
35915 …chrome_scaled_image" name="IDR_ACCESSIBILITY_CAPTIONS_PREVIEW_BACKGROUND" file="common/captions-pr…
35919 …<structure type="chrome_scaled_image" name="IDR_APP_WINDOW_CLOSE" file="common/app_window_close.pn…
35920 …<structure type="chrome_scaled_image" name="IDR_APP_WINDOW_CLOSE_H" file="common/app_window_close_…
35921 …<structure type="chrome_scaled_image" name="IDR_APP_WINDOW_CLOSE_P" file="common/app_window_close_…
35923 …<structure type="chrome_scaled_image" name="IDR_ASH_SHELF_LIST_BROWSER" file="cros/window_switcher…
35924 …<structure type="chrome_scaled_image" name="IDR_ASH_SHELF_LIST_INCOGNITO_BROWSER" file="cros/windo…
35928 …<structure type="chrome_scaled_image" name="IDR_AUTOFILL_OFFERS" file="common/autofill_offers.png"…
36424 …<include name="IDR_DISCARDS_DATABASE_TAB_JS" file="${root_gen_dir}\chrome\browser\resources\discar…
36425 …<include name="IDR_DISCARDS_DISCARDS_MAIN_JS" file="${root_gen_dir}\chrome\browser\resources\disca…
36426 …<include name="IDR_DISCARDS_DISCARDS_TAB_JS" file="${root_gen_dir}\chrome\browser\resources\discar…
36429 …<include name="IDR_PLUGIN_DB_JSON" file="resources\plugin_metadata\plugins_chromeos.json" type="BI…
36433 …<include name="IDR_PLUGIN_DB_JSON" file="resources\plugin_metadata\plugins_linux.json" type="BINDA…
36435 …<include name="IDR_URL_MOJOM_LITE_JS" file="${root_gen_dir}\url\mojom\url.mojom-lite.js" use_base_…
36922 - auto it = store_map_.find(origin);
37473 // Note that the list of file types that are not allowed to open
37533 // We don't replace the file extension if sfafe browsing consider the file
37534 // extension to be unsafe. Just let safe browsing scan the generated file.
37541 // If no mime type or explicitly specified a name, don't replace file
37557 // dangerous file types that have a high frequency of legitimate use. We would
37671 auto it = std::find(data_.paths.begin(), data_.paths.end(), path);
37715 // Create a text request, a page request and a file request for each file.
37778 // Prepares an upload request for the file at `path`. If the file
38262 base::StringPrintf("Could not find tab with id %d.", params->tab_id)));
39196 # found in the LICENSE file.
41355 new file mode 100644
41362 +// found in the LICENSE file.
41407 new file mode 100644
41414 +// found in the LICENSE file.
42305 // MIME-type-to-file-extensions mappings corresponding to |file_handlers|. File
42510 - if (IsDangerousFilename(file->name) ||
42511 + const base::FilePath& path = file->name.path();
42513 IsDangerousMimeType(file->blob->content_type)) {
42514 - VLOG(1) << "File type is not supported: " << file->name
42515 - << " has mime type " << file->blob->content_type;
42517 + << file->blob->content_type;
42754 - base::UTF8ToWide(file->name).c_str()))) {
42755 + file->name.path().value().c_str()))) {
42762 file_bytes_shared, file->blob->uuid);
42763 - auto name_h = base::win::ScopedHString::Create(file->name);
42764 + auto name_h = base::win::ScopedHString::Create(file->name.path().value());
42809 - CreateSharedFile("MyFile.txt", "text/plain", "Contents of the file"));
42811 + "text/plain", "Contents of the file"));
43019 FILE_COMPONENT_WIDEVINE_CDM_HINT, // A file in a known location that points
43023 FILE_RESOURCES_PACK, // Full path to the .pak file containing binary data.
43084 // Linux specific preference on whether we should match the system theme.
43354 new file mode 100644
43362 + * LICENSE file.
43370 new file mode 100644
43377 +// found in the LICENSE file.
43398 new file mode 100644
43417 new file mode 100644
43424 +// found in the LICENSE file.
43430 new file mode 100644
43638 "//mojo/public/java/system:system_impl_java",
43650 for (SharedFile file : files) {
43651 - if (isDangerousFilename(file.name) || isDangerousMimeType(file.blob.contentType)) {
43652 + if (isDangerousFilename(file.name.path.path)
43653 + || isDangerousMimeType(file.blob.contentType)) {
43655 "Cannot share potentially dangerous \"" + file.blob.contentType
43656 + "\" file \"" + file.name + "\".");
43701 # Want this file on both Linux and Android.
43907 // Initialize a favicon database instance from the SQL file at
44249 // Continuing here would just find the same results, potentially causing
44303 // Flags marked with this are internal to the flags system. Never set this on
44714 // Remove the page from the system download manager. We don't need to wait for
45130 // found in the LICENSE file.
45155 + const auto it1 = dangerous_patterns_.find(url);
45563 // found in the LICENSE file.
45690 // Write this port to a well-known file in the profile directory
45772 // Changes will be written to the target file even if the stream isn't
45819 - // Setting a file's extension to a CLSID may conceal its actual file type on
45871 + // Setting a file's extension to a CLSID may conceal its actual file type on
45895 + // the "save as" file picker.
46198 new file mode 100644
46205 +// found in the LICENSE file.
46404 new file mode 100644
46411 +// found in the LICENSE file.
46530 new file mode 100644
46537 +// found in the LICENSE file.
46626 new file mode 100644
46633 +// found in the LICENSE file.
47033 new file mode 100644
47040 +// found in the LICENSE file.
47673 // possible to request one. This is used to block file dialogs from being
47778 // titles for file URLs that have none. Thus |entry| must have a URL set.
47841 // been observed that when file reads are consistent for 3 process launches with
48031 new file mode 100644
48038 +// found in the LICENSE file.
48227 new file mode 100644
48234 +// found in the LICENSE file.
48347 new file mode 100644
48354 +// found in the LICENSE file.
48408 new file mode 100644
48415 +// found in the LICENSE file.
48493 new file mode 100644
48500 +// found in the LICENSE file.
48587 new file mode 100755
48594 +// found in the LICENSE file.
48631 \ No newline at end of file
48768 new file mode 100644
48848 // On Linux, the data fetcher needs to watch file descriptors, so the message
49404 new file mode 100644
49411 +// found in the LICENSE file.
49507 new file mode 100644
49514 +// found in the LICENSE file.
49566 new file mode 100644
49573 +// found in the LICENSE file.
49786 new file mode 100644
49793 +// found in the LICENSE file.
49926 #include "base/system/sys_info.h"
49985 new file mode 100644
49992 +# found in the LICENSE file.
50028 \ No newline at end of file
50030 new file mode 100644
50037 +// found in the LICENSE file.
50380 + LOG(ERROR) << "SetFdSource error:Open file failed";
50385 + LOG(ERROR) << "SetFdSource error:Get file state failed";
50397 new file mode 100644
50404 +// found in the LICENSE file.
50517 new file mode 100644
50524 +// found in the LICENSE file.
50618 new file mode 100644
50625 +// found in the LICENSE file.
50671 new file mode 100644
50678 +// found in the LICENSE file.
50725 new file mode 100644
50732 +// found in the LICENSE file.
51249 auto it = async_responders_.find(request_id);
51276 auto it = async_responders_.find(request_id);
51708 new file mode 100644
51715 +// found in the LICENSE file.
51864 + // Parse the root certificate file
51914 + if (used_in_path.find(last_issuer) != used_in_path.end()) {
52219 new file mode 100644
52226 +// found in the LICENSE file.
52888 new file mode 100755
52895 +# you may not use this file except in compliance with the License.
53173 new file mode 100644
53208 \ No newline at end of file
53210 new file mode 100644
53218 + * you may not use this file except in compliance with the License.
53587 + * Set the NWebFindCallback that will receive find event.
53590 + * @param findListener NWebFindCallback : find callback
53596 + * Finds all instances of find on the page and highlights them,
53599 + * @param searchStr String: target string to find.
53613 + * @param forward bool: find back or forward:
53622 + * @param autoName if false, takes basename to be a file. If true, basename
53692 + * set the locale name of current system setting..
53694 + * @param locale the locale name of current system setting.
53702 new file mode 100644
53710 + * you may not use this file except in compliance with the License.
53776 \ No newline at end of file
53778 new file mode 100644
53786 + * you may not use this file except in compliance with the License.
53873 \ No newline at end of file
53875 new file mode 100755
53883 + * you may not use this file except in compliance with the License.
54026 \ No newline at end of file
54028 new file mode 100755
54035 +// found in the LICENSE file.
54060 new file mode 100644
54068 + * you may not use this file except in compliance with the License.
54123 + * @brief Get whether instances can send and accept cookies for file scheme URLs.
54125 + * @return true if instances send and accept cookies for file scheme URLs.
54129 + * @brief Sets whether the instance should send and accept cookies for file scheme URLs.
54131 + * @param allow whether the instance should send and accept cookies for file scheme URLs.
54210 \ No newline at end of file
54212 new file mode 100644
54220 + * you may not use this file except in compliance with the License.
54341 new file mode 100755
54348 +// found in the LICENSE file.
54372 \ No newline at end of file
54374 new file mode 100644
54382 + * you may not use this file except in compliance with the License.
54408 + * @brief Notify the host application that a file should be downloaded
54414 + * @param contentLength The file size reported by the server.
54425 \ No newline at end of file
54427 new file mode 100755
54435 + * you may not use this file except in compliance with the License.
54465 new file mode 100644
54473 + * you may not use this file except in compliance with the License.
54500 new file mode 100644
54508 + * you may not use this file except in compliance with the License.
54555 \ No newline at end of file
54557 new file mode 100644
54565 + * you may not use this file except in compliance with the License.
54597 + * @param isDoneCounting bool: whether the find operation has actually
54610 new file mode 100755
54618 + * you may not use this file except in compliance with the License.
54650 new file mode 100644
54658 + * you may not use this file except in compliance with the License.
54689 + * saved to the system.
54699 new file mode 100755
54707 + * you may not use this file except in compliance with the License.
55086 + * @brief inform application to show a file selector.
55087 + * @param callback the file list to select.
55088 + * @param params the params of file selector.
55188 new file mode 100755
55196 + * you may not use this file except in compliance with the License.
55286 new file mode 100644
55294 + * you may not use this file except in compliance with the License.
55328 \ No newline at end of file
55330 new file mode 100644
55337 +// found in the LICENSE file.
55367 \ No newline at end of file
55369 new file mode 100755
55376 +// found in the LICENSE file.
55404 \ No newline at end of file
55406 new file mode 100755
55414 + * you may not use this file except in compliance with the License.
55448 \ No newline at end of file
55450 new file mode 100755
55458 + * you may not use this file except in compliance with the License.
55500 new file mode 100755
55508 + * you may not use this file except in compliance with the License.
55535 + * in the system) access within WebView. The default is true.
55540 + * Enables or disables file system access within WebView. But files in the
55546 + * Put whether to allow JavaScript running in a file scheme URL to access
55547 + * content from other file scheme URLs. The default is false.
55552 + * Put whether to allow JavaScript running in a file scheme URL to access
55553 + * content from any origin. This includes access to content from other file
55693 + * webview will use the system default value. Changing the user-agent
55774 + * in the system) access within WebView is supported.
55781 + * Get if file system access within WebView is supported. Notified files in the
55789 + * Get if JavaScript running in a file scheme URL to access
55790 + * content from other file scheme URLs is supported.
55797 + * Get if JavaScript running in a file scheme URL to access
55798 + * content from any origin is supported. This includes access to content from other file
56027 new file mode 100644
56035 + * you may not use this file except in compliance with the License.
56084 \ No newline at end of file
56086 new file mode 100644
56094 + * you may not use this file except in compliance with the License.
56138 \ No newline at end of file
56140 new file mode 100644
56148 + * you may not use this file except in compliance with the License.
56221 \ No newline at end of file
56223 new file mode 100644
56231 + * you may not use this file except in compliance with the License.
56312 + * file)
56464 new file mode 100644
56472 + * you may not use this file except in compliance with the License.
56551 new file mode 100644
56559 + * you may not use this file except in compliance with the License.
56589 \ No newline at end of file
56591 new file mode 100644
56599 + * you may not use this file except in compliance with the License.
56662 new file mode 100644
56670 + * you may not use this file except in compliance with the License.
56705 new file mode 100644
56713 + * you may not use this file except in compliance with the License.
56736 new file mode 100755
56744 + * you may not use this file except in compliance with the License.
56795 new file mode 100644
56803 + * you may not use this file except in compliance with the License.
56842 new file mode 100644
56850 + * you may not use this file except in compliance with the License.
56969 new file mode 100644
56977 + * you may not use this file except in compliance with the License.
57048 new file mode 100755
57056 + * you may not use this file except in compliance with the License.
57136 + KMenuCommandIdMap.find(id);
57157 + kCmMediaTypeMap.find(static_cast<int32_t>(value));
57349 \ No newline at end of file
57351 new file mode 100755
57359 + * you may not use this file except in compliance with the License.
57447 \ No newline at end of file
57449 new file mode 100755
57457 + * you may not use this file except in compliance with the License.
57489 new file mode 100755
57497 + * you may not use this file except in compliance with the License.
57534 new file mode 100644
57542 + * you may not use this file except in compliance with the License.
57993 \ No newline at end of file
57995 new file mode 100644
58003 + * you may not use this file except in compliance with the License.
58060 \ No newline at end of file
58062 new file mode 100644
58070 + * you may not use this file except in compliance with the License.
58221 new file mode 100644
58229 + * you may not use this file except in compliance with the License.
58290 new file mode 100755
58298 + * you may not use this file except in compliance with the License.
58328 \ No newline at end of file
58330 new file mode 100755
58338 + * you may not use this file except in compliance with the License.
58373 \ No newline at end of file
58375 new file mode 100755
58383 + * you may not use this file except in compliance with the License.
59355 new file mode 100644
59363 + * you may not use this file except in compliance with the License.
59550 new file mode 100644
59558 + * you may not use this file except in compliance with the License.
59576 new file mode 100755
59584 + * you may not use this file except in compliance with the License.
59631 \ No newline at end of file
59633 new file mode 100755
59641 + * you may not use this file except in compliance with the License.
59678 \ No newline at end of file
59680 new file mode 100644
59688 + * you may not use this file except in compliance with the License.
59842 new file mode 100644
59850 + * you may not use this file except in compliance with the License.
59898 new file mode 100644
59906 + * you may not use this file except in compliance with the License.
59974 \ No newline at end of file
59976 new file mode 100644
59984 + * you may not use this file except in compliance with the License.
60046 \ No newline at end of file
60048 new file mode 100644
60056 + * you may not use this file except in compliance with the License.
60197 new file mode 100644
60205 + * you may not use this file except in compliance with the License.
60228 +// Handles the ohos find-in-page API requests.
60233 + // Called when receiving a new find-in-page update.
60269 + // Required by FindNext and the incremental find replies.
60279 new file mode 100755
60287 + * you may not use this file except in compliance with the License.
60313 new file mode 100755
60321 + * you may not use this file except in compliance with the License.
60354 new file mode 100644
60362 + * you may not use this file except in compliance with the License.
60396 \ No newline at end of file
60398 new file mode 100644
60406 + * you may not use this file except in compliance with the License.
60441 new file mode 100644
60449 + * you may not use this file except in compliance with the License.
61637 + file_selector_title = "open file";
61643 + file_selector_title = "open file folder";
62005 new file mode 100644
62013 + * you may not use this file except in compliance with the License.
62444 new file mode 100644
62452 + * you may not use this file except in compliance with the License.
62731 + auto itKeyValue = keyValueConverter.find(keyValue);
62744 + auto item = itConverter.find(input);
62756 + auto item = itConverter.find(input);
62810 new file mode 100644
62818 + * you may not use this file except in compliance with the License.
62873 \ No newline at end of file
62875 new file mode 100644
62883 + * you may not use this file except in compliance with the License.
62936 \ No newline at end of file
62938 new file mode 100644
62946 + * you may not use this file except in compliance with the License.
62978 \ No newline at end of file
62980 new file mode 100644
62988 + * you may not use this file except in compliance with the License.
63027 \ No newline at end of file
63029 new file mode 100644
63037 + * you may not use this file except in compliance with the License.
63071 \ No newline at end of file
63073 new file mode 100755
63081 + * you may not use this file except in compliance with the License.
63120 \ No newline at end of file
63122 new file mode 100755
63130 + * you may not use this file except in compliance with the License.
63163 \ No newline at end of file
63165 new file mode 100755
63173 + * you may not use this file except in compliance with the License.
63203 \ No newline at end of file
63205 new file mode 100755
63213 + * you may not use this file except in compliance with the License.
63245 \ No newline at end of file
63247 new file mode 100755
63255 + * you may not use this file except in compliance with the License.
63293 \ No newline at end of file
63295 new file mode 100755
63303 + * you may not use this file except in compliance with the License.
63342 \ No newline at end of file
63344 new file mode 100755
63352 + * you may not use this file except in compliance with the License.
63502 + (UserAgent().find("Windows NT") >= 0) &&
63503 + (UserAgent().find("Win64") >= 0 || UserAgent().find("WOW64") >= 0);
63883 new file mode 100755
63891 + * you may not use this file except in compliance with the License.
64044 new file mode 100755
64052 + * you may not use this file except in compliance with the License.
64406 new file mode 100755
64414 + * you may not use this file except in compliance with the License.
64531 new file mode 100644
64539 + * you may not use this file except in compliance with the License.
64714 new file mode 100644
64722 + * you may not use this file except in compliance with the License.
64785 new file mode 100644
64793 + * you may not use this file except in compliance with the License.
64849 \ No newline at end of file
64851 new file mode 100644
64859 + * you may not use this file except in compliance with the License.
64893 \ No newline at end of file
64895 new file mode 100644
64903 + * you may not use this file except in compliance with the License.
65142 new file mode 100644
65150 + * you may not use this file except in compliance with the License.
65194 new file mode 100644
65202 + * you may not use this file except in compliance with the License.
65252 \ No newline at end of file
65254 new file mode 100644
65262 + * you may not use this file except in compliance with the License.
65413 \ No newline at end of file
65415 new file mode 100644
65423 + * you may not use this file except in compliance with the License.
65479 \ No newline at end of file
65481 new file mode 100644
65489 + * you may not use this file except in compliance with the License.
65611 new file mode 100644
65619 + * you may not use this file except in compliance with the License.
65679 new file mode 100644
65687 + * you may not use this file except in compliance with the License.
65729 new file mode 100644
65737 + * you may not use this file except in compliance with the License.
65768 new file mode 100644
65776 + * you may not use this file except in compliance with the License.
65933 new file mode 100644
65941 + * you may not use this file except in compliance with the License.
65992 new file mode 100755
66000 + * you may not use this file except in compliance with the License.
66089 + auto it = map->find(nweb_id);
66235 + web_engine_args_.emplace_back("/system/bin/web_render");
66255 + "--browser-subprocess-path=/system/bin/web_render");
66256 + web_engine_args_.emplace_back("--zygote-cmd-prefix=/system/bin/web_render");
66261 + auto it = std::find(web_engine_args_.begin(), web_engine_args_.end(), arg);
66770 + auto it = map->find(nweb_id);
66774 new file mode 100644
66782 + * you may not use this file except in compliance with the License.
66937 new file mode 100644
66945 + * you may not use this file except in compliance with the License.
67084 new file mode 100644
67092 + * you may not use this file except in compliance with the License.
67148 new file mode 100644
67156 + * you may not use this file except in compliance with the License.
67509 new file mode 100644
67517 + * you may not use this file except in compliance with the License.
67698 new file mode 100644
67706 + * you may not use this file except in compliance with the License.
67736 + unsigned int bf_size; /* Size of file */
67742 +/**** BMP file info structure ****/
67911 + WVLOG_E("fail to dump file. dump buffer is nullptr");
67981 + // Magic number for file. It does not fit in the header structure
67992 + FILE* file = fopen(filename.c_str(), "wb");
67993 + if (!file) {
67999 + fwrite(&bmp_file_type, sizeof(bmp_file_type), 1, file);
68000 + fwrite(&bmp_file_header, sizeof(bmp_file_header), 1, file);
68001 + fwrite(&bmp_info_header, sizeof(bmp_info_header), 1, file);
68002 + fwrite(buf, rgb_buf_size, 1, file);
68003 + fclose(file);
68022 new file mode 100644
68030 + * you may not use this file except in compliance with the License.
68126 new file mode 100644
68134 + * you may not use this file except in compliance with the License.
68176 \ No newline at end of file
68178 new file mode 100755
68185 +# you may not use this file except in compliance with the License.
68202 new file mode 100644
68210 + * you may not use this file except in compliance with the License.
68243 \ No newline at end of file
68245 new file mode 100644
68253 + * you may not use this file except in compliance with the License.
68307 new file mode 100644
68315 + * you may not use this file except in compliance with the License.
68360 \ No newline at end of file
68362 new file mode 100644
68370 + * you may not use this file except in compliance with the License.
68410 new file mode 100644
68418 + * you may not use this file except in compliance with the License.
68506 new file mode 100644
68514 + * you may not use this file except in compliance with the License.
68556 new file mode 100644
68564 + * you may not use this file except in compliance with the License.
68643 \ No newline at end of file
68645 new file mode 100755
68653 + * you may not use this file except in compliance with the License.
68718 new file mode 100755
68726 + * you may not use this file except in compliance with the License.
69143 new file mode 100755
69150 +// found in the LICENSE file.
69319 new file mode 100755
69326 +// found in the LICENSE file.
69522 new file mode 100644
69529 +// found in the LICENSE file.
69655 new file mode 100644
69662 +// found in the LICENSE file.
69856 @@ -161,10 +161,17 @@ SK_API void SkDebugf_FileLine(const char* file,
69877 new file mode 100644
69884 +// found in the LICENSE file.
69898 \ No newline at end of file
70135 - // file that would pass the quick check and fail the full check.
70147 + // The database file ends up empty if we don't create at least one table.
70717 + base::File file(db_path, base::File::FLAG_OPEN | base::File::FLAG_READ);
70718 + if (!file.IsValid())
70720 + if (!file.ReadAndCheck(kPageSizeOffset, raw_page_size_bytes))
70779 + base::File file(db_path, base::File::FLAG_OPEN | base::File::FLAG_READ);
70780 + if (!file.IsValid())
70782 + if (!file.ReadAndCheck(kHeaderOffset, header))
70792 << "Unsupported SQLite file format";
70808 + // Set the page count to exceed the file size.
70848 - base::ScopedFILE file(base::OpenFile(db_path, "rb+"));
70849 - if (!file.get())
70852 - if (0 != fseek(file.get(), 0, SEEK_SET))
70854 - if (1u != fread(header, sizeof(header), 1, file.get()))
70855 + base::File file(db_path, base::File::FLAG_OPEN | base::File::FLAG_READ |
70857 + if (!file.IsValid())
70862 + int64_t db_size = file.GetLength();
70868 - if (0 != fseek(file.get(), 0, SEEK_SET))
70874 + if (!file.ReadAndCheck(kHeaderOffset, header))
70876 - if (1u != fwrite(header, sizeof(header), 1, file.get()))
70881 + return file.WriteAndCheck(kHeaderOffset, header);
70934 - base::ScopedFILE file(base::OpenFile(db_path, "rb+"));
70935 - if (!file.get())
70937 - if (0 != fseek(file.get(), page_ofs, SEEK_SET))
70939 - if (1u != fread(page_buf.get(), page_size, 1, file.get()))
70961 - if (0 != fflush(file.get()))
70963 - if (0 != fseek(file.get(), page_ofs, SEEK_SET))
70965 - if (1u != fread(check_page_buf.get(), page_size, 1, file.get()))
70972 - if (0 != fseek(file.get(), page_ofs, SEEK_SET))
70974 - if (1u != fwrite(page_buf.get(), page_size, 1, file.get()))
70980 + base::File file(db_path, base::File::FLAG_OPEN | base::File::FLAG_READ |
70982 + if (!file.IsValid())
70984 + return file.WriteAndCheck(page_offset, page_buffer);
71019 // Returns false if any error occurs accessing the file.
71038 -// on-disk file is successfully modified, and the restored page
72714 + // if InnerNode is not the image , find image from fallback.
72873 new file mode 100644
72912 new file mode 100644
73022 new file mode 100644
73030 \ No newline at end of file
73051 for (const blink::Member<blink::File>& file : data->files()) {
73053 + base::SafeBaseName::Create(StringToFilePath(file->name()));
73057 + mojom::blink::ConsoleMessageLevel::kWarning, "Unsafe file name");
73063 total_bytes += file->size();
73064 - files.push_back(mojom::blink::SharedFile::New(file->name(),
73065 - file->GetBlobDataHandle()));
73067 + mojom::blink::SharedFile::New(*name, file->GetBlobDataHandle()));
73221 // disabled, use the system defaults.
73689 new file mode 100644
73742 new file mode 100644
73810 new file mode 100644
73909 // In the case of Android the log can be written to the default system log
73923 // Writes one line to the system log.
74396 #error define kOS for this operating system
74412 …-git a/src/third_party/crashpad/crashpad/util/file/file_io.h b/src/third_party/crashpad/crashpad/u…
74414 --- a/src/third_party/crashpad/crashpad/util/file/file_io.h
74415 +++ b/src/third_party/crashpad/crashpad/util/file/file_io.h
74422 //! \brief Opens an in-memory file for input and output.
74424 //! This function first attempts to open the file with `memfd_create()`. If
74425 …t a/src/third_party/crashpad/crashpad/util/file/file_io_posix.cc b/src/third_party/crashpad/crashp…
74427 --- a/src/third_party/crashpad/crashpad/util/file/file_io_posix.cc
74428 +++ b/src/third_party/crashpad/crashpad/util/file/file_io_posix.cc
74436 DCHECK(name.value().find('/') == std::string::npos);
74438 …it a/src/third_party/crashpad/crashpad/util/file/file_writer.cc b/src/third_party/crashpad/crashpa…
74440 --- a/src/third_party/crashpad/crashpad/util/file/file_writer.cc
74441 +++ b/src/third_party/crashpad/crashpad/util/file/file_writer.cc
74451 …it a/src/third_party/crashpad/crashpad/util/file/file_writer.h b/src/third_party/crashpad/crashpad…
74453 --- a/src/third_party/crashpad/crashpad/util/file/file_writer.h
74454 +++ b/src/third_party/crashpad/crashpad/util/file/file_writer.h
74574 //! return different results due to the system clock being changed or
74587 // widely-available system library. On Linux and Android, uuid_generate()
74665 // See linux-4.4.27/fs/file.c sysctl_nr_open, referenced by kernel/sys.c
74666 // do_prlimit() and kernel/sysctl.c fs_table. Inability to open this file is
74757 # This GN file is discovered by all Chromium builds, but common doesn't support
75310 -// can be enabled or disabled by the tracing framework. The trace system will automatically add the
75312 +// can be enabled or disabled by the tracing framework. The trace system will
75346 #error "Another copy of this file has already been included."
75788 new file mode 100755
75795 +// found in the LICENSE file.
75811 +static const char* OHOS_DEFAULT_CONFIG = "/system/etc/fontconfig.json";
75814 + * \param fontScanner the scanner to get the font information from a font file
75815 + * \param fname the full name of system font configuration document.
75816 + * \n The default value is '/system/etc/fontconfig.json', if fname is given null
75846 +/*! To get the count of font style sets supported in the system
75857 + * \n Return -1, if there is no any font style set in the system.
75974 + * \n Return -1, if 'familyName' is not found in the system
75983 + int* p = genericNames.find(fname);
75988 + p = fallbackNames.find(fname);
76097 +/*! To get the data of font configuration file
76098 + * \param fname the full name of the font configuration file
76100 + * \return The pointer of content of the file
76123 +/*! parse the system font configuration document
76184 +/*! check the system font configuration document
76611 + if (item.ttcIndex != 0 && ttcIndexMap.find(item.familyName) == nullptr) {
76695 + if (variationMap.find(key) == nullptr || axisDefs.count() == 0) {
76703 + const std::vector<VariationInfo>& variationSet = *(variationMap.find(key));
76726 + * \n Return null, if the family name is not found in the system
76731 + if (aliasMap.find(familyName) != nullptr) {
76732 + const std::vector<AliasInfo>& aliasSet = *(aliasMap.find(familyName));
76738 + } else if (fallbackNames.find(familyName) != nullptr) {
76739 + int index = *(fallbackNames.find(familyName));
76745 +/*! To load font information from a font file
76746 + * \param scanner a scanner used to parse the font file
76747 + * \param fname the full name of a font file
76749 + * \return ERROR_FONT_NOT_EXIST font file is not exist
76775 + if (adjustMap.find(font.familyName) != nullptr) {
76776 + const std::vector<AdjustInfo> adjustSet = *(adjustMap.find(font.familyName));
76801 +/*! To scan the system font directories
76802 + * \param fontScanner the scanner used to parse a font file
76810 + fontDirSet.emplace_back(SkString("/system/fonts/"));
76976 + return "config file is not found";
76979 + return "the format of config file is not supported";
76988 + return "font file is not exist";
77000 + return "no available family in the system";
77050 new file mode 100755
77057 +// found in the LICENSE file.
77116 + ERROR_FONT_NOT_EXIST, // the font file is not exist
77119 + ERROR_FAMILY_NOT_FOUND, // the family name is not found in the system
77120 + ERROR_NO_AVAILABLE_FAMILY, // no available family in the system
77151 + * \brief To parse the font configuration document and manage the system fonts
77286 new file mode 100755
77293 +// found in the LICENSE file.
77346 + * \param fname the fullname of font file
77347 + * \param index the index of the typeface in the font file
77423 + SkString fname; // the full name of font file
77434 + std::unique_ptr<SkStreamAsset> stream; // the data stream of font file
77439 new file mode 100755
77446 +// found in the LICENSE file.
77455 + * \param path the full path of system font configuration document
77464 + * \return The count of families in the system
77513 + // return default system font when familyName is null
77548 + * \n Use the system fallback to find a typeface for the given character.
77571 + item = fallbackForMap.find(defaultFamily);
77573 + item = fallbackForMap.find(SkString(familyName));
77577 + item = fallbackForMap.find(defaultFamily);
77581 + LOGE("%s : '%s' must be a fallback key in the config file\n",
77595 + item = fallbackForMap.find(defaultFamily);
77608 + item = fallbackForMap.find(defaultFamily);
77615 +/*! To find the matched typeface for the given parameters
77616 + * \n Use the system fallback to find a typeface for the given character.
77617 + * \param fallbackItem the fallback items in which to find the typeface
77641 + // find the families matching the bcp47 list
77695 + if (langs.find(bcp47[i]) != -1) {
77705 + if (langs.find(iso15924) != -1 ||
77706 + (strncmp(bcp47[i], "und", strlen("und")) && langs.find(country.c_str()) != -1)) {
77718 + * \n Return null, if the family name of the given typeface is not found in the system
77783 +/*! To create a typeface from the specified font file and TTC index
77784 + * \param path the full path of the given font file
77785 + * \param ttcIndex the index of typeface in a ttc font file. 0 means none.
77787 + * \n Return null if the font file is not found or the content of file is not recognized.
77811 + * \return Return null, if there is no any typeface in the system
77832 + * \param path the fullname of font file
77908 + * \param fname the full name of system font configuration documents
77916 new file mode 100755
77925 + * found in the LICENSE file.
77973 + SkTypeface_FreeType::Scanner fontScanner; // the scanner to parse a font file
77989 new file mode 100755
77996 +// found in the LICENSE file.
78098 new file mode 100755
78105 +// found in the LICENSE file.
78136 new file mode 100755
78143 +// found in the LICENSE file.
78173 + * \param[out] ttcIndex the index of the typeface in a ttc file returned to the caller
78281 new file mode 100755
78288 +// found in the LICENSE file.
78315 + SkString specifiedName; // specified family name which is defined in the configuration file
78379 @@ -608,7 +610,7 @@ TESTOPTS = --verbose=file --output=test-out.txt
78514 +# -sEXPORTED_RUNTIME_METHODS=@/absolute/path/to/file: a file
78518 +# -sEXPORTED_FUNCTIONS=@/absolute/path/to/file: a file containing a
78520 +# so they're visible to JS. C symbols names in that file must all
78551 +# require using at least a --pre-js file. They can be used
78559 +# primarily because -Oz will shrink the wasm file notably. JS-side
78703 The official check-in name can also be seen in the `manifest.uuid` file
78725 executable file and put that file someplace on your $PATH.)
78737 @@ -136,7 +136,7 @@ the "tclsqlite.c" file which implements the
78746 @@ -170,7 +170,7 @@ at just the right spots. Note that comment text in the sqlite3.h file is
78752 the src/parse.y file. The conversion of "parse.y" into "parse.c" is done
78754 for lemon is at tool/lemon.c. Lemon uses the tool/lempar.c file as a
78757 The **opcodes.h** header file contains macros that define the numbers
78759 -file is generated by the scanning the src/vdbe.c source file. The
78760 +file is generated by scanning the src/vdbe.c source file. The
78763 the **opcodes.c** source file, which contains a reverse mapping from
78781 * **ext/misc/json1.c** - This file implements the various JSON functions
78786 describes its purpose and role within the larger system.
78787 @@ -307,11 +307,13 @@ describes its purpose and role within the larger system.
78790 The `manifest` file at the root directory of the source tree
78793 older files) for every source file in the repository.
78795 -file itself is the official name of the version of the source tree that you
78796 -have. The `manifest.uuid` file should contain the SHA3-256 hash of the
78798 +SHA3-256 hash of the `manifest` file itself, possibly with the
78799 +last line of that file omitted if the last line begins with
78801 +The `manifest.uuid` file should contain the SHA3-256 hash of the
78802 `manifest` file. If all of the above hash comparisons are correct, then
78820 // found in the LICENSE file.
79453 ** file. Note that this macro has a like effect on sqlite3.c compilation.
79465 @@ -247,6 +247,16 @@ static void setTextMode(FILE *file, int isOutput){
79646 +** May you find forgiveness for yourself and forgive others.
79651 +** This file implements an extension that uses the SQLITE_CONFIG_MALLOC
79657 +** This file needs to be compiled into the application that uses it.
79791 -** function writes blob DATA to file FILE. If successful, the number
79796 -** value (file type + permissions, as returned in the stat.st_mode
79797 -** field by the stat() system call). Three types of files may
79806 -** regular file, it is interpreted as a blob and written into the
79807 -** named file. Regardless of the type of file, its permissions are
79812 -** modification-time of the target file is set to this value before
79820 -** Read and return the contents of file FILE (type blob) from disk.
79828 -** Parameter $path is an absolute or relative pathname. If the file that it
79830 -** file or symbolic link, it returns a single row. Or, if the path refers
79832 -** file within the hierarchy rooted at $path.
79839 -** name: Path to file or directory (text value).
79842 -** data: For a regular file, a blob containing the file data. For a
79907 -#define FSDIR_COLUMN_NAME 0 /* Name of the file */
79917 -** contents of file zName. Or, leave the result unchanged (NULL)
79918 -** if the file does not exist or is unreadable.
79920 -** If the file exceeds the SQLite blob size limit, through an
79923 -** Throw an SQLITE_IOERR if there are difficulties pulling the file
80003 -** of the file named X is read and returned as a BLOB. NULL is returned
80004 -** if the file does not exist or is unreadable.
80054 +** May you find forgiveness for yourself and forgive others.
80199 -** Argument zFile is the name of a file that will be created and/or written
80273 -** header comments at the top of this file for details.
80459 -** Refer to header comments at the top of this file for details.
80517 - ctxErrorMsg(context, "failed to write file: %s", zFile);
80850 - fsdirSetErrmsg(pCur, "cannot stat file: %s", pCur->zPath);
81090 - fsdirSetErrmsg(pCur, "cannot stat file: %s", pCur->zPath);
81394 ** May you find forgiveness for yourself and forgive others.
81400 -** This file implements an eponymous virtual table that returns suggested
82132 ** May you find forgiveness for yourself and forgive others.
82138 -** This file implements a VFS shim that allows an SQLite database to be
82139 -** appended onto the end of some other file, such as an executable.
82140 +** This file demonstrates how to create a table-valued-function using
82145 -** A special record must appear at the end of the file that identifies the
82146 -** file as an appended database and provides the offset to the first page
82153 -** the file as an ordinary SQLite database, or it might treat it as a
82154 -** database appended onto some other file. The decision is made by
82159 -** (1) An empty file is an ordinary database.
82162 -** (2) If the file ends with the appendvfs trailer string
82163 -** "Start-Of-SQLite3-NNNNNNNN" that file is an appended database.
82166 -** (3) If the file begins with the standard SQLite prefix string
82167 -** "SQLite format 3", that file is an ordinary database.
82171 -** set, then a new database is appended to the already existing file.
82178 -** the file containing the database is limited to 1GiB. (1073741824 bytes)
82181 -** database, then keep it in a separate file.
82185 -** If the file being opened is a plain database (not an appended one), then
82347 -/* An open appendvfs file
82349 -** An instance of this structure describes the appended database file.
82352 -** the entire file, including the prefix, the database, and the
82358 -** | prefix-file | padding | database | append-mark |
82365 -** "prefix file" - file onto which the database has been appended.
82368 -** "database" - The SQLite database file
82370 -** the offset from the start of prefix-file to the start
82378 -** iMark will be the size of the underlying file minus 25 (APND_MARKSIZE).
82387 - /* Always followed by another sqlite3_file that describes the whole file */
82516 -** Close an apnd-file.
82533 -** Read data from an apnd-file.
82553 -** Add the append-mark onto what should become the end of the file.
82616 -** Write data to an apnd-file.
82668 -** Truncate an apnd-file.
82689 - /* Truncate underlying file just past append mark */
82705 -** Sync an apnd-file.
82717 -** Return the current file-size of an apnd-file.
82718 -** If the append mark is not yet there, the file-size is 0.
82790 -** Lock an apnd-file.
82826 -** Unlock an apnd-file.
82835 -** Check if another file-handle holds a RESERVED lock on an apnd-file.
82844 -** File control method. For custom operations on an apnd-file.
82876 -** Return the sector-size in bytes for an apnd-file.
82883 +** May you find forgiveness for yourself and forgive others.
82888 +** The code in this file implements a compact but reasonably
82892 +** This file is an SQLite extension. It registers a single function
82944 -** Return the device characteristic flags supported by an apnd-file.
82946 +** this file to prevent name collisions with C-library functions of the
82957 -/* Create a shared memory file mapping */
83051 -/* Fetch a page of a memory-mapped file */
83111 -** Try to read the append-mark off the end of a file. Return the
83148 -** Check to see if the file is an appendvfs SQLite database file.
83149 -** Return true iff it is such. Parameter sz is the file's size.
83158 - /* If file has the correct end-marker, the expected odd size, and the
83584 -** Check to see if the file is an ordinary SQLite database file.
83585 -** Return true iff so. Parameter sz is the file's size.
83609 -** Open an apnd file handle.
83629 - ** Just use the base VFS open to initialize the given file object and
83630 - ** open the underlying file. (Appendvfs is then unused for this file.)
83663 - /* The file being opened appears to be just an ordinary DB. Copy
83698 - ** Note that nothing has yet been written to the underlying file.
83710 -** Delete an apnd file.
83713 -** For now, this code deletes the underlying file too.
83910 ** May you find forgiveness for yourself and forgive others.
83915 -** This file implements an extension that uses the SQLITE_CONFIG_MALLOC
83921 -** This file needs to be compiled into the application that uses it.
84024 -** May you find forgiveness for yourself and forgive others.
84030 +** function writes blob DATA to file FILE. If successful, the number
84036 +** value (file type + permissions, as returned in the stat.st_mode
84037 +** field by the stat() system call). Three types of files may
84051 +** regular file, it is interpreted as a blob and written into the
84052 +** named file. Regardless of the type of file, its permissions are
84060 +** modification-time of the target file is set to this value before
84143 -** May you find forgiveness for yourself and forgive others.
84145 +** Read and return the contents of file FILE (type blob) from disk.
84156 +** Parameter $path is an absolute or relative pathname. If the file that it
84158 +** file or symbolic link, it returns a single row. Or, if the path refers
84160 +** file within the hierarchy rooted at $path.
84164 +** name: Path to file or directory (text value).
84167 +** data: For a regular file, a blob containing the file data. For a
84242 +#define FSDIR_COLUMN_NAME 0 /* Name of the file */
84263 +** contents of file zName. Or, leave the result unchanged (NULL)
84264 +** if the file does not exist or is unreadable.
84266 +** If the file exceeds the SQLite blob size limit, through an
84269 +** Throw an SQLITE_IOERR if there are difficulties pulling the file
84473 +** of the file named X is read and returned as a BLOB. NULL is returned
84474 +** if the file does not exist or is unreadable.
84796 +** Argument zFile is the name of a file that will be created and/or written
84857 +** header comments at the top of this file for details.
84994 +** Refer to header comments at the top of this file for details.
85056 + ctxErrorMsg(context, "failed to write file: %s", zFile);
85309 -** May you find forgiveness for yourself and forgive others.
85497 + fsdirSetErrmsg(pCur, "cannot stat file: %s", pCur->zPath);
85713 + fsdirSetErrmsg(pCur, "cannot stat file: %s", pCur->zPath);
85924 -** This file demonstrates how to create a table-valued-function using
85953 +** This file implements an eponymous virtual table that returns suggested
86700 -** The code in this file implements a compact but reasonably
86703 +** This file implements a VFS shim that allows an SQLite database to be
86704 +** appended onto the end of some other file, such as an executable.
86706 -** This file is an SQLite extension. It registers a single function
86712 +** A special record must appear at the end of the file that identifies the
86713 +** file as an appended database and provides the offset to the first page
86720 +** the file as an ordinary SQLite database, or it might treat it as a
86721 +** database appended onto some other file. The decision is made by
86748 +** (1) An empty file is an ordinary database.
86750 +** (2) If the file ends with the appendvfs trailer string
86751 +** "Start-Of-SQLite3-NNNNNNNN" that file is an appended database.
86753 +** (3) If the file begins with the standard SQLite prefix string
86754 +** "SQLite format 3", that file is an ordinary database.
86757 +** set, then a new database is appended to the already existing file.
86762 +** the file containing the database is limited to 1GiB. (1073741824 bytes)
86765 +** database, then keep it in a separate file.
86777 +** If the file being opened is a plain database (not an appended one), then
86787 -** this file to prevent name collisions with C-library functions of the
86873 +/* An open appendvfs file
86875 +** An instance of this structure describes the appended database file.
86878 +** the entire file, including the prefix, the database, and the
86884 +** | prefix-file | padding | database | append-mark |
86891 +** "prefix file" - file onto which the database has been appended.
86894 +** "database" - The SQLite database file
86896 +** the offset from the start of prefix-file to the start
86904 +** iMark will be the size of the underlying file minus 25 (APND_MARKSIZE).
86922 + /* Always followed by another sqlite3_file that describes the whole file */
87063 +** Close an apnd-file.
87074 +** Read data from an apnd-file.
87090 +** Add the append-mark onto what should become the end of the file.
87255 +** Write data to an apnd-file.
87289 +** Truncate an apnd-file.
87307 + /* Truncate underlying file just past append mark */
87313 +** Sync an apnd-file.
87325 +** Return the current file-size of an apnd-file.
87326 +** If the append mark is not yet there, the file-size is 0.
87343 +** Lock an apnd-file.
87365 +** Unlock an apnd-file.
87414 +** Check if another file-handle holds a RESERVED lock on an apnd-file.
87425 +** File control method. For custom operations on an apnd-file.
87589 +** Return the sector-size in bytes for an apnd-file.
87597 +** Return the device characteristic flags supported by an apnd-file.
87604 +/* Create a shared memory file mapping */
87634 +/* Fetch a page of a memory-mapped file */
87657 +** Try to read the append-mark off the end of a file. Return the
87687 +** Check to see if the file is an appendvfs SQLite database file.
87688 +** Return true iff it is such. Parameter sz is the file's size.
87695 + /* If file has the correct end-marker, the expected odd size, and the
87716 +** Check to see if the file is an ordinary SQLite database file.
87717 +** Return true iff so. Parameter sz is the file's size.
87742 +** Open an apnd file handle.
87762 + ** Just use the base VFS open to initialize the given file object and
87763 + ** open the underlying file. (Appendvfs is then unused for this file.)
87796 + /* The file being opened appears to be just an ordinary DB. Copy
87857 + ** Note that nothing has yet been written to the underlying file.
87875 +** Delete an apnd file.
87878 +** For now, this code deletes the underlying file too.
88251 #define SHFLG_DumpNoSys 0x00000200 /* .dump omits system tables */
89002 " --bom Put a UTF8 byte-order mark on intermediate file",
89091 " -e Send output to the system text editor",
89115 " -e Send output to the system text editor",
89152 ".shell CMD ARGS... Run CMD ARGS... in a system shell",
89161 ".system CMD ARGS... Run CMD ARGS... in a system shell",
89469 +#ifdef SHELL_COLFIX_DB /* If this is set, the DB can be in a file. */
89712 ** Then read the content of the testcase-out.txt file and compare against
89804 char *zFile = 0; /* Name of file to extra content from */
89964 + utf8_printf(stderr,"%s: empty file\n", sCtx.zFile);
89970 - utf8_printf(stderr,"%s: empty file\n", sCtx.zFile);
90263 char *zNewFilename = 0; /* Name of the database file to open */
90265 int newFlag = 0; /* True to delete file before opening */
90558 && (strncmp(azArg[0], "shell", n)==0 || strncmp(azArg[0],"system",n)==0)
90569 - x = system(zCmd);
90570 + x = zCmd!=0 ? system(zCmd) : 1;
90624 /* Begin redirecting output to the file "testcase-out.txt" */
90820 " -init FILENAME read/process named file\n"
90902 /* Go ahead and open the database file if it already exists. If the
90903 ** file does not exist, delay opening it. This prevents empty database
90985 +** purposes of the fiddle build, that the file is in a transient
91057 ** This file is an amalgamation of many separate C source files from SQLite
91060 ** single large file, the entire code can be compiled as a single translation
91192 +** out of range. An N value of 0 means the main database file. An N of 1 is
91315 +** times that the Bloom filter returned a find, and thus the join step
91515 +** [sqlite3_vtab_in_next()] to find all values on the right-hand side
91851 ** used in the journal to signify that the remainder of the journal file
92270 ** generated this include file strives to group all JUMP opcodes
92317 int iSysErrno; /* Errno value from last system error */
92987 /************** Begin file ctime.c *******************************************/
92989 +** This file is automatically generated by the script in the canonical
92993 +** which specify categories of generated conditionals in this file.
93101 - Btree *pBtx; /* Separate file holding temporary table */
93103 + Btree *pBtx; /* Separate file holding temporary table */
93277 u8 minWriteFileFormat; /* Minimum file format for writable database files */
95340 - unixShmNode *pShmNode = p->pShmNode; /* The underlying file iNode */
95342 + unixShmNode *pShmNode; /* The underlying file iNode */
95361 + ** In normal operation, the journal file name will always contain
95369 - /* In normal operation, the journal file name will always contain
95685 char *zFilename; /* Name of the database file */
95687 ** journal file descriptor is advanced to the next sector boundary before
95696 /* Write the super-journal data to the end of the journal file. If
95710 ** * If the record is being rolled back from the main journal file
95786 ** function was called and the journal file does not exist.
95791 int bExists; /* True if journal file exists */
95820 /* We should never write to the journal file the page that
95838 ** last page is never written out to disk, leaving the database file
95864 ** the logic there will never allow a temporary file to be changed
95870 /* In this case we would like to delete the journal file. If it is
95871 ** not possible, then that is not a problem. Deleting the journal file
95878 + /* This only happens when a database file is zero bytes in size opened and
95882 + ** used for this since it starts transactions on every database file,
96293 - ** data is passed to system call write(). So to avoid this error,
96326 + ** data is passed to system call write(). So to avoid this error,
97702 ** SQL statement does not read or write a database file. */
99502 /* Record changes in the file format */
100155 ** Write data to the file.
100160 ** journal file may be written as part of committing the transaction. */
100184 /* New chunk is required to extend the file. */
102655 -** sub-system, code for them is created by fkScanChildren()).
102657 +** require no special handling by the triggers sub-system, code for them is
105263 /* Allocate and populate a new Parse context to use for coding the
106538 /************** Begin file whereexpr.c ***************************************/
107652 /* Do a binary search to find the first sample greater than or equal
108420 +** (2) Some searches are expected to find zero rows. (This is determined
114413 + ** Search at http://web.archive.org/ to find the 2015-03-16 archive
114794 -/************** Begin file json1.c *******************************************/
114795 +/************** Begin file json.c ********************************************/
114808 +** This file began as an extension in ext/misc/json1.c in 2015. That
114900 -** Some of the testcase() macros in this file are problematic for gcov
115431 -** file. Call the following routines in order to register the various SQL
115432 -** functions and the virtual table implemented by this file.
115579 /************** Begin file rtree.c *******************************************/
116025 +** out of range. An N value of 0 means the main database file. An N of 1 is
116148 +** times that the Bloom filter returned a find, and thus the join step
116348 +** [sqlite3_vtab_in_next()] to find all values on the right-hand side
116455 // found in the LICENSE file.
117088 ** file. Note that this macro has a like effect on sqlite3.c compilation.
117100 @@ -247,6 +247,16 @@ static void setTextMode(FILE *file, int isOutput){
117281 +** May you find forgiveness for yourself and forgive others.
117286 +** This file implements an extension that uses the SQLITE_CONFIG_MALLOC
117292 +** This file needs to be compiled into the application that uses it.
117426 -** function writes blob DATA to file FILE. If successful, the number
117431 -** value (file type + permissions, as returned in the stat.st_mode
117432 -** field by the stat() system call). Three types of files may
117441 -** regular file, it is interpreted as a blob and written into the
117442 -** named file. Regardless of the type of file, its permissions are
117447 -** modification-time of the target file is set to this value before
117455 -** Read and return the contents of file FILE (type blob) from disk.
117463 -** Parameter $path is an absolute or relative pathname. If the file that it
117465 -** file or symbolic link, it returns a single row. Or, if the path refers
117467 -** file within the hierarchy rooted at $path.
117474 -** name: Path to file or directory (text value).
117477 -** data: For a regular file, a blob containing the file data. For a
117542 -#define FSDIR_COLUMN_NAME 0 /* Name of the file */
117552 -** contents of file zName. Or, leave the result unchanged (NULL)
117553 -** if the file does not exist or is unreadable.
117555 -** If the file exceeds the SQLite blob size limit, through an
117558 -** Throw an SQLITE_IOERR if there are difficulties pulling the file
117638 -** of the file named X is read and returned as a BLOB. NULL is returned
117639 -** if the file does not exist or is unreadable.
117689 +** May you find forgiveness for yourself and forgive others.
117834 -** Argument zFile is the name of a file that will be created and/or written
117908 -** header comments at the top of this file for details.
118094 -** Refer to header comments at the top of this file for details.
118152 - ctxErrorMsg(context, "failed to write file: %s", zFile);
118485 - fsdirSetErrmsg(pCur, "cannot stat file: %s", pCur->zPath);
118725 - fsdirSetErrmsg(pCur, "cannot stat file: %s", pCur->zPath);
119029 ** May you find forgiveness for yourself and forgive others.
119035 -** This file implements an eponymous virtual table that returns suggested
119767 ** May you find forgiveness for yourself and forgive others.
119773 -** This file implements a VFS shim that allows an SQLite database to be
119774 -** appended onto the end of some other file, such as an executable.
119775 +** This file demonstrates how to create a table-valued-function using
119780 -** A special record must appear at the end of the file that identifies the
119781 -** file as an appended database and provides the offset to the first page
119788 -** the file as an ordinary SQLite database, or it might treat it as a
119789 -** database appended onto some other file. The decision is made by
119794 -** (1) An empty file is an ordinary database.
119797 -** (2) If the file ends with the appendvfs trailer string
119798 -** "Start-Of-SQLite3-NNNNNNNN" that file is an appended database.
119801 -** (3) If the file begins with the standard SQLite prefix string
119802 -** "SQLite format 3", that file is an ordinary database.
119806 -** set, then a new database is appended to the already existing file.
119813 -** the file containing the database is limited to 1GiB. (1073741824 bytes)
119816 -** database, then keep it in a separate file.
119820 -** If the file being opened is a plain database (not an appended one), then
119982 -/* An open appendvfs file
119984 -** An instance of this structure describes the appended database file.
119987 -** the entire file, including the prefix, the database, and the
119993 -** | prefix-file | padding | database | append-mark |
120000 -** "prefix file" - file onto which the database has been appended.
120003 -** "database" - The SQLite database file
120005 -** the offset from the start of prefix-file to the start
120013 -** iMark will be the size of the underlying file minus 25 (APND_MARKSIZE).
120022 - /* Always followed by another sqlite3_file that describes the whole file */
120151 -** Close an apnd-file.
120168 -** Read data from an apnd-file.
120188 -** Add the append-mark onto what should become the end of the file.
120251 -** Write data to an apnd-file.
120303 -** Truncate an apnd-file.
120324 - /* Truncate underlying file just past append mark */
120340 -** Sync an apnd-file.
120352 -** Return the current file-size of an apnd-file.
120353 -** If the append mark is not yet there, the file-size is 0.
120425 -** Lock an apnd-file.
120461 -** Unlock an apnd-file.
120470 -** Check if another file-handle holds a RESERVED lock on an apnd-file.
120479 -** File control method. For custom operations on an apnd-file.
120511 -** Return the sector-size in bytes for an apnd-file.
120518 +** May you find forgiveness for yourself and forgive others.
120523 +** The code in this file implements a compact but reasonably
120527 +** This file is an SQLite extension. It registers a single function
120579 -** Return the device characteristic flags supported by an apnd-file.
120581 +** this file to prevent name collisions with C-library functions of the
120592 -/* Create a shared memory file mapping */
120686 -/* Fetch a page of a memory-mapped file */
120746 -** Try to read the append-mark off the end of a file. Return the
120783 -** Check to see if the file is an appendvfs SQLite database file.
120784 -** Return true iff it is such. Parameter sz is the file's size.
120793 - /* If file has the correct end-marker, the expected odd size, and the
121219 -** Check to see if the file is an ordinary SQLite database file.
121220 -** Return true iff so. Parameter sz is the file's size.
121244 -** Open an apnd file handle.
121264 - ** Just use the base VFS open to initialize the given file object and
121265 - ** open the underlying file. (Appendvfs is then unused for this file.)
121298 - /* The file being opened appears to be just an ordinary DB. Copy
121333 - ** Note that nothing has yet been written to the underlying file.
121345 -** Delete an apnd file.
121348 -** For now, this code deletes the underlying file too.
121545 ** May you find forgiveness for yourself and forgive others.
121550 -** This file implements an extension that uses the SQLITE_CONFIG_MALLOC
121556 -** This file needs to be compiled into the application that uses it.
121659 -** May you find forgiveness for yourself and forgive others.
121665 +** function writes blob DATA to file FILE. If successful, the number
121671 +** value (file type + permissions, as returned in the stat.st_mode
121672 +** field by the stat() system call). Three types of files may
121686 +** regular file, it is interpreted as a blob and written into the
121687 +** named file. Regardless of the type of file, its permissions are
121695 +** modification-time of the target file is set to this value before
121778 -** May you find forgiveness for yourself and forgive others.
121780 +** Read and return the contents of file FILE (type blob) from disk.
121791 +** Parameter $path is an absolute or relative pathname. If the file that it
121793 +** file or symbolic link, it returns a single row. Or, if the path refers
121795 +** file within the hierarchy rooted at $path.
121799 +** name: Path to file or directory (text value).
121802 +** data: For a regular file, a blob containing the file data. For a
121877 +#define FSDIR_COLUMN_NAME 0 /* Name of the file */
121898 +** contents of file zName. Or, leave the result unchanged (NULL)
121899 +** if the file does not exist or is unreadable.
121901 +** If the file exceeds the SQLite blob size limit, through an
121904 +** Throw an SQLITE_IOERR if there are difficulties pulling the file
122108 +** of the file named X is read and returned as a BLOB. NULL is returned
122109 +** if the file does not exist or is unreadable.
122431 +** Argument zFile is the name of a file that will be created and/or written
122492 +** header comments at the top of this file for details.
122629 +** Refer to header comments at the top of this file for details.
122691 + ctxErrorMsg(context, "failed to write file: %s", zFile);
122944 -** May you find forgiveness for yourself and forgive others.
123132 + fsdirSetErrmsg(pCur, "cannot stat file: %s", pCur->zPath);
123348 + fsdirSetErrmsg(pCur, "cannot stat file: %s", pCur->zPath);
123559 -** This file demonstrates how to create a table-valued-function using
123588 +** This file implements an eponymous virtual table that returns suggested
124335 -** The code in this file implements a compact but reasonably
124338 +** This file implements a VFS shim that allows an SQLite database to be
124339 +** appended onto the end of some other file, such as an executable.
124341 -** This file is an SQLite extension. It registers a single function
124347 +** A special record must appear at the end of the file that identifies the
124348 +** file as an appended database and provides the offset to the first page
124355 +** the file as an ordinary SQLite database, or it might treat it as a
124356 +** database appended onto some other file. The decision is made by
124383 +** (1) An empty file is an ordinary database.
124385 +** (2) If the file ends with the appendvfs trailer string
124386 +** "Start-Of-SQLite3-NNNNNNNN" that file is an appended database.
124388 +** (3) If the file begins with the standard SQLite prefix string
124389 +** "SQLite format 3", that file is an ordinary database.
124392 +** set, then a new database is appended to the already existing file.
124397 +** the file containing the database is limited to 1GiB. (1073741824 bytes)
124400 +** database, then keep it in a separate file.
124412 +** If the file being opened is a plain database (not an appended one), then
124422 -** this file to prevent name collisions with C-library functions of the
124508 +/* An open appendvfs file
124510 +** An instance of this structure describes the appended database file.
124513 +** the entire file, including the prefix, the database, and the
124519 +** | prefix-file | padding | database | append-mark |
124526 +** "prefix file" - file onto which the database has been appended.
124529 +** "database" - The SQLite database file
124531 +** the offset from the start of prefix-file to the start
124539 +** iMark will be the size of the underlying file minus 25 (APND_MARKSIZE).
124557 + /* Always followed by another sqlite3_file that describes the whole file */
124698 +** Close an apnd-file.
124709 +** Read data from an apnd-file.
124725 +** Add the append-mark onto what should become the end of the file.
124890 +** Write data to an apnd-file.
124924 +** Truncate an apnd-file.
124942 + /* Truncate underlying file just past append mark */
124948 +** Sync an apnd-file.
124960 +** Return the current file-size of an apnd-file.
124961 +** If the append mark is not yet there, the file-size is 0.
124978 +** Lock an apnd-file.
125000 +** Unlock an apnd-file.
125049 +** Check if another file-handle holds a RESERVED lock on an apnd-file.
125060 +** File control method. For custom operations on an apnd-file.
125224 +** Return the sector-size in bytes for an apnd-file.
125232 +** Return the device characteristic flags supported by an apnd-file.
125239 +/* Create a shared memory file mapping */
125269 +/* Fetch a page of a memory-mapped file */
125292 +** Try to read the append-mark off the end of a file. Return the
125322 +** Check to see if the file is an appendvfs SQLite database file.
125323 +** Return true iff it is such. Parameter sz is the file's size.
125330 + /* If file has the correct end-marker, the expected odd size, and the
125351 +** Check to see if the file is an ordinary SQLite database file.
125352 +** Return true iff so. Parameter sz is the file's size.
125377 +** Open an apnd file handle.
125397 + ** Just use the base VFS open to initialize the given file object and
125398 + ** open the underlying file. (Appendvfs is then unused for this file.)
125431 + /* The file being opened appears to be just an ordinary DB. Copy
125492 + ** Note that nothing has yet been written to the underlying file.
125510 +** Delete an apnd file.
125513 +** For now, this code deletes the underlying file too.
125886 #define SHFLG_DumpNoSys 0x00000200 /* .dump omits system tables */
126637 " --bom Put a UTF8 byte-order mark on intermediate file",
126726 " -e Send output to the system text editor",
126750 " -e Send output to the system text editor",
126787 ".shell CMD ARGS... Run CMD ARGS... in a system shell",
126796 ".system CMD ARGS... Run CMD ARGS... in a system shell",
127104 +#ifdef SHELL_COLFIX_DB /* If this is set, the DB can be in a file. */
127347 ** Then read the content of the testcase-out.txt file and compare against
127439 char *zFile = 0; /* Name of file to extra content from */
127599 + utf8_printf(stderr,"%s: empty file\n", sCtx.zFile);
127605 - utf8_printf(stderr,"%s: empty file\n", sCtx.zFile);
127898 char *zNewFilename = 0; /* Name of the database file to open */
127900 int newFlag = 0; /* True to delete file before opening */
128193 && (strncmp(azArg[0], "shell", n)==0 || strncmp(azArg[0],"system",n)==0)
128204 - x = system(zCmd);
128205 + x = zCmd!=0 ? system(zCmd) : 1;
128259 /* Begin redirecting output to the file "testcase-out.txt" */
128455 " -init FILENAME read/process named file\n"
128537 /* Go ahead and open the database file if it already exists. If the
128538 ** file does not exist, delay opening it. This prevents empty database
128620 +** purposes of the fiddle build, that the file is in a transient
128692 ** This file is an amalgamation of many separate C source files from SQLite
128695 ** single large file, the entire code can be compiled as a single translation
128827 +** out of range. An N value of 0 means the main database file. An N of 1 is
128950 +** times that the Bloom filter returned a find, and thus the join step
129150 +** [sqlite3_vtab_in_next()] to find all values on the right-hand side
129492 ** used in the journal to signify that the remainder of the journal file
129911 ** generated this include file strives to group all JUMP opcodes
129958 int iSysErrno; /* Errno value from last system error */
130628 /************** Begin file ctime.c *******************************************/
130630 +** This file is automatically generated by the script in the canonical
130634 +** which specify categories of generated conditionals in this file.
130742 - Btree *pBtx; /* Separate file holding temporary table */
130744 + Btree *pBtx; /* Separate file holding temporary table */
130918 u8 minWriteFileFormat; /* Minimum file format for writable database files */
132981 - unixShmNode *pShmNode = p->pShmNode; /* The underlying file iNode */
132983 + unixShmNode *pShmNode; /* The underlying file iNode */
133002 + ** In normal operation, the journal file name will always contain
133010 - /* In normal operation, the journal file name will always contain
133326 char *zFilename; /* Name of the database file */
133328 ** journal file descriptor is advanced to the next sector boundary before
133337 /* Write the super-journal data to the end of the journal file. If
133351 ** * If the record is being rolled back from the main journal file
133427 ** function was called and the journal file does not exist.
133432 int bExists; /* True if journal file exists */
133461 /* We should never write to the journal file the page that
133479 ** last page is never written out to disk, leaving the database file
133505 ** the logic there will never allow a temporary file to be changed
133511 /* In this case we would like to delete the journal file. If it is
133512 ** not possible, then that is not a problem. Deleting the journal file
133519 + /* This only happens when a database file is zero bytes in size opened and
133523 + ** used for this since it starts transactions on every database file,
133934 - ** data is passed to system call write(). So to avoid this error,
133967 + ** data is passed to system call write(). So to avoid this error,
135343 ** SQL statement does not read or write a database file. */
137143 /* Record changes in the file format */
137796 ** Write data to the file.
137801 ** journal file may be written as part of committing the transaction. */
137825 /* New chunk is required to extend the file. */
140296 -** sub-system, code for them is created by fkScanChildren()).
140298 +** require no special handling by the triggers sub-system, code for them is
142906 /* Allocate and populate a new Parse context to use for coding the
144179 /************** Begin file whereexpr.c ***************************************/
145293 /* Do a binary search to find the first sample greater than or equal
146061 +** (2) Some searches are expected to find zero rows. (This is determined
152805 + ** Search at http://web.archive.org/ to find the 2015-03-16 archive
153186 -/************** Begin file json1.c *******************************************/
153187 +/************** Begin file json.c ********************************************/
153200 +** This file began as an extension in ext/misc/json1.c in 2015. That
153292 -** Some of the testcase() macros in this file are problematic for gcov
153823 -** file. Call the following routines in order to register the various SQL
153824 -** functions and the virtual table implemented by this file.
153971 /************** Begin file rtree.c *******************************************/
154417 +** out of range. An N value of 0 means the main database file. An N of 1 is
154540 +** times that the Bloom filter returned a find, and thus the join step
154740 +** [sqlite3_vtab_in_next()] to find all values on the right-hand side
154913 # Guess values for system-dependent variables and create Makefiles.
154989 This file contains any messages produced by compilers while
155051 -This file was extended by sqlite $as_me 3.37.1, which was
155052 +This file was extended by sqlite $as_me 3.39.2, which was
155114 new file mode 100644
155166 +The type system in SQLite is more general. Functions in SQLite are able
155254 +The implementation was in a source file named ext/misc/json1.c in the
155259 +The source file that implements the JSON functions is moved to src/json.c.
155390 new file mode 100644
155403 new file mode 100644
155460 new file mode 100644
155480 new file mode 100644
155520 new file mode 100644
155532 + * May you find forgiveness for yourself and forgive others.
155537 + This file contains bootstrapping code used by various test scripts
155538 + which live in this file's directory.
155670 new file mode 100644
155700 new file mode 100644
155712 + * May you find forgiveness for yourself and forgive others.
155717 + This is the JS Worker file for the sqlite3 fiddle app. It loads the
155889 + buffer: contents of the db file (Uint8Array),
155934 + /* We cannot delete the existing db file until the new one
156007 new file mode 100644
156242 + <input type='file' id='load-db' class='hidden'/>
156296 new file mode 100644
156308 + * May you find forgiveness for yourself and forgive others.
156877 + Handle load/import of an external db file.
157111 new file mode 100644
157168 +file is opened directly in the browser (i.e. if it is opened using a
157169 +`file://` URL), so it needs to be served via an HTTP server. For
157180 +from 2022-05-17 or newer so that it recognizes the `.wasm` file
157191 +sqlite3 shell commands which require file I/O or pipes are disabled in
157211 new file mode 100644
157223 + * May you find forgiveness for yourself and forgive others.
157228 + This file is intended to be appended to the emcc-generated
157237 + theModule.sqlite3 == an object containing this file's
157248 + bits and, in part, by the code from this file. Specifically, this file
157302 + file sqlite3.js, with which this file gets combined at build-time. */
157498 + the one used for accessing the db file within root directory of
157508 + find a way to export those as well). The naming semantics will
158093 + Exports a copy of this db's file as a Uint8Array and
158106 + copies the file, and then re-opens it (without restoring
158879 + buffer: Uint8Array (db file contents),
158897 + have a filename property to name the db file (see the DB
158900 + file's contents). The response is an object:
158923 + truthy then the db file (if the db is currently open) will
158998 new file mode 100644
159010 + * May you find forgiveness for yourself and forgive others.
159015 + This is a JS Worker file for the main sqlite3 api. It loads
159029 + _this_ file (or equivalent) to the Worker constructor and then
159048 new file mode 100644
159085 new file mode 100644
159124 new file mode 100644
159136 + * May you find forgiveness for yourself and forgive others.
159141 + A basic test script for sqlite3-api.js. This file must be run in
159315 new file mode 100644
159353 new file mode 100644
159365 + * May you find forgiveness for yourself and forgive others.
159391 + this. The event-handling plumbing of this file requires that
159839 deleted file mode 100644
159846 -# This script builds a single C code file holding all of FTS3 code.
159847 -# The name of the output file is fts3amal.c. To build this file,
159853 -# a subdirectory named "tsrc". (This script expects to find the files
159864 -# Open the output file and write a header comment at the beginning
159865 -# of the file.
159871 -** This file is an amalgamation of separate C source files from the SQLite
159873 -** code files into this single large file, the entire code can be compiled
159883 -# text of the file in-line. The file only needs to be included once.
159909 -# Read the source file named $filename and write it into the
159910 -# sqlite3.c output file. If any #include statements are seen,
159915 - set tail [file tail $filename]
159916 - section_comment "Begin file $tail"
159945 -# used subroutines first in order to help the compiler find
159948 -foreach file {
159955 - copy_file tsrc/$file
160190 @@ -16,12 +16,16 @@ source [file join [file dirname [info script]] fts5_common.tcl]
160194 -# If SQLITE_ENABLE_FTS3 is defined, omit this file.
160195 +# If SQLITE_ENABLE_FTS5 is not defined, omit this file.
160202 + {unable to open a temporary database file for storing temporary tables}
160241 file "icu.c".
160319 new file mode 100644
160331 +** May you find forgiveness for yourself and forgive others.
160336 +** This file implements a virtual-table that returns information about
161117 new file mode 100644
161128 +# May you find forgiveness for yourself and forgive others.
161135 +source [file join [file dirname [info script]] rbu_common.tcl]
161318 + {unable to open a temporary database file for storing temporary tables}
162843 \ No newline at end of file
162845 \ No newline at end of file
163669 - ** data is passed to system call write(). So to avoid this error,
163702 + ** data is passed to system call write(). So to avoid this error,
164786 +** This file is automatically generated by the script in the canonical
164790 +** which specify categories of generated conditionals in this file.
166103 -** sub-system, code for them is created by fkScanChildren()).
166105 +** require no special handling by the triggers sub-system, code for them is
166543 +** This file began as an extension in ext/misc/json1.c in 2015. That
166636 -** Some of the testcase() macros in this file are problematic for gcov
167168 -** file. Call the following routines in order to register the various SQL
167169 -** functions and the virtual table implemented by this file.
167400 + ** Search at http://web.archive.org/ to find the 2015-03-16 archive
167624 ** Write data to the file.
167630 - ** journal file may be written as part of committing the transaction. */
167634 + ** journal file may be written as part of committing the transaction. */
167655 /* New chunk is required to extend the file. */
167707 - unixShmNode *pShmNode = p->pShmNode; /* The underlying file iNode */
167709 + unixShmNode *pShmNode; /* The underlying file iNode */
167728 + ** In normal operation, the journal file name will always contain
167736 - /* In normal operation, the journal file name will always contain
168061 char *zFilename; /* Name of the database file */
168063 ** journal file descriptor is advanced to the next sector boundary before
168072 /* Write the super-journal data to the end of the journal file. If
168086 ** * If the record is being rolled back from the main journal file
168162 ** function was called and the journal file does not exist.
168167 int bExists; /* True if journal file exists */
168196 /* We should never write to the journal file the page that
168214 ** last page is never written out to disk, leaving the database file
168240 ** the logic there will never allow a temporary file to be changed
168246 /* In this case we would like to delete the journal file. If it is
168247 ** not possible, then that is not a problem. Deleting the journal file
168254 + /* This only happens when a database file is zero bytes in size opened and
168258 + ** used for this since it starts transactions on every database file,
168279 ** used in the journal to signify that the remainder of the journal file
171525 ** file. Note that this macro has a like effect on sqlite3.c compilation.
171537 @@ -229,6 +229,16 @@ static void setTextMode(FILE *file, int isOutput){
171783 #define SHFLG_DumpNoSys 0x00000200 /* .dump omits system tables */
172534 " --bom Put a UTF8 byte-order mark on intermediate file",
172623 " -e Send output to the system text editor",
172647 " -e Send output to the system text editor",
172684 ".shell CMD ARGS... Run CMD ARGS... in a system shell",
172693 ".system CMD ARGS... Run CMD ARGS... in a system shell",
173001 +#ifdef SHELL_COLFIX_DB /* If this is set, the DB can be in a file. */
173244 ** Then read the content of the testcase-out.txt file and compare against
173336 char *zFile = 0; /* Name of file to extra content from */
173496 + utf8_printf(stderr,"%s: empty file\n", sCtx.zFile);
173502 - utf8_printf(stderr,"%s: empty file\n", sCtx.zFile);
173795 char *zNewFilename = 0; /* Name of the database file to open */
173797 int newFlag = 0; /* True to delete file before opening */
174090 && (strncmp(azArg[0], "shell", n)==0 || strncmp(azArg[0],"system",n)==0)
174101 - x = system(zCmd);
174102 + x = zCmd!=0 ? system(zCmd) : 1;
174156 /* Begin redirecting output to the file "testcase-out.txt" */
174352 " -init FILENAME read/process named file\n"
174434 /* Go ahead and open the database file if it already exists. If the
174435 ** file does not exist, delay opening it. This prevents empty database
174517 +** purposes of the fiddle build, that the file is in a transient
174703 +** out of range. An N value of 0 means the main database file. An N of 1 is
174826 +** times that the Bloom filter returned a find, and thus the join step
175026 +** [sqlite3_vtab_in_next()] to find all values on the right-hand side
175263 int iSysErrno; /* Errno value from last system error */
177866 /* Allocate and populate a new Parse context to use for coding the
178995 /* Record changes in the file format */
179682 - Btree *pBtx; /* Separate file holding temporary table */
179684 + Btree *pBtx; /* Separate file holding temporary table */
179858 u8 minWriteFileFormat; /* Minimum file format for writable database files */
180879 ** SQL statement does not read or write a database file. */
182454 /* Do a binary search to find the first sample greater than or equal
183222 +** (2) Some searches are expected to find zero rows. (This is determined
185747 + {unable to open a temporary database file for storing temporary tables}
185809 + {unable to open a temporary database file for storing temporary tables}
185972 new file mode 100644
185983 +# May you find forgiveness for yourself and forgive others.
185989 +set testdir [file dirname $argv0]
185993 +# If SQLITE_OMIT_ALTERTABLE is defined, omit this file.
186460 @@ -969,4 +969,13 @@ foreach {tn file rc} {
186604 set testdir [file dirname $argv0]
186658 new file mode 100644
186669 +# May you find forgiveness for yourself and forgive others.
186675 +set testdir [file dirname $argv0]
187127 new file mode 100644
187138 +# May you find forgiveness for yourself and forgive others.
187144 +set testdir [file dirname $argv0]
187241 new file mode 100644
187252 +# May you find forgiveness for yourself and forgive others.
187258 +set testdir [file dirname $argv0]
187374 +# no direct changes to the content of the database file.
187384 +# possibility that the statement might change the database file.
187387 +# statement will change the database file.
187436 +# statement would change the database file through side-effects: SELECT
187438 +# not change the database file directly, sqlite3_stmt_readonly() would
187449 new file mode 100644
187460 +# May you find forgiveness for yourself and forgive others.
187466 +set testdir [file dirname $argv0]
187884 -# the date.c file is covered by testing, even when the time-zone
187936 new file mode 100644
187947 +# May you find forgiveness for yourself and forgive others.
187951 +# This file implements regression tests for SQLite library. The
187952 +# focus of this file is testing date and time functions.
187955 +set testdir [file dirname $argv0]
187958 +# Skip this whole file if date and time functions are omitted
188394 +# Memory leak caused by sqlite3NestedParse() running on a corrupt system
188461 # This file implements regression tests for SQLite library. This
188467 set testdir [file dirname $argv0]
189122 new file mode 100644
189133 +# May you find forgiveness for yourself and forgive others.
189137 +# This file implements regression tests for SQLite library. The
189143 +set testdir [file dirname $argv0]
189147 +# If SQLITE_ENABLE_FTS3 is defined, omit this file.
189176 # If SQLITE_ENABLE_FTS3 is not defined, omit this file.
189180 + {unable to open a temporary database file for storing temporary tables}
189213 + {unable to open a temporary database file for storing temporary tables}
189432 ** Also block ATTACH if attaching a file from the filesystem.
189491 + if( sqlite3_strglob("file:*[?]vfs=memdb", zArg1)==0
189492 + && sqlite3_strglob("file:*[^/a-zA-Z0-9_.]*[?]vfs=memdb", zArg1)!=0
189510 - if( sqlite3_strglob("file:*[?]vfs=memdb", zArg1)==0
189511 - && sqlite3_strglob("file:*[^/a-zA-Z0-9_.]*[?]vfs=memdb", zArg1)!=0
189588 + int *pbCorrupt, /* IN/OUT: Flag indicating a corrupt database file */
190288 zRfR?SaSn|bC=Z0XQSx%Q^ObL9h}|f+fWBSj=2$~po)bx=+5`U0gwI;Z7txl^X)S-q
191596 zeiJIY=_j!Rx>PHfr?c1h?rgzX+`g=H^=iBsJUFc;po^{{=bcf1<ww7uhVT0V8SD09
192409 zUSuy)t!=d~po>j<;FaU!$Cgf>T4J>hgZ0V!7@85I|9~f-(UK>vk8^Z?lD<*I9Hz{y
192784 z`$ANf;yyk#<jdnXl;DkI;5G7lIb%6po=DtJaW9BUWx}wsNKRgzj@KpQ<wXeKtBBlt
193350 zt}0X~kiba@xbE{4=@?}TM91tj_&po?2pLmsTZ`V(*F-+vHbd!MW0rfp<GCfh_HkP{
194229 new file mode 100644
194241 +** May you find forgiveness for yourself and forgive others.
194272 +** *pbCorrupt is a flag that, if true, indicates that the database file
194285 +** file is indicating that it is corrupt, which might
194288 +** SQLITE_INTERNAL The invariant failed, and the database file is not
194300 + int *pbCorrupt, /* IN/OUT: Flag indicating a corrupt database file */
194611 set testdir [file dirname $argv0]
194755 # This file implements regression tests for SQLite library. The
194756 # focus of this file is testing the INSERT transfer optimization.
194760 set testdir [file dirname $argv0]
195156 new file mode 100644
195167 +# May you find forgiveness for yourself and forgive others.
195171 +# This file implements regression tests for SQLite library.
195173 +# This file implements tests for RIGHT and FULL OUTER JOINs.
195175 +set testdir [file dirname $argv0]
195517 new file mode 100644
195528 +# May you find forgiveness for yourself and forgive others.
195533 +# This file implements tests for RIGHT and FULL OUTER JOINs.
195535 +set testdir [file dirname $argv0]
195657 +# 2022-04-21 dbsqlfuzz find
196327 new file mode 100644
196338 +# May you find forgiveness for yourself and forgive others.
196342 +# This file implements regression tests for SQLite library.
196344 +# This file implements tests for RIGHT and FULL OUTER JOINs.
196346 +set testdir [file dirname $argv0]
196898 new file mode 100644
196909 +# May you find forgiveness for yourself and forgive others.
196913 +# This file implements regression tests for SQLite library.
196915 +# This file implements tests for RIGHT and FULL OUTER JOINs.
196917 +set testdir [file dirname $argv0]
197118 new file mode 100644
197123 +set testdir [file dirname $argv0]
197130 +# May you find forgiveness for yourself and forgive others.
197135 +# This file implements tests for JOINs.
197140 +# 1. Run a TCL script (included at the bottom of this file) that
204247 +# Here is the original TCL script that generated the psql input file:
204376 new file mode 100644
204387 +# May you find forgiveness for yourself and forgive others.
204392 +# This file implements tests for JOINs.
204397 +# 1. Run a TCL script (included at the bottom of this file) that
204409 +set testdir [file dirname $argv0]
208976 new file mode 100644
208988 +# May you find forgiveness for yourself and forgive others.
208993 +# This file implements tests for JOINs that use Bloom filters.
208998 +# 1. Run a TCL script (included at the bottom of this file) that
209013 +set testdir [file dirname $argv0]
244116 new file mode 100644
244127 +# May you find forgiveness for yourself and forgive others.
244132 +# This file implements tests for JOINs that use Bloom filters.
244137 +# 1. Run a TCL script (included at the bottom of this file) that
244149 +set testdir [file dirname $argv0]
244565 new file mode 100644
244576 +# May you find forgiveness for yourself and forgive others.
244581 +# This file implements tests for JOINs
244586 +# 1. Run a TCL script (included at the bottom of this file) that
244601 +set testdir [file dirname $argv0]
245184 new file mode 100644
245195 +# May you find forgiveness for yourself and forgive others.
245199 +# This file implements regression tests for SQLite library.
245202 +set testdir [file dirname $argv0]
245266 set testdir [file dirname $argv0]
245313 set testdir [file dirname $argv0]
245390 set testdir [file dirname $argv0]
245405 @@ -15,11 +15,6 @@ set testdir [file dirname $argv0]
245421 @@ -15,11 +15,6 @@ set testdir [file dirname $argv0]
245441 + lappend answers [list 1 {unable to open a temporary database file for storing temporary tables…
245446 new file mode 100644
245457 +# May you find forgiveness for yourself and forgive others.
245464 +set testdir [file dirname $argv0]
245514 new file mode 100644
245525 +# May you find forgiveness for yourself and forgive others.
245533 +set testdir [file dirname $argv0]
245733 # focus of this file is testing the printf() SQL function.
245745 set testdir [file dirname $argv0]
245981 new file mode 100644
245992 +# May you find forgiveness for yourself and forgive others.
245998 +set testdir [file dirname $argv0]
246241 set testdir [file dirname $argv0]
246436 set testdir [file dirname $argv0]
246451 # shell3-2.*: Basic tests for running SQL file from command line.
246471 set testdir [file dirname $argv0]
246508 set testdir [file dirname $argv0]
246526 # import file with 1 row, 1 column (expecting 2 cols)
246536 # import file with 1 row, 3 columns (expecting 2 cols)
246546 # import file with 1 row, 2 columns
246558 # import file with 1 row, 2 columns, using a comma
246572 # import file with 1 row, 2 columns, text data
246858 set file test_remote.db$ctx
246859 forcedelete $file
247138 new file mode 100644
247149 +# May you find forgiveness for yourself and forgive others.
247155 +set testdir [file dirname $argv0]
247387 new file mode 100644
247398 +# May you find forgiveness for yourself and forgive others.
247403 +# This file implements tests for sqlite3_vtab_distinct() interface.
247406 +set testdir [file dirname $argv0]
247434 new file mode 100644
247445 +# May you find forgiveness for yourself and forgive others.
247450 +# This file implements tests for sqlite3_vtab_rhs_value() interface.
247453 +set testdir [file dirname $argv0]
247522 set MINSHMSZ [file size test.db-shm]
247555 - file exists test.db-shm
247561 - sqlite3 db file:test.db2?readonly_shm=1
247589 - file exists test.db-shm
247595 - sqlite3 db file:test.db2?readonly_shm=1
247618 - # 3.1.*: That a readonly_shm connection can read a database file if both
247622 - # zero byte *-wal file, some other connection modifies the db, then
247623 - # does "PRAGMA wal_checkpoint=truncate" to truncate the wal file
247627 - # file, the readonly_shm client reruns recovery.
247633 - list [file exists test.db-wal] [file exists test.db-shm]
247639 - sqlite3 db file:test.db?readonly_shm=1
247645 - list [file size test.db-wal] [file size test.db-shm]
247654 - list [file size test.db-wal] [file size test.db-shm]
247667 - list [file size test.db-wal] [file size test.db-shm]
247670 - code1 { sqlite3 db file:test.db?readonly_shm=1 }
247681 - list [file size test.db-wal] [file size test.db-shm]
247710 - code2 { sqlite3 db2 file:test.db2?readonly_shm=1 }
247747 - set sz [file size test.db-wal]
247755 - code2 { sqlite3 db2 file:test.db2?readonly_shm=1 }
247802 - code2 { sqlite3 db2 file:test.db2?readonly_shm=1 }
247811 - if {$op=="xRead" && [file tail [lindex $args 0]]=="test.db2-wal"} {
247823 - sqlite3 db file:test.db2?vfs=tvfs
247869 - if {$op=="xRead" && [file tail [lindex $args 0]]=="test.db2-wal"} {
247883 + file exists test.db-shm
247889 + sqlite3 db file:test.db2?readonly_shm=1
247918 + file exists test.db-shm
247924 + sqlite3 db file:test.db2?readonly_shm=1
247947 + # 3.1.*: That a readonly_shm connection can read a database file if both
247951 + # zero byte *-wal file, some other connection modifies the db, then
247952 + # does "PRAGMA wal_checkpoint=truncate" to truncate the wal file
247956 + # file, the readonly_shm client reruns recovery.
247962 + list [file exists test.db-wal] [file exists test.db-shm]
247968 + sqlite3 db file:test.db?readonly_shm=1
247974 + list [file size test.db-wal] [file size test.db-shm]
247984 + list [file size test.db-wal] [file size test.db-shm]
247996 + list [file size test.db-wal] [file size test.db-shm]
247999 + code1 { sqlite3 db file:test.db?readonly_shm=1 }
248010 + list [file size test.db-wal] [file size test.db-shm]
248039 + code2 { sqlite3 db2 file:test.db2?readonly_shm=1 }
248076 + set sz [file size test.db-wal]
248084 + code2 { sqlite3 db2 file:test.db2?readonly_shm=1 }
248117 + code2 { sqlite3 db2 file:test.db2?readonly_shm=1 }
248126 + if {$op=="xRead" && [file tail [lindex $args 0]]=="test.db2-wal"} {
248134 + sqlite3 db file:test.db2?vfs=tvfs
248147 - sqlite3 db file:test.db2?readonly_shm=1&vfs=tvfs
248189 + if {$op=="xRead" && [file tail [lindex $args 0]]=="test.db2-wal"} {
248203 + sqlite3 db file:test.db2?readonly_shm=1&vfs=tvfs
248229 # This file implements regression tests for SQLite library. The
248230 # focus of this file is testing the use of indices in WHERE clases.
248234 set testdir [file dirname $argv0]
248413 new file mode 100644
248424 +# May you find forgiveness for yourself and forgive others.
248430 +set testdir [file dirname $argv0]
248670 long szFile; /* Size of the input file in bytes */
248671 FILE *in; /* Input file */
248706 int sqlFlag /* Generate the *.sql file too */
248765 +** This file is automatically generated by the script in the canonical
248769 +** which specify categories of generated conditionals in this file.
248783 +** May you find forgiveness for yourself and forgive others.
248788 +** This file implements routines used to report what compile-time options
248959 COLS: seq name file
248976 @@ -429,7 +430,7 @@ foreach file {
249388 # This file defines which warnings should be ignored while running clang's
249533 + consumer_provider_mappings.find(window1.get()));
249552 + consumer_provider_mappings.find(window2.get()));
249558 + event_provider_mappings.find(press2.unique_event_id()));
249727 new file mode 100755
249734 +// found in the LICENSE file.
249874 new file mode 100755
249881 +// found in the LICENSE file.
250059 + // So now we always get data from system clipboard instead of cache data.
250374 + UBool img_matched = img_regex_matcher->find(0, status);
250389 + img_src_matched = img_src_regex_matcher->find(0, status);
250404 + img_matched = img_regex_matcher->find(end_index, status);
250417 + img_src_set.find(img_path);
250694 \ No newline at end of file
250696 new file mode 100755
250703 +// found in the LICENSE file.
250817 \ No newline at end of file
250819 new file mode 100755
250826 +// found in the LICENSE file.
250877 + FileUrlMap::iterator iter = file_map_.find(new_uri);
250888 + LOG(ERROR) << "SaveImgFile copy file failed";
250938 + find_uri_map_iter = uri_map.find(iter->second);
250957 \ No newline at end of file
250959 new file mode 100755
250966 +// found in the LICENSE file.
251013 \ No newline at end of file
251232 // Convenience method to find the GestureEventHelper that can dispatch events
251704 new file mode 100644
251711 +// found in the LICENSE file.
251800 new file mode 100644
251807 +// found in the LICENSE file.
251869 new file mode 100644
251876 +// found in the LICENSE file.
251893 new file mode 100644
251900 +// found in the LICENSE file.
251947 new file mode 100644
251954 +// found in the LICENSE file.
251972 + auto it = native_window_map_.find(native_window_id);
251978 \ No newline at end of file
251980 new file mode 100644
251987 +// found in the LICENSE file.
252010 \ No newline at end of file
252033 -#error This file should only be used in Android and Fuchsia.
252035 +#error This file should only be used in Android Fuchsia and OHOS.
252952 + CHECK_NE(toString16(message->string()).find(expected_response_matcher_),
252997 new file mode 100644
253004 +// found in the LICENSE file.