/external/perfetto/src/ipc/ |
buffered_frame_deserializer_unittest.cc | 41 // - N bytes for the actual content (|padding| below). 45 std::vector<char> padding; local 58 padding.resize(padding_size); 61 padding[i] = padding_char; 63 frame.add_data_for_testing(padding.data(), padding_size);
|
/external/python/cpython3/Include/ |
pyhash.h | 40 * ........ ........ ssssssss djbx33a -- 16 bytes padding + one Py_hash_t 47 * ........ ........ ssss.... djbx33a -- 16 bytes padding + one Py_hash_t 69 unsigned char padding[16]; member in struct:__anon33175::__anon33178 73 unsigned char padding[16]; member in struct:__anon33175::__anon33179
|
/external/skia/src/core/ |
SkArenaAlloc.h | 90 uint32_t padding = SkTo<uint32_t>(objStart - fCursor); local 99 this->installFooter(releaser, padding); 158 void installFooter(FooterAction* releaser, uint32_t padding); 159 void installUint32Footer(FooterAction* action, uint32_t value, uint32_t padding); 160 void installPtrFooter(FooterAction* action, char* ptr, uint32_t padding); 197 uint32_t padding = SkTo<uint32_t>(objStart - fCursor); local 214 padding);
|
/external/skia/tests/ |
Writer32Test.cpp | 186 const size_t padding = 64; local 195 for (size_t i = 0; i < (padding / 4); ++i) { 203 for (size_t i = 0; i < (padding / 4); ++i) { 207 REPORTER_ASSERT(reporter, writer->readTAt<uint32_t>(padding) == uint1); 208 REPORTER_ASSERT(reporter, writer->readTAt<SkRect>(padding + sizeof(uint32_t)) == rect1); 210 padding + sizeof(uint32_t) + sizeof(SkRect)) == scalar1); 212 writer->overwriteTAt(padding, uint2); 213 writer->overwriteTAt(padding + sizeof(uint32_t), rect2); 214 writer->overwriteTAt(padding + sizeof(uint32_t) + sizeof(SkRect), scalar2); 216 REPORTER_ASSERT(reporter, writer->readTAt<uint32_t>(padding) == uint2) [all...] |
/external/skqp/src/core/ |
SkArenaAlloc.h | 90 uint32_t padding = SkTo<uint32_t>(objStart - fCursor); local 99 this->installFooter(releaser, padding); 151 void installFooter(FooterAction* releaser, uint32_t padding); 152 void installUint32Footer(FooterAction* action, uint32_t value, uint32_t padding); 153 void installPtrFooter(FooterAction* action, char* ptr, uint32_t padding); 190 uint32_t padding = SkTo<uint32_t>(objStart - fCursor); local 207 padding);
|
/external/skqp/tests/ |
Writer32Test.cpp | 186 const size_t padding = 64; local 195 for (size_t i = 0; i < (padding / 4); ++i) { 203 for (size_t i = 0; i < (padding / 4); ++i) { 207 REPORTER_ASSERT(reporter, writer->readTAt<uint32_t>(padding) == uint1); 208 REPORTER_ASSERT(reporter, writer->readTAt<SkRect>(padding + sizeof(uint32_t)) == rect1); 210 padding + sizeof(uint32_t) + sizeof(SkRect)) == scalar1); 212 writer->overwriteTAt(padding, uint2); 213 writer->overwriteTAt(padding + sizeof(uint32_t), rect2); 214 writer->overwriteTAt(padding + sizeof(uint32_t) + sizeof(SkRect), scalar2); 216 REPORTER_ASSERT(reporter, writer->readTAt<uint32_t>(padding) == uint2) [all...] |
/external/syslinux/gpxe/src/crypto/ |
md5.c | 205 int padding = 56 - (offset + 1); local 208 if (padding < 0) { 209 memset(p, 0x00, padding + sizeof (u64)); 212 padding = 56; 215 memset(p, 0, padding);
|
/external/tensorflow/tensorflow/cc/gradients/ |
nn_grad.cc | 125 string padding; local 130 TF_RETURN_IF_ERROR(GetNodeAttr(attrs, "padding", &padding)); 138 strides, padding, input_attrs); 145 strides, padding, filter_attrs); 155 string padding; local 161 TF_RETURN_IF_ERROR(GetNodeAttr(attrs, "padding", &padding)); 169 padding, grad_attrs); 179 string padding; local [all...] |
/external/tensorflow/tensorflow/contrib/lite/kernels/ |
conv_test.cc | 43 // TODO(ahentz): Also test different activation types, bias, padding types, 48 int stride_height = 2, enum Padding padding = Padding_VALID, 74 CreateConv2DOptions(builder_, padding, stride_width, 180 const Padding padding = Padding_SAME; local 186 {TensorType_FLOAT32, {}}, stride_width, stride_height, padding); 203 // the input set to zero because we're using the 'SAME' padding mode. 234 const Padding padding = Padding_SAME local 288 const Padding padding = Padding_SAME; local 344 const Padding padding = Padding_VALID; local [all...] |
/external/tensorflow/tensorflow/core/grappler/costs/ |
op_level_cost_estimator.h | 26 #include "tensorflow/core/util/padding.h" 75 Padding padding; // SAME or VALID. member in struct:tensorflow::grappler::OpLevelCostEstimator::ConvolutionDimensions
|
/external/tensorflow/tensorflow/core/kernels/ |
mirror_pad_op.h | 72 const PaddingDimensions& padding() const { return padding_dims_; } function in class:Eigen::TensorMirrorPadOp 113 : impl_(op.expression(), device), padding_(op.padding()) { 116 // op.offset() == 0 if padding mode is symmetric. 117 // op.offset() == 1 if padding mode is reflect. 122 // This should trigger compilation error if padding dimensions and 185 // Find the effective inner-most dimension where padding actually happens. 208 // If dim < 0, this means there is no padding at all. 343 typename TTypes<Tpaddings>::ConstMatrix padding, int offset) { 347 padding_dims[i] = Eigen::IndexPair<int32>(padding(i, 0), padding(i, 1)) [all...] |
/external/webrtc/webrtc/modules/audio_coding/test/ |
RTPFile.cc | 154 uint16_t port, padding; local 165 EXPECT_EQ(1u, fread(&padding, 2, 1, _rtpFile)); 166 padding = ntohs(padding);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
FwdLockGlue.c | 106 * Validates the padding of a decrypted key. 108 * @param[in] pData A reference to the buffer containing the decrypted key and padding. 111 * @return A Boolean value indicating whether the padding was valid. 115 size_t padding = AES_BLOCK_SIZE - (decryptedKeyLength % AES_BLOCK_SIZE); local 117 for (i = 0; i < padding; ++i) { 118 if ((size_t)*pData != padding) { 157 size_t padding = AES_BLOCK_SIZE - (plaintextKeyLength % AES_BLOCK_SIZE); local 160 memset((unsigned char *)pEncryptedKey + plaintextKeyLength, (int)padding, padding);
|
/frameworks/base/core/java/android/text/method/ |
Touch.java | 156 int padding = widget.getTotalPaddingTop() + widget.getTotalPaddingBottom(); local 159 ny = Math.min(ny, layout.getHeight() - (widget.getHeight() - padding));
|
/frameworks/base/keystore/java/android/security/keystore/ |
AndroidKeyStoreSecretKeyFactorySpi.java | 133 @KeyProperties.SignaturePaddingEnum String padding = local 135 signaturePaddingsList.add(padding); 138 "Unsupported encryption padding: " + keymasterPadding);
|
/frameworks/base/libs/androidfw/ |
BackupData.cpp | 74 uint32_t padding = 0xbcbcbcbc; local 75 if (kIsDebug) ALOGI("writing %zd padding bytes for %d", paddingSize, n); 76 amt = write(m_fd, &padding, paddingSize); 157 // We don't write padding here, because they're allowed to call this several 372 uint32_t padding; local 373 amt = read(m_fd, &padding, paddingSize);
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/graph/ |
BatteryMeterDrawableBaseTest.java | 83 final Rect padding = new Rect(); local 87 assertThat(mBatteryDrawable.getPadding(padding)).isEqualTo(true); 88 assertThat(padding).isEqualTo(expected); 93 final Rect padding = new Rect(); local 94 assertThat(mBatteryDrawable.getPadding(padding)).isEqualTo(false); 95 assertThat(isRectZero(padding)).isEqualTo(true); 98 assertThat(mBatteryDrawable.getPadding(padding)).isEqualTo(false); 99 assertThat(isRectZero(padding)).isEqualTo(true);
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
MainActivity.java | 146 Rect padding = new Rect(); local 147 padding.left = loadIntText(mPaddingLeftView); 148 padding.top = loadIntText(mPaddingTopView); 149 padding.right = loadIntText(mPaddingRightView); 150 padding.bottom = loadIntText(mPaddingBottomView); 151 mWallpaperManager.setDisplayPadding(padding);
|
/frameworks/base/tools/aapt2/format/ |
Container.cpp | 50 inline static void WritePadding(int padding, CodedOutputStream* out) { 51 if (padding < 4) { 53 out->WriteRaw(&zero, padding); 71 const int padding = 4 - (size % 4); local 77 // Write the padding. 78 WritePadding(padding, &coded_out); 159 const int padding = 4 - (in->CurrentPosition() % 4); local 160 if (padding < 4) { 161 return in->Skip(padding);
|
/frameworks/native/libs/vr/libdvr/include/dvr/ |
dvr_pose.h | 22 // buffer. No assumptions should be made about the data in padding space. 44 // Reserved padding to 128 bytes. 97 // Padding to 112 bytes so the size is a multiple of 16. 98 uint8_t padding[12]; member in struct:DvrPose
|
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/items/ |
RecyclerItemAdapterTest.java | 93 Rect padding = new Rect(); local 94 assertFalse("Patched layer drawable should not have padding", drawable.getPadding(padding)); 95 assertEquals(new Rect(0, 0, 0, 0), padding); 104 Rect padding = new Rect(); local 105 assertTrue("Patched layer drawable should have padding", drawable.getPadding(padding)); 106 assertEquals(new Rect(10, 10, 10, 10), padding);
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
ActionPresenterSelector.java | 73 final int padding = vh.view.getResources() local 75 vh.view.setPaddingRelative(padding, 0, padding, 0);
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/ |
FragmentLayoutSupport.java | 214 int padding = (int)TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, local 216 text.setPadding(padding, padding, padding, padding);
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
ConnectionDetector.cpp | 187 char padding[NAME_MAX + 1]; member in struct:android::SensorHalExt::__anon48362
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
WidgetHostViewLoader.java | 158 Rect padding = AppWidgetHostView.getDefaultPaddingForWidget(context, local 162 int xPaddingDips = (int) ((padding.left + padding.right) / density); 163 int yPaddingDips = (int) ((padding.top + padding.bottom) / density);
|